test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PhotonMCTruth Class Reference

#include <PhotonMCTruth.h>

Public Member Functions

std::vector< ElectronMCTruthelectrons () 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< ElectronMCTruththeElectrons_
 
int theMotherId_
 
CLHEP::HepLorentzVector theMotherMom_
 
CLHEP::HepLorentzVector theMotherVtx_
 
CLHEP::HepLorentzVector thePhoton_
 
CLHEP::HepLorentzVector thePrimaryVertex_
 
int theTrackId_
 
int theVertexIndex_
 

Detailed Description

This class stores all the MC truth information needed about the conversion

Author
N. Marinelli University of Notre Dame

Definition at line 22 of file PhotonMCTruth.h.

Constructor & Destructor Documentation

PhotonMCTruth::PhotonMCTruth ( )
inline

Definition at line 24 of file PhotonMCTruth.h.

24  : isAConversion_(0),thePhoton_(0.,0.,0.),
25  theConvVertex_(0.,0.,0.) {};
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:62
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:56
PhotonMCTruth::PhotonMCTruth ( CLHEP::HepLorentzVector  v)
inline

Definition at line 27 of file PhotonMCTruth.h.

27 : thePhoton_(v) {};
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:56
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.

17  :
19  thePhoton_(phoMom),
20  theVertexIndex_(vertIndex),
22  theMotherId_(motherId),
23  theMotherMom_(mothMom),
24  theMotherVtx_(mothVtx),
25  theConvVertex_(convVertex),
26  thePrimaryVertex_(pV),
28 
29 
30 }
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:60
int trackId() const
Definition: PhotonMCTruth.h:48
std::vector< ElectronMCTruth > electrons() const
Definition: PhotonMCTruth.h:47
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:62
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:64
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:56
int isAConversion() const
Definition: PhotonMCTruth.h:43
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:61
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:63

Member Function Documentation

std::vector<ElectronMCTruth> PhotonMCTruth::electrons ( ) const
inline

Definition at line 47 of file PhotonMCTruth.h.

References theElectrons_.

47 {return theElectrons_;}
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:64
CLHEP::HepLorentzVector PhotonMCTruth::fourMomentum ( ) const
inline

Definition at line 44 of file PhotonMCTruth.h.

References thePhoton_.

44 {return thePhoton_;}
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:56
int PhotonMCTruth::isAConversion ( ) const
inline

Definition at line 43 of file PhotonMCTruth.h.

References isAConversion_.

43 { return isAConversion_;}
CLHEP::HepLorentzVector PhotonMCTruth::motherMomentum ( ) const
inline

Definition at line 50 of file PhotonMCTruth.h.

References theMotherMom_.

50 {return theMotherMom_;}
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:60
int PhotonMCTruth::motherType ( ) const
inline

Definition at line 49 of file PhotonMCTruth.h.

References theMotherId_.

49 {return theMotherId_;}
CLHEP::HepLorentzVector PhotonMCTruth::motherVtx ( ) const
inline

Definition at line 51 of file PhotonMCTruth.h.

References theMotherVtx_.

51 {return theMotherVtx_;}
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:61
CLHEP::HepLorentzVector PhotonMCTruth::primaryVertex ( ) const
inline

Definition at line 42 of file PhotonMCTruth.h.

References thePrimaryVertex_.

42 {return thePrimaryVertex_;}
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:63
int PhotonMCTruth::trackId ( ) const
inline

Definition at line 48 of file PhotonMCTruth.h.

References theTrackId_.

48 {return theTrackId_;}
CLHEP::HepLorentzVector PhotonMCTruth::vertex ( ) const
inline

Definition at line 46 of file PhotonMCTruth.h.

References theConvVertex_.

Referenced by Tau.Tau::dxy().

46 {return theConvVertex_;}
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:62
int PhotonMCTruth::vertexInd ( ) const
inline

Definition at line 45 of file PhotonMCTruth.h.

References theVertexIndex_.

45 {return theVertexIndex_;}

Member Data Documentation

int PhotonMCTruth::isAConversion_
private

Definition at line 55 of file PhotonMCTruth.h.

Referenced by isAConversion().

CLHEP::HepLorentzVector PhotonMCTruth::theConvVertex_
private

Definition at line 62 of file PhotonMCTruth.h.

Referenced by vertex().

std::vector<ElectronMCTruth> PhotonMCTruth::theElectrons_
private

Definition at line 64 of file PhotonMCTruth.h.

Referenced by electrons().

int PhotonMCTruth::theMotherId_
private

Definition at line 59 of file PhotonMCTruth.h.

Referenced by motherType().

CLHEP::HepLorentzVector PhotonMCTruth::theMotherMom_
private

Definition at line 60 of file PhotonMCTruth.h.

Referenced by motherMomentum().

CLHEP::HepLorentzVector PhotonMCTruth::theMotherVtx_
private

Definition at line 61 of file PhotonMCTruth.h.

Referenced by motherVtx().

CLHEP::HepLorentzVector PhotonMCTruth::thePhoton_
private

Definition at line 56 of file PhotonMCTruth.h.

Referenced by fourMomentum().

CLHEP::HepLorentzVector PhotonMCTruth::thePrimaryVertex_
private

Definition at line 63 of file PhotonMCTruth.h.

Referenced by primaryVertex().

int PhotonMCTruth::theTrackId_
private

Definition at line 58 of file PhotonMCTruth.h.

Referenced by trackId().

int PhotonMCTruth::theVertexIndex_
private

Definition at line 57 of file PhotonMCTruth.h.

Referenced by vertexInd().