LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MCTrackCollectionAnaAlg.h
Go to the documentation of this file.
1 #ifndef MCTRACKCOLLECTIONANAALG_H
2 #define MCTRACKCOLLECTIONANAALG_H
3 
14 
15 class TTree;
16 
17 #include <vector>
18 
19 namespace sim {
20 
22 
23  public:
25 
26  void SetOutputTree(TTree*, bool fill = true);
27 
28  void FillTree(unsigned int, unsigned int, const std::vector<sim::MCTrack>&);
29 
30  private:
31  TTree* fTree;
32  bool fFillTree;
33 
34  unsigned int fRun;
35  unsigned int fEvent;
36 
37  unsigned int fNMCTracks;
38  unsigned int fDParticle;
40 
43  unsigned int fDParticleTrackId;
56 
57  float fCollectionY;
58  float fCollectionZ;
59  float fCollectionX;
64  float fMinX;
65  float fMaxX;
66  float fMinY;
67  float fMaxY;
68  float fMinZ;
69  float fMaxZ;
70 
72  };
73 
74 }
75 
76 #endif
void SetOutputTree(TTree *, bool fill=true)
void FillTree(unsigned int, unsigned int, const std::vector< sim::MCTrack > &)
void fill(const art::PtrVector< recob::Hit > &hits, int only_plane)
Class def header for mctrack data container.
Monte Carlo Simulation.
void FillDominantParticleInfo(const sim::MCTrack &)