CMS 3D CMS Logo

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 20 of file PhotonMCTruth.h.

Constructor & Destructor Documentation

◆ PhotonMCTruth() [1/3]

PhotonMCTruth::PhotonMCTruth ( )
inline

Definition at line 22 of file PhotonMCTruth.h.

22 : isAConversion_(0), thePhoton_(0., 0., 0.), theConvVertex_(0., 0., 0.) {}
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:56
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:50

◆ PhotonMCTruth() [2/3]

PhotonMCTruth::PhotonMCTruth ( CLHEP::HepLorentzVector  v)
inline

Definition at line 24 of file PhotonMCTruth.h.

24 : thePhoton_(v) {}
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:50

◆ PhotonMCTruth() [3/3]

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 7 of file PhotonMCTruth.cc.

18  thePhoton_(phoMom),
19  theVertexIndex_(vertIndex),
22  theMotherMom_(mothMom),
23  theMotherVtx_(mothVtx),
24  theConvVertex_(convVertex),
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:54
int trackId() const
Definition: PhotonMCTruth.h:43
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:56
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:58
std::vector< ElectronMCTruth > electrons() const
Definition: PhotonMCTruth.h:42
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:50
int isAConversion() const
Definition: PhotonMCTruth.h:38
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:55
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:57

Member Function Documentation

◆ electrons()

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

Definition at line 42 of file PhotonMCTruth.h.

References theElectrons_.

42 { return theElectrons_; }
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:58

◆ fourMomentum()

CLHEP::HepLorentzVector PhotonMCTruth::fourMomentum ( ) const
inline

Definition at line 39 of file PhotonMCTruth.h.

References thePhoton_.

39 { return thePhoton_; }
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:50

◆ isAConversion()

int PhotonMCTruth::isAConversion ( ) const
inline

Definition at line 38 of file PhotonMCTruth.h.

References isAConversion_.

38 { return isAConversion_; }

◆ motherMomentum()

CLHEP::HepLorentzVector PhotonMCTruth::motherMomentum ( ) const
inline

Definition at line 45 of file PhotonMCTruth.h.

References theMotherMom_.

45 { return theMotherMom_; }
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:54

◆ motherType()

int PhotonMCTruth::motherType ( ) const
inline

Definition at line 44 of file PhotonMCTruth.h.

References theMotherId_.

44 { return theMotherId_; }

◆ motherVtx()

CLHEP::HepLorentzVector PhotonMCTruth::motherVtx ( ) const
inline

Definition at line 46 of file PhotonMCTruth.h.

References theMotherVtx_.

46 { return theMotherVtx_; }
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:55

◆ primaryVertex()

CLHEP::HepLorentzVector PhotonMCTruth::primaryVertex ( ) const
inline

Definition at line 37 of file PhotonMCTruth.h.

References thePrimaryVertex_.

37 { return thePrimaryVertex_; }
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:57

◆ trackId()

int PhotonMCTruth::trackId ( ) const
inline

Definition at line 43 of file PhotonMCTruth.h.

References theTrackId_.

43 { return theTrackId_; }

◆ vertex()

CLHEP::HepLorentzVector PhotonMCTruth::vertex ( ) const
inline

Definition at line 41 of file PhotonMCTruth.h.

References theConvVertex_.

Referenced by Tau.Tau::dxy().

41 { return theConvVertex_; }
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:56

◆ vertexInd()

int PhotonMCTruth::vertexInd ( ) const
inline

Definition at line 40 of file PhotonMCTruth.h.

References theVertexIndex_.

40 { return theVertexIndex_; }

Member Data Documentation

◆ isAConversion_

int PhotonMCTruth::isAConversion_
private

Definition at line 49 of file PhotonMCTruth.h.

Referenced by isAConversion().

◆ theConvVertex_

CLHEP::HepLorentzVector PhotonMCTruth::theConvVertex_
private

Definition at line 56 of file PhotonMCTruth.h.

Referenced by vertex().

◆ theElectrons_

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

Definition at line 58 of file PhotonMCTruth.h.

Referenced by electrons().

◆ theMotherId_

int PhotonMCTruth::theMotherId_
private

Definition at line 53 of file PhotonMCTruth.h.

Referenced by motherType().

◆ theMotherMom_

CLHEP::HepLorentzVector PhotonMCTruth::theMotherMom_
private

Definition at line 54 of file PhotonMCTruth.h.

Referenced by motherMomentum().

◆ theMotherVtx_

CLHEP::HepLorentzVector PhotonMCTruth::theMotherVtx_
private

Definition at line 55 of file PhotonMCTruth.h.

Referenced by motherVtx().

◆ thePhoton_

CLHEP::HepLorentzVector PhotonMCTruth::thePhoton_
private

Definition at line 50 of file PhotonMCTruth.h.

Referenced by fourMomentum().

◆ thePrimaryVertex_

CLHEP::HepLorentzVector PhotonMCTruth::thePrimaryVertex_
private

Definition at line 57 of file PhotonMCTruth.h.

Referenced by primaryVertex().

◆ theTrackId_

int PhotonMCTruth::theTrackId_
private

Definition at line 52 of file PhotonMCTruth.h.

Referenced by trackId().

◆ theVertexIndex_

int PhotonMCTruth::theVertexIndex_
private

Definition at line 51 of file PhotonMCTruth.h.

Referenced by vertexInd().