SRTrueParticle.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRTrueParticle.h
3 // \brief An SRTrueParticle represents a daughter particle.
4 // \version $Id: SRTrueParticle.h,v 1.5 2012-11-19 17:32:23 rocco Exp $
5 // \author $Author: rocco $
6 // \date $Date: 2012-11-19 17:32:23 $
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef SRTRUEPARTICLE_H
9 #define SRTRUEPARTICLE_H
10 
12 
13 namespace caf
14 {
15  /// The SRTrueParticle is used to represent primary daughters of a neutrino
16  /// interaction.
18  {
19  public:
22 
23 
24  int pdg; ///< pdg code
25  float visE; ///< Visible Energy in detector, all summed FLSHits that made CellHits [GeV]
26  float visEinslc; ///< Visible Energy in detector, slice summed FLSHits that made CellHits [GeV]
27  float daughterVisE; ///< Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits [GeV]
28  float daughterVisEinslc; ///< Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHits [GeV]
29  float visEBirks; ///< Visible Energy in detector, all summed FLSHits that made CellHits [GeV] with birks suppression
30  float visEinslcBirks; ///< Visible Energy in detector, slice summed FLSHits that made CellHits [GeV] with birks suppression
31  float daughterVisEBirks; ///< Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits [GeV] with birks suppression
32  float daughterVisEinslcBirks; ///< Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHits [GeV] with birks suppression
33  float enteringE; ///< The kinetic energy the particle had when it first entered the detector, using truth information [GeV]
34  float totEscE; ///< The total escaping energy, from the particle and all of its daughters, using truth information [GeV]
35  float time; ///< Time from electron vertex [GeV]
36  SRLorentzVector p; ///< Momentum 4-vector
37  int trkID; ///< GEANT trackID
38  int prefsiID; ///< Index to Pre-FSI hadron parent in SRNeutrino (-1 if no pre-FSI parent)
39 
40  ///< vector containing pdg of the immediate daughter
41  ///< particles. If there are no daughters the vector will be empty.
42  std::vector<int > daughterlist;
43  std::vector< float> daughterEnergies; ///< Vector containing energy of each daughter
44 
45  float elasticProtonSumVisE; ///<Visible energy coming from sum of elastic processes with protons in final state linked to primary
46  float inelasticProtonSumVisE; ///<Visible energy coming from sum of inelastic processes with protons in final state linked to primary
47  float inelasticPhotonSumVisE;///<Visible energy coming from sum of inelastic processes with photons in final state linked to primary
48 
49  float elasticProtonSumVisEinslc; ///<Vis energy in slc coming from sum of elastic processes with protons in final state linked to primary
50  float inelasticProtonSumVisEinslc; ///<Vis energy in slc coming from sum of inelastic processes with protons in final state linked to primary
51  float inelasticPhotonSumVisEinslc;///<Vis energy in slc coming from sum of inelastic processes with photons in final state linked to primary
52 
53 
54  float elasticProtonMaxVisE; ///<Visible energy coming from max elastic process with protons in final state linked to primary
55  float inelasticProtonMaxVisE; ///<Visible energy coming from max inelastic process with protons in final state linked to primary
56  float inelasticPhotonMaxVisE;///<Visible energy coming from max inelastic process with photons in final state linked to primary
57 
58  float elasticProtonMaxVisEinslc; ///<Vis energy in slc coming from max elastic process with protons in final state linked to primary
59  float inelasticProtonMaxVisEinslc; ///<Vis energy in slc coming from max inelastic process with protons in final state linked to primary
60  float inelasticPhotonMaxVisEinslc;///<Vis energy in slc coming from max inelastic process with photons in final state linked to primary
61 
62 
63  float maxInelasticProtonTrueE; ///<Energy of the proton daughter going through the most energetic inelastic process
64  float maxInelasticPhotonTrueE; ///<Energy of the photon daughter going through the most energetic inelastic process
65  float maxElasticProtonTrueE; ///<Energy of the proton daughter going through the most energetic elastic process
66 
67  };
68 
69 } // end namespace
70 
71 #endif // SRTRUEPARTICLE_H
72 //////////////////////////////////////////////////////////////////////////////
float daughterVisEinslcBirks
Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHit...
float maxInelasticProtonTrueE
Energy of the proton daughter going through the most energetic inelastic process. ...
float time
Time from electron vertex [GeV].
float inelasticPhotonMaxVisEinslc
Vis energy in slc coming from max inelastic process with photons in final state linked to primary...
float daughterVisEinslc
Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHit...
float elasticProtonSumVisEinslc
Vis energy in slc coming from sum of elastic processes with protons in final state linked to primary...
float elasticProtonSumVisE
Visible energy coming from sum of elastic processes with protons in final state linked to primary...
float inelasticPhotonSumVisEinslc
Vis energy in slc coming from sum of inelastic processes with photons in final state linked to primar...
float inelasticProtonMaxVisE
Visible energy coming from max inelastic process with protons in final state linked to primary...
float elasticProtonMaxVisEinslc
Vis energy in slc coming from max elastic process with protons in final state linked to primary...
std::vector< int > daughterlist
float daughterVisEBirks
Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits ...
std::vector< float > daughterEnergies
Vector containing energy of each daughter.
float daughterVisE
Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits ...
float totEscE
The total escaping energy, from the particle and all of its daughters, using truth information [GeV]...
float enteringE
The kinetic energy the particle had when it first entered the detector, using truth information [GeV]...
int prefsiID
Index to Pre-FSI hadron parent in SRNeutrino (-1 if no pre-FSI parent)
float maxInelasticPhotonTrueE
Energy of the photon daughter going through the most energetic inelastic process. ...
4-vector with more efficient storage than TLorentzVector
float visE
Visible Energy in detector, all summed FLSHits that made CellHits [GeV].
float inelasticPhotonSumVisE
Visible energy coming from sum of inelastic processes with photons in final state linked to primary...
float visEinslcBirks
Visible Energy in detector, slice summed FLSHits that made CellHits [GeV] with birks suppression...
float visEBirks
Visible Energy in detector, all summed FLSHits that made CellHits [GeV] with birks suppression...
float maxElasticProtonTrueE
Energy of the proton daughter going through the most energetic elastic process.
float inelasticProtonSumVisEinslc
Vis energy in slc coming from sum of inelastic processes with protons in final state linked to primar...
float inelasticPhotonMaxVisE
Visible energy coming from max inelastic process with photons in final state linked to primary...
float elasticProtonMaxVisE
Visible energy coming from max elastic process with protons in final state linked to primary...
float visEinslc
Visible Energy in detector, slice summed FLSHits that made CellHits [GeV].
float inelasticProtonMaxVisEinslc
Vis energy in slc coming from max inelastic process with protons in final state linked to primary...
This module creates Common Analysis Files.
Definition: FileReducer.h:10
int trkID
GEANT trackID.
float inelasticProtonSumVisE
Visible energy coming from sum of inelastic processes with protons in final state linked to primary...
SRLorentzVector p
Momentum 4-vector.