![]() |
eventAnalysis
7.0-49-g0ac7482
|
Class used by the Truth Vertices Module to store information relating to an individual true primary vertex. More...
#include <TTruthVerticesModule.hxx>
Public Member Functions | |
TTruthVertex () | |
virtual | ~TTruthVertex () |
Int_t | Compare (const TObject *obj) const |
Compare the values of the vertices' IDs so that a TClonesArray can be sorted in order of increasing ID. More... | |
Bool_t | IsSortable () const |
Make the object sortable so that a TClonesArray can be sorted in ID order. More... | |
Public Attributes | |
Double_t | Fiducial |
The distance inside the local fiducial volume [mm]. Not currently set for any detector other than the P0D. More... | |
std::string | Generator |
The generator that created the vertex. eg: "genie:mean@free-spill". More... | |
Int_t | ID |
A number which uniquely identifies this vertex within the event. This ID is the interface between the Truth Vertices module and other eventAnalysis modules. Other modules should use this number to reference trajectories. More... | |
TLorentzVector | NeutrinoMomentum |
The four-momentum of the incoming neutrino. Set to (-999999.9, -999999.9, -999999.9, -999999.9) in the absence of a neutrino. More... | |
Int_t | NeutrinoPDG |
The PDG number of the incoming neutrino. Set to 0 in the absence of a neutrino. More... | |
Int_t | NPrimaryTraj |
The number of primary trajectories (ie: the number of primary particles exiting the interaction vertex). More... | |
TLorentzVector | Position |
Position and time of the vertex. More... | |
std::vector< Int_t > | PrimaryTrajIDs |
ID numbers which uniquely identify the trajectories of the primary particles of the vertex within the event. More... | |
std::string | ReactionCode |
The Reaction code according to the generator For Genie this will be of the form: "nu:14;tgt:1000260560;N:2112;proc:Weak[CC],QES;" For Neut it will be an integer, see definitions here: http://www.t2k.org/asg/xsec/niwgdocs/neut_xsecs/neutmodesC.h/view. More... | |
Int_t | Subdetector |
Subdetector which the vertex occurs in. More... | |
TLorentzVector | TargetMomentum |
The four-momentum of the target. Set to (-999999.9, -999999.9, -999999.9, -999999.9) in the absence of a target. More... | |
Int_t | TargetPDG |
The (extended for nuclei) PDG number of the target. Set to 0 in the absence of a target. More... | |
Private Member Functions | |
ClassDef (ND::TTruthVerticesModule::TTruthVertex, 1) | |
Class used by the Truth Vertices Module to store information relating to an individual true primary vertex.
Definition at line 113 of file TTruthVerticesModule.hxx.
ND::TTruthVerticesModule::TTruthVertex::TTruthVertex | ( | ) |
Definition at line 300 of file TTruthVerticesModule.cxx.
|
virtual |
Definition at line 116 of file TTruthVerticesModule.hxx.
|
private |
Int_t ND::TTruthVerticesModule::TTruthVertex::Compare | ( | const TObject * | obj | ) | const |
Compare the values of the vertices' IDs so that a TClonesArray can be sorted in order of increasing ID.
Definition at line 313 of file TTruthVerticesModule.cxx.
Bool_t ND::TTruthVerticesModule::TTruthVertex::IsSortable | ( | ) | const |
Make the object sortable so that a TClonesArray can be sorted in ID order.
Definition at line 124 of file TTruthVerticesModule.hxx.
Double_t ND::TTruthVerticesModule::TTruthVertex::Fiducial |
The distance inside the local fiducial volume [mm]. Not currently set for any detector other than the P0D.
Definition at line 141 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
std::string ND::TTruthVerticesModule::TTruthVertex::Generator |
The generator that created the vertex. eg: "genie:mean@free-spill".
Definition at line 134 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
Int_t ND::TTruthVerticesModule::TTruthVertex::ID |
A number which uniquely identifies this vertex within the event. This ID is the interface between the Truth Vertices module and other eventAnalysis modules. Other modules should use this number to reference trajectories.
Definition at line 130 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
TLorentzVector ND::TTruthVerticesModule::TTruthVertex::NeutrinoMomentum |
The four-momentum of the incoming neutrino. Set to (-999999.9, -999999.9, -999999.9, -999999.9) in the absence of a neutrino.
Definition at line 149 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
Int_t ND::TTruthVerticesModule::TTruthVertex::NeutrinoPDG |
The PDG number of the incoming neutrino. Set to 0 in the absence of a neutrino.
Definition at line 147 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
Int_t ND::TTruthVerticesModule::TTruthVertex::NPrimaryTraj |
The number of primary trajectories (ie: the number of primary particles exiting the interaction vertex).
Definition at line 143 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
TLorentzVector ND::TTruthVerticesModule::TTruthVertex::Position |
Position and time of the vertex.
Definition at line 132 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
std::vector<Int_t> ND::TTruthVerticesModule::TTruthVertex::PrimaryTrajIDs |
ID numbers which uniquely identify the trajectories of the primary particles of the vertex within the event.
Definition at line 145 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
std::string ND::TTruthVerticesModule::TTruthVertex::ReactionCode |
The Reaction code according to the generator For Genie this will be of the form: "nu:14;tgt:1000260560;N:2112;proc:Weak[CC],QES;" For Neut it will be an integer, see definitions here: http://www.t2k.org/asg/xsec/niwgdocs/neut_xsecs/neutmodesC.h/view.
Definition at line 136 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
Int_t ND::TTruthVerticesModule::TTruthVertex::Subdetector |
Subdetector which the vertex occurs in.
Definition at line 138 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
TLorentzVector ND::TTruthVerticesModule::TTruthVertex::TargetMomentum |
The four-momentum of the target. Set to (-999999.9, -999999.9, -999999.9, -999999.9) in the absence of a target.
Definition at line 153 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().
Int_t ND::TTruthVerticesModule::TTruthVertex::TargetPDG |
The (extended for nuclei) PDG number of the target. Set to 0 in the absence of a target.
Definition at line 151 of file TTruthVerticesModule.hxx.
Referenced by ND::TTruthVerticesModule::FillTree().