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

Date:
2009/05/27 07:34:56
Revision:
1.9
Author
N. Marinelli University of Notre Dame

Definition at line 24 of file PhotonMCTruth.h.

Constructor & Destructor Documentation

PhotonMCTruth::PhotonMCTruth ( )
inline

Definition at line 26 of file PhotonMCTruth.h.

26  : isAConversion_(0),thePhoton_(0.,0.,0.),
27  theConvVertex_(0.,0.,0.) {};
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:64
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:58
PhotonMCTruth::PhotonMCTruth ( CLHEP::HepLorentzVector  v)
inline

Definition at line 29 of file PhotonMCTruth.h.

29 : thePhoton_(v) {};
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:58
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:62
int trackId() const
Definition: PhotonMCTruth.h:50
std::vector< ElectronMCTruth > electrons() const
Definition: PhotonMCTruth.h:49
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:64
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:66
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:58
int isAConversion() const
Definition: PhotonMCTruth.h:45
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:63
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:65

Member Function Documentation

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

Definition at line 49 of file PhotonMCTruth.h.

References theElectrons_.

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

Definition at line 46 of file PhotonMCTruth.h.

References thePhoton_.

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

Definition at line 45 of file PhotonMCTruth.h.

References isAConversion_.

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

Definition at line 52 of file PhotonMCTruth.h.

References theMotherMom_.

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

Definition at line 51 of file PhotonMCTruth.h.

References theMotherId_.

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

Definition at line 53 of file PhotonMCTruth.h.

References theMotherVtx_.

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

Definition at line 44 of file PhotonMCTruth.h.

References thePrimaryVertex_.

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

Definition at line 50 of file PhotonMCTruth.h.

References theTrackId_.

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

Definition at line 48 of file PhotonMCTruth.h.

References theConvVertex_.

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

Definition at line 47 of file PhotonMCTruth.h.

References theVertexIndex_.

47 {return theVertexIndex_;}

Member Data Documentation

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().