5#include <DD4hep/Detector.h>
6#include <algorithms/algorithm.h>
7#include <algorithms/geo.h>
8#include <edm4eic/ReconstructedParticleCollection.h>
9#include <spdlog/logger.h>
10#include <gsl/pointers>
22 algorithms::Input<
const edm4eic::ReconstructedParticleCollection,
23 const edm4eic::ReconstructedParticleCollection,
24 const edm4eic::ReconstructedParticleCollection,
25 const edm4eic::ReconstructedParticleCollection>,
27 algorithms::Output<edm4eic::ReconstructedParticleCollection,
28 edm4eic::ReconstructedParticleCollection>>;
55 {
"inputNeutralsHcal",
"inputNeutralsB0",
"inputNeutralsEcalEndCapP",
56 "inputNeutralsLFHCAL"},
58 {
"outputLambdas",
"outputLambdaDecayProductsCM"},
60 "Reconstructs lambda candidates and their decay products (in the CM frame) from the "
61 "reconstructed neutrons and photons"} {}
64 void process(const Input&, const Output&) const final;
67 std::shared_ptr<spdlog::logger> m_log;
69 const
dd4hep::Detector* m_detector{algorithms::GeoSvc::instance().detector()};
72 bool reconstruct_from_triplet(
const edm4eic::ReconstructedParticle& n_in,
73 const edm4eic::ReconstructedParticle& g1_in,
74 const edm4eic::ReconstructedParticle& g2_in,
75 edm4eic::ReconstructedParticleCollection* out_lambdas,
76 edm4eic::ReconstructedParticleCollection* out_decay_products)
const;
Definition LambdaReconstruction.h:49
LambdaReconstruction(std::string_view name)
Definition LambdaReconstruction.h:51
Definition WithPodConfig.h:22
Definition ActsGeometryProvider.h:28
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< const edm4eic::ReconstructedParticleCollection, const edm4eic::ReconstructedParticleCollection, const edm4eic::ReconstructedParticleCollection, const edm4eic::ReconstructedParticleCollection >, algorithms::Output< edm4eic::ReconstructedParticleCollection, edm4eic::ReconstructedParticleCollection > > LambdaReconstructionAlgorithm
Definition LambdaReconstruction.h:28
Definition SimCalorimeterHitProcessor.cc:35