LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
MCTrackCollectionAnaAlg.h
Go to the documentation of this file.
1 #ifndef MCTRACKCOLLECTIONANAALG_H
2 #define MCTRACKCOLLECTIONANAALG_H
3 
13 class TTree;
14 
15 namespace sim{
16 
17  class MCTrack;
18 
20 
21  public:
22 
24 
25  void SetOutputTree(TTree*, bool fill=true);
26 
27  void FillTree(unsigned int, unsigned int,
28  const std::vector<sim::MCTrack>&);
29 
30  private:
31 
32  TTree* fTree;
33  bool fFillTree;
34 
35  unsigned int fRun;
36  unsigned int fEvent;
37 
38  unsigned int fNMCTracks;
39  unsigned int fDParticle;
41 
44  unsigned int fDParticleTrackId;
57 
58  float fCollectionY;
59  float fCollectionZ;
60  float fCollectionX;
65  float fMinX;
66  float fMaxX;
67  float fMinY;
68  float fMaxY;
69  float fMinZ;
70  float fMaxZ;
71 
73 
74  };
75 
76 }
77 
78 #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)
Monte Carlo Simulation.
void FillDominantParticleInfo(const sim::MCTrack &)