7 #ifndef LAR_PANDORA_SLICE_ID_HELPER_H 8 #define LAR_PANDORA_SLICE_ID_HELPER_H 29 #include <unordered_map> 74 const std::string& truthLabel,
75 const std::string& mcParticleLabel,
76 const std::string& hitLabel,
77 const std::string& backtrackLabel,
78 const std::string& pandoraLabel,
79 SliceMetadataVector& sliceMetadata,
83 typedef std::unordered_map<art::Ptr<recob::Hit>,
bool>
HitToBoolMap;
94 const std::string& truthLabel);
105 static void CollectNeutrinoMCParticles(
const art::Event&
evt,
106 const std::string& truthLabel,
107 const std::string& mcParticleLabel,
122 const std::string& hitLabel,
123 const std::string& backtrackLabel,
126 HitToBoolMap& hitToIsNuInducedMap);
137 const HitToBoolMap& hitToIsNuInducedMap);
147 const std::string& pandoraLabel,
157 static void GetReconstructedHitsInSlice(
const Slice& slice,
183 const HitToBoolMap& hitToIsNuInducedMap,
184 const unsigned int nNuHits,
185 SliceMetadataVector& sliceMetadata);
190 #endif // LAR_PANDORA_SLICE_ID_HELPER_H std::unordered_map< art::Ptr< recob::Hit >, bool > HitToBoolMap
Reconstruction base classes.
std::vector< SliceMetadata > SliceMetadataVector
Helper class for slice id tools.
std::vector< art::Ptr< recob::PFParticle > > PFParticleVector
std::map< art::Ptr< recob::PFParticle >, HitVector > PFParticlesToHits
std::vector< art::Ptr< simb::MCParticle > > MCParticleVector
std::vector< TCSlice > slices
std::vector< art::Ptr< recob::Hit > > HitVector
std::vector< Slice > SliceVector
header for the lar pandora slice class
Event generator information.
helper function for LArPandoraInterface producer module