DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
SRTruthBranch.h
Go to the documentation of this file.
1 
6 
7 #ifndef DUNEANAOBJ_SRTRUTHBRANCH_H
8 #define DUNEANAOBJ_SRTRUTHBRANCH_H
9 
10 #include "duneanaobj/StandardRecord/SREnums.h"
12 
13 namespace caf
14 {
15 
17  {
18  public:
20  std::vector<SRTrueInteraction> nu;
21  std::size_t nnu = 0;
22 
24  const SRTrueParticle * Particle(const TrueParticleID & id) const;
25  };
26 
27 } // caf
28 
29 #endif //DUNEANAOBJ_SRTRUTHBRANCH_H
True neutrino/cosmic (or other top-level particle) interaction.
Definition: SRTrueParticle.h:22
Definition: SRTruthBranch.h:17
std::vector< SRTrueInteraction > nu
Vector of true nus, cosmics, etc. contributing to this trigger.
Definition: SRTruthBranch.h:20
const SRTrueParticle * Particle(const TrueParticleID &id) const
Convenience method to find a particle stored by its ID easily.
Definition: SRTruthBranch.cxx:5
Definition: SREnums.h:94
Common Analysis Files.
Definition: SRBeamBranch.h:13