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.){};

◆ PhotonMCTruth() [2/3]

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

Definition at line 24 of file PhotonMCTruth.h.

24 : thePhoton_(v){};

◆ 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),

Member Function Documentation

◆ electrons()

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

Definition at line 42 of file PhotonMCTruth.h.

42 { return theElectrons_; }

References theElectrons_.

◆ fourMomentum()

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

Definition at line 39 of file PhotonMCTruth.h.

39 { return thePhoton_; }

References thePhoton_.

◆ isAConversion()

int PhotonMCTruth::isAConversion ( ) const
inline

Definition at line 38 of file PhotonMCTruth.h.

38 { return isAConversion_; }

References isAConversion_.

◆ motherMomentum()

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

Definition at line 45 of file PhotonMCTruth.h.

45 { return theMotherMom_; }

References theMotherMom_.

◆ motherType()

int PhotonMCTruth::motherType ( ) const
inline

Definition at line 44 of file PhotonMCTruth.h.

44 { return theMotherId_; }

References theMotherId_.

◆ motherVtx()

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

Definition at line 46 of file PhotonMCTruth.h.

46 { return theMotherVtx_; }

References theMotherVtx_.

◆ primaryVertex()

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

Definition at line 37 of file PhotonMCTruth.h.

37 { return thePrimaryVertex_; }

References thePrimaryVertex_.

◆ trackId()

int PhotonMCTruth::trackId ( ) const
inline

Definition at line 43 of file PhotonMCTruth.h.

43 { return theTrackId_; }

References theTrackId_.

◆ vertex()

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

Definition at line 41 of file PhotonMCTruth.h.

41 { return theConvVertex_; }

References theConvVertex_.

Referenced by Tau.Tau::dxy().

◆ vertexInd()

int PhotonMCTruth::vertexInd ( ) const
inline

Definition at line 40 of file PhotonMCTruth.h.

40 { return theVertexIndex_; }

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

PhotonMCTruth::theVertexIndex_
int theVertexIndex_
Definition: PhotonMCTruth.h:51
PhotonMCTruth::isAConversion
int isAConversion() const
Definition: PhotonMCTruth.h:38
PhotonMCTruth::theConvVertex_
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:56
PhotonMCTruth::thePrimaryVertex_
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:57
PhotonMCTruth::theElectrons_
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:58
PhotonMCTruth::theMotherVtx_
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:55
PhotonMCTruth::theTrackId_
int theTrackId_
Definition: PhotonMCTruth.h:52
findQualityFiles.v
v
Definition: findQualityFiles.py:179
PhotonMCTruth::isAConversion_
int isAConversion_
Definition: PhotonMCTruth.h:49
PhotonMCTruth::trackId
int trackId() const
Definition: PhotonMCTruth.h:43
PhotonMCTruth::theMotherMom_
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:54
PhotonMCTruth::thePhoton_
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:50
objects.autophobj.motherId
motherId
Definition: autophobj.py:237
PhotonMCTruth::theMotherId_
int theMotherId_
Definition: PhotonMCTruth.h:53
PhotonMCTruth::electrons
std::vector< ElectronMCTruth > electrons() const
Definition: PhotonMCTruth.h:42