1 #ifndef LArPandoraShowerCheatingAlg_hxx
2 #define LArPandoraShowerCheatingAlg_hxx
9 #include "art_root_io/TFileService.h"
10 #include "art/Framework/Services/Registry/ServiceHandle.h"
11 #include "canvas/Utilities/InputTag.h"
17 namespace simb {
class MCParticle; }
20 class DetectorClocksData;
24 class LArPandoraShowerCheatingAlg;
39 std::map<int, const simb::MCParticle*>& trueParticles)
const;
41 const simb::MCParticle* trueParticle,
42 art::Event
const& Event,
44 const art::Ptr<recob::PFParticle>& pfparticle)
const;
47 const art::Ptr<recob::Hit>&
hit)
const;
51 std::map<
int, std::vector<int>>
const& ShowersMothers,
61 art::ServiceHandle<art::TFileService>
tfs;
shower::LArPandoraShowerAlg fLArPandoraShowerAlg
std::map< int, const simb::MCParticle * > GetTrueParticleMap() const
LArPandoraShowerCheatingAlg(const fhicl::ParameterSet &pset)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
art::ServiceHandle< cheat::ParticleInventoryService > particleInventory
std::map< int, std::vector< int > > GetTrueChain(std::map< int, const simb::MCParticle * > &trueParticles) const
std::string fShowerDirectionInputLabel
art::InputTag fHitModuleLabel
void CheatDebugEVD(detinfo::DetectorClocksData const &clockData, const simb::MCParticle *trueParticle, art::Event const &Event, reco::shower::ShowerElementHolder &ShowerEleHolder, const art::Ptr< recob::PFParticle > &pfparticle) const
int TrueParticleID(detinfo::DetectorClocksData const &clockData, const art::Ptr< recob::Hit > &hit) const
std::string fShowerStartPositionInputLabel
std::string fInitialTrackSpacePointsInputLabel
std::pair< int, double > TrueParticleIDFromTrueChain(detinfo::DetectorClocksData const &clockData, std::map< int, std::vector< int >> const &ShowersMothers, std::vector< art::Ptr< recob::Hit >> const &hits, int planeid) const
art::ServiceHandle< art::TFileService > tfs
Contains all timing reference information for the detector.
art::InputTag fPFParticleLabel