SRParticleTruth.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRParticleTruth.h
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRPARTICLETRUTH_H
5 #define SRPARTICLETRUTH_H
6 
10 
11 namespace caf
12 {
13  /// \brief The truth information of reco objects within a slice
15  {
16  public:
19 
20  int pdg; ///< PDG Code of the best matched truth particle
21  int motherpdg; ///< PDG Code of the mother of the best matched truth particle
22  float eff; ///< True deposited energy collection efficiency for the best matched particle relative to the slice
23  float pur; ///< True deposited energy purity for the best matched particle
24 
25  SRLorentzVector p; ///< True energy 4-vector of the best matched particle
26  SRLorentzVector motherp;///< True energy 4-vector of the mother particle
27  int trkID; ///< GEANT trackId for particle
28  SRVector3D start; ///< Start point of true particle in detector coordinates (cm)
29  /// vector containing pdg of mother particles.
30  /// Index 0 is the immedieate mother, the last particle in the index
31  /// will be a primary to the neutrino interaction.
32  /// If this particle is a primary the vector will be empty
33  std::vector<int > motherlist;
34  /// vector containing pdg of the immediate daughter
35  /// particles. If there are no daughters the vector will be empty.
36  std::vector<int > daughterlist;
37  float visE; ///< Visible Energy in detector, all summed FLSHits that made CellHits [GeV]
38  float visEinslc; ///< Visible Energy in detector, slice summed FLSHits that made CellHits [GeV]
39  float daughterVisE; ///< Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits [GeV]
40  float daughterVisEinslc; ///< Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHits [GeV]
41  float visEBirks; ///< Visible Energy in detector, all summed FLSHits that made CellHits [GeV] with birks suppression
42  float visEinslcBirks; ///< Visible Energy in detector, slice summed FLSHits that made CellHits [GeV] with birks suppression
43  float daughterVisEBirks; ///< Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits [GeV] with birks suppression
44  float daughterVisEinslcBirks; ///< Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHits [GeV] with birks suppression
45 
46 
47  std::vector<float> daughterVisEnergies; ///< Energy of each particle contributing to the prong
48  gen_process_t processMax; ///< The process conributing the most the prong
49  float processParticleE; ///< Energy of the particle causing the process that contirbuted the most
50  std::vector<float> primNeutronE; ///< Energy of the primary neutron that is linked to the prong, if one exists
51  std::vector<float> primNeutronProcessE; ///<Fls energy contributing to the prong from neutronInelastic scatters with a proton/photon
52  ///<in the final state and elastic with proton in final state. Order (inelastic proton, inelastic photon, elastic proton)
53 
54  };
55 
56 } // end namespace
57 
58 #endif // SREPARTICLETRUTH_H
59 //////////////////////////////////////////////////////////////////////////////
float daughterVisE
Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits ...
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:14
std::vector< float > daughterVisEnergies
Energy of each particle contributing to the prong.
SRLorentzVector p
True energy 4-vector of the best matched particle.
float eff
True deposited energy collection efficiency for the best matched particle relative to the slice...
float daughterVisEinslcBirks
Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHit...
float daughterVisEBirks
Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits ...
The truth information of reco objects within a slice.
float visEinslc
Visible Energy in detector, slice summed FLSHits that made CellHits [GeV].
float visE
Visible Energy in detector, all summed FLSHits that made CellHits [GeV].
float visEinslcBirks
Visible Energy in detector, slice summed FLSHits that made CellHits [GeV] with birks suppression...
int pdg
PDG Code of the best matched truth particle.
int motherpdg
PDG Code of the mother of the best matched truth particle.
float pur
True deposited energy purity for the best matched particle.
gen_process_t
Interaction type responsible for particle production.
Definition: SREnums.h:35
float visEBirks
Visible Energy in detector, all summed FLSHits that made CellHits [GeV] with birks suppression...
4-vector with more efficient storage than TLorentzVector
std::vector< float > primNeutronProcessE
std::vector< int > motherlist
gen_process_t processMax
The process conributing the most the prong.
std::vector< int > daughterlist
float processParticleE
Energy of the particle causing the process that contirbuted the most.
This module creates Common Analysis Files.
Definition: FileReducer.h:10
int trkID
GEANT trackId for particle.
float daughterVisEinslc
Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHit...
SRLorentzVector motherp
True energy 4-vector of the mother particle.
std::vector< float > primNeutronE
Energy of the primary neutron that is linked to the prong, if one exists.