#include <GenTree.h>
Public Member Functions | |
virtual | ~GenTree () |
virtual const UInt_t | NGen () const =0 |
virtual const UInt_t | NFSParticles (const UInt_t &igen) const =0 |
virtual const Bool_t | IsGenie (const UInt_t &igen) const =0 |
virtual const Float_t | FSTotEnergy (const UInt_t &igen) const =0 |
virtual const Float_t | FSEnergy (const UInt_t &igen, const UInt_t &ifsp) const =0 |
virtual const Float_t | FSPDG (const UInt_t &igen, const UInt_t &ifsp) const =0 |
virtual const Int_t | FSTrackId (const UInt_t &igen, const UInt_t &ifsp) const =0 |
virtual const int | NuRegion (const UInt_t &igen) const =0 |
region code where the vertex is located More... | |
virtual const Int_t | NuPDG (const UInt_t &igen) const =0 |
neutrino PDG code More... | |
virtual const TLorentzVector * | NuP (const UInt_t &igen)=0 |
initial neutrino 4-momentum More... | |
virtual const TLorentzVector * | NuVertex (const UInt_t &igen)=0 |
4-position of neutrino vertex More... | |
virtual const Bool_t | IsCC (const UInt_t &igen) const =0 |
whether interaction is CC or not More... | |
virtual const int | ScatterCode (const UInt_t &igen) const =0 |
GENIE neutrino scattering code. More... | |
virtual const int | InteractCode (const UInt_t &igen) const =0 |
GENIE interaction code. More... | |
virtual const Int_t | TgtPDG (const UInt_t &igen) const =0 |
PDG of Target Nucleus, nucleon only if free. More... | |
virtual const TLorentzVector * | TgtP4 (const UInt_t &igen) const =0 |
target 4-momentum More... | |
virtual const int | TgtZ (const UInt_t &igen) const =0 |
target Z More... | |
virtual const int | TgtA (const UInt_t &igen) const =0 |
target A More... | |
virtual const int | HitNucPDG (const UInt_t &igen) const =0 |
hit nucleon PDG code More... | |
virtual const TLorentzVector * | HitNucP4 (const UInt_t &igen) const =0 |
hit nucleon (initial) 4-momentum More... | |
virtual const double | Q2 (const UInt_t &igen) const =0 |
virtual const double | q2 (const UInt_t &igen) const =0 |
virtual const double | W (const UInt_t &igen) const =0 |
virtual const double | T (const UInt_t &igen) const =0 |
virtual const double | X (const UInt_t &igen) const =0 |
virtual const double | Y (const UInt_t &igen) const =0 |
virtual const TLorentzVector * | FSLeptonP4 (const UInt_t &igen) const =0 |
final state primary lepton 4-momentum (LAB frame) More... | |
virtual const TLorentzVector * | FSHadSystP4 (const UInt_t &igen) const =0 |
final state hadronic system 4-momentum(LAB frame) More... | |
virtual const int | NumNuProton (const UInt_t &igen) const =0 |
number of protons after reaction, before FSI More... | |
virtual const int | NumNuNeutron (const UInt_t &igen) const =0 |
number of neutrons after reaction, before FSI More... | |
virtual const int | NumNuPi0 (const UInt_t &igen) const =0 |
number of pi0 after reaction, before FSI More... | |
virtual const int | NumNuPiPlus (const UInt_t &igen) const =0 |
number of pi pluses after reaction, before FSI More... | |
virtual const int | NumNuPiMinus (const UInt_t &igen) const =0 |
number of pi minuses after reaction, before FSI More... | |
const std::vector< Int_t > * | GetGIndex () const |
whether or not subentry is GENIE interaction, index of GENIE interaction More... | |
bool | NuInAV (const UInt_t &igen) const |
bool | NuInIV (const UInt_t &igen) const |
bool | NuInCalo (const UInt_t &igen) const |
Public Member Functions inherited from garana::TreeReader | |
virtual | ~TreeReader () |
void | SetupRead (TTree *tree) |
TTree * | GetInputTree () |
size_t | NEntries () const |
virtual void | GetEntry (const UInt_t &ientry) |
Int_t | Event () const |
const TObjArray * | GetBranchList () const |
void | Fill () |
void | Write () |
void | CheckOpt (char opt) |
bool | BlockWrite () const |
virtual bool | SetBranchAddresses ()=0 |
Protected Attributes | |
const std::vector< Int_t > * | fGIndex = nullptr |
TBranch * | b_GIndex = nullptr |
Protected Attributes inherited from garana::TreeReader | |
const std::string | treename |
char | fOpt = 'r' |
TTree * | fTreeIn = nullptr |
pointer to the analyzed TTree or TChain More... | |
UInt_t | fCurrentEntry = UINT_MAX |
TBranch * | b_Event = nullptr |
Int_t | fEvent = -1 |
event number for tree entry More... | |
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
final state hadronic system 4-momentum(LAB frame)
particle multiplicities (before FSI)
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
final state primary lepton 4-momentum (LAB frame)
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
GENIE specific neutrino info
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
const std::vector< Int_t > * GenTree::GetGIndex | ( | ) | const |
whether or not subentry is GENIE interaction, index of GENIE interaction
Definition at line 7 of file GenTree.cxx.
|
pure virtual |
hit nucleon (initial) 4-momentum
kinematics
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
hit nucleon PDG code
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
GENIE interaction code.
target info
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
whether interaction is CC or not
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
bool GenTree::NuInAV | ( | const UInt_t & | igen | ) | const |
Definition at line 11 of file GenTree.cxx.
bool GenTree::NuInCalo | ( | const UInt_t & | igen | ) | const |
Definition at line 23 of file GenTree.cxx.
bool GenTree::NuInIV | ( | const UInt_t & | igen | ) | const |
Definition at line 17 of file GenTree.cxx.
|
pure virtual |
number of neutrons after reaction, before FSI
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
number of pi0 after reaction, before FSI
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
number of pi minuses after reaction, before FSI
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
number of pi pluses after reaction, before FSI
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
number of protons after reaction, before FSI
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
initial neutrino 4-momentum
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
neutrino PDG code
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
region code where the vertex is located
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
4-position of neutrino vertex
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
GENIE neutrino scattering code.
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
target A
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
target 4-momentum
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
PDG of Target Nucleus, nucleon only if free.
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
target Z
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
pure virtual |
Implemented in garana::FlatGenTree, and garana::StructuredGenTree.
|
protected |