SRTruth.h
Go to the documentation of this file.
1 #ifndef CAFSRTRUTH_H
2 #define CAFSRTRUTH_H
3 
8 
9 #include <vector>
10 
11 namespace caf
12 {
13  class SRTruth
14  {
15  public:
16  SRTruth();
17 
18  unsigned int nnu;
19  std::vector<SRNeutrino> nu;
20 
21  // GENIE particles and MCParticles should both be part of `nu` (ie
22  // associated with a particular neutrino). But anatree_module.cc doesn't
23  // currently make that association, so place them at this level for now.
24 
25  // GENIE particle list from event record
26  unsigned int ngpart;
27  std::vector<SRGenieParticle> gpart;
28 
29  unsigned int npart;
30  std::vector<SRParticle> part;
31 
32  // Likewise, SimHits have indices and should belong to their particles
34  };
35 }
36 
37 #endif
std::vector< SRGenieParticle > gpart
Definition: SRTruth.h:27
SRSimHitBranch simhit
Definition: SRTruth.h:33
std::vector< SRNeutrino > nu
Definition: SRTruth.h:19
unsigned int nnu
Definition: SRTruth.h:18
std::vector< SRParticle > part
Definition: SRTruth.h:30
unsigned int npart
Definition: SRTruth.h:29
unsigned int ngpart
Definition: SRTruth.h:26
Common Analysis Files.
Definition: SRGAr.h:13