#include <PhotonMCTruth.h>
Public Member Functions | |
std::vector< ElectronMCTruth > | electrons () const |
CLHEP::HepLorentzVector | fourMomentum () const |
int | isAConversion () const |
CLHEP::HepLorentzVector | motherMomentum () const |
int | motherType () const |
CLHEP::HepLorentzVector | motherVtx () const |
PhotonMCTruth () | |
PhotonMCTruth (CLHEP::HepLorentzVector v) | |
PhotonMCTruth (int isAConversion, CLHEP::HepLorentzVector v, int vertIndex, int trackId, int motherId, CLHEP::HepLorentzVector mothMom, CLHEP::HepLorentzVector mothVtx, CLHEP::HepLorentzVector convVertex, CLHEP::HepLorentzVector pV, std::vector< ElectronMCTruth > &electrons) | |
CLHEP::HepLorentzVector | primaryVertex () const |
int | trackId () const |
CLHEP::HepLorentzVector | vertex () const |
int | vertexInd () const |
Private Attributes | |
int | isAConversion_ |
CLHEP::HepLorentzVector | theConvVertex_ |
std::vector< ElectronMCTruth > | theElectrons_ |
int | theMotherId_ |
CLHEP::HepLorentzVector | theMotherMom_ |
CLHEP::HepLorentzVector | theMotherVtx_ |
CLHEP::HepLorentzVector | thePhoton_ |
CLHEP::HepLorentzVector | thePrimaryVertex_ |
int | theTrackId_ |
int | theVertexIndex_ |
This class stores all the MC truth information needed about the conversion
Definition at line 24 of file PhotonMCTruth.h.
PhotonMCTruth::PhotonMCTruth | ( | ) | [inline] |
Definition at line 26 of file PhotonMCTruth.h.
: isAConversion_(0),thePhoton_(0.,0.,0.), theConvVertex_(0.,0.,0.) {};
PhotonMCTruth::PhotonMCTruth | ( | CLHEP::HepLorentzVector | v | ) | [inline] |
Definition at line 29 of file PhotonMCTruth.h.
: thePhoton_(v) {};
PhotonMCTruth::PhotonMCTruth | ( | int | isAConversion, |
CLHEP::HepLorentzVector | v, | ||
int | vertIndex, | ||
int | trackId, | ||
int | motherId, | ||
CLHEP::HepLorentzVector | mothMom, | ||
CLHEP::HepLorentzVector | mothVtx, | ||
CLHEP::HepLorentzVector | convVertex, | ||
CLHEP::HepLorentzVector | pV, | ||
std::vector< ElectronMCTruth > & | electrons | ||
) |
Definition at line 8 of file PhotonMCTruth.cc.
: isAConversion_(isAConversion), thePhoton_(phoMom), theVertexIndex_(vertIndex), theTrackId_(trackId), theMotherId_(motherId), theMotherMom_(mothMom), theMotherVtx_(mothVtx), theConvVertex_(convVertex), thePrimaryVertex_(pV), theElectrons_(electrons) { }
std::vector<ElectronMCTruth> PhotonMCTruth::electrons | ( | ) | const [inline] |
CLHEP::HepLorentzVector PhotonMCTruth::fourMomentum | ( | ) | const [inline] |
int PhotonMCTruth::isAConversion | ( | ) | const [inline] |
CLHEP::HepLorentzVector PhotonMCTruth::motherMomentum | ( | ) | const [inline] |
int PhotonMCTruth::motherType | ( | ) | const [inline] |
CLHEP::HepLorentzVector PhotonMCTruth::motherVtx | ( | ) | const [inline] |
CLHEP::HepLorentzVector PhotonMCTruth::primaryVertex | ( | ) | const [inline] |
Definition at line 44 of file PhotonMCTruth.h.
References thePrimaryVertex_.
{return thePrimaryVertex_;}
int PhotonMCTruth::trackId | ( | ) | const [inline] |
CLHEP::HepLorentzVector PhotonMCTruth::vertex | ( | ) | const [inline] |
int PhotonMCTruth::vertexInd | ( | ) | const [inline] |
Definition at line 47 of file PhotonMCTruth.h.
References theVertexIndex_.
{return theVertexIndex_;}
int PhotonMCTruth::isAConversion_ [private] |
Definition at line 57 of file PhotonMCTruth.h.
Referenced by isAConversion().
CLHEP::HepLorentzVector PhotonMCTruth::theConvVertex_ [private] |
Definition at line 64 of file PhotonMCTruth.h.
Referenced by vertex().
std::vector<ElectronMCTruth> PhotonMCTruth::theElectrons_ [private] |
Definition at line 66 of file PhotonMCTruth.h.
Referenced by electrons().
int PhotonMCTruth::theMotherId_ [private] |
Definition at line 61 of file PhotonMCTruth.h.
Referenced by motherType().
CLHEP::HepLorentzVector PhotonMCTruth::theMotherMom_ [private] |
Definition at line 62 of file PhotonMCTruth.h.
Referenced by motherMomentum().
CLHEP::HepLorentzVector PhotonMCTruth::theMotherVtx_ [private] |
Definition at line 63 of file PhotonMCTruth.h.
Referenced by motherVtx().
CLHEP::HepLorentzVector PhotonMCTruth::thePhoton_ [private] |
Definition at line 58 of file PhotonMCTruth.h.
Referenced by fourMomentum().
CLHEP::HepLorentzVector PhotonMCTruth::thePrimaryVertex_ [private] |
Definition at line 65 of file PhotonMCTruth.h.
Referenced by primaryVertex().
int PhotonMCTruth::theTrackId_ [private] |
Definition at line 60 of file PhotonMCTruth.h.
Referenced by trackId().
int PhotonMCTruth::theVertexIndex_ [private] |
Definition at line 59 of file PhotonMCTruth.h.
Referenced by vertexInd().