LArPandoraShowerCheatingAlg.h
Go to the documentation of this file.
1 #ifndef LArPandoraShowerCheatingAlg_hxx
2 #define LArPandoraShowerCheatingAlg_hxx
3 
4 //LArSoft Includes
9 
10 namespace detinfo {
11  class DetectorClocksData;
12 }
13 
14 namespace shower {
15  class LArPandoraShowerCheatingAlg;
16 }
17 
19 public:
21 
22  std::map<int, const simb::MCParticle*> GetTrueParticleMap() const;
23  std::map<int, std::vector<int>> GetTrueChain(
24  std::map<int, const simb::MCParticle*>& trueParticles) const;
25  void CheatDebugEVD(detinfo::DetectorClocksData const& clockData,
26  const simb::MCParticle* trueParticle,
27  art::Event const& Event,
28  reco::shower::ShowerElementHolder& ShowerEleHolder,
29  const art::Ptr<recob::PFParticle>& pfparticle) const;
30 
31  int TrueParticleID(detinfo::DetectorClocksData const& clockData,
32  const art::Ptr<recob::Hit>& hit) const;
33 
34  std::pair<int, double> TrueParticleIDFromTrueChain(
35  detinfo::DetectorClocksData const& clockData,
36  std::map<int, std::vector<int>> const& ShowersMothers,
37  std::vector<art::Ptr<recob::Hit>> const& hits,
38  int planeid) const;
39 
40 private:
42 
47 
51 };
52 #endif
shower::LArPandoraShowerAlg fLArPandoraShowerAlg
std::string string
Definition: nybbler.cc:12
G4ID TrueParticleID(detinfo::DetectorClocksData const &clockData, const art::Ptr< recob::Hit > &pHit, const bool rollupUnsavedIDs)
The G4 ID of the true particle which deposits the most energy in the recob::Hit.
struct vector vector
Particle class.
art::ServiceHandle< cheat::ParticleInventoryService > particleInventory
General LArSoft Utilities.
Detector simulation of raw signals on wires.
art::ServiceHandle< art::TFileService > tfs
Contains all timing reference information for the detector.
Definition: types.h:32