CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ElectronMCTruth Class Reference

#include <ElectronMCTruth.h>

Public Member Functions

std::vector< CLHEP::HepLorentzVector > bremMomentum () const
 
std::vector< CLHEP::Hep3Vector > bremVertices () const
 
 ElectronMCTruth ()
 
 ElectronMCTruth (CLHEP::HepLorentzVector &v, int vertIndex, std::vector< CLHEP::Hep3Vector > &bremPos, std::vector< CLHEP::HepLorentzVector > &pBrem, std::vector< float > &xbrem, CLHEP::HepLorentzVector &pV, SimTrack &eTrack)
 
std::vector< float > eloss () const
 
CLHEP::HepLorentzVector fourMomentum () const
 
CLHEP::HepLorentzVector primaryVertex () const
 
SimTrack simTracks () const
 
int vertexInd () const
 

Private Attributes

SimTrack eTrack_
 
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
 
std::vector< CLHEP::Hep3Vector > theBremPosition_
 
CLHEP::HepLorentzVector theElectron_
 
std::vector< float > theELoss_
 
CLHEP::HepLorentzVector thePrimaryVertex_
 
int theVertexIndex_
 

Detailed Description

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

Author
N. Marinelli University of Notre Dame

Definition at line 18 of file ElectronMCTruth.h.

Constructor & Destructor Documentation

◆ ElectronMCTruth() [1/2]

ElectronMCTruth::ElectronMCTruth ( )

Definition at line 5 of file ElectronMCTruth.cc.

5 {}

◆ ElectronMCTruth() [2/2]

ElectronMCTruth::ElectronMCTruth ( CLHEP::HepLorentzVector &  v,
int  vertIndex,
std::vector< CLHEP::Hep3Vector > &  bremPos,
std::vector< CLHEP::HepLorentzVector > &  pBrem,
std::vector< float > &  xbrem,
CLHEP::HepLorentzVector &  pV,
SimTrack eTrack 
)

Definition at line 7 of file ElectronMCTruth.cc.

14  :
15 
16  theElectron_(v),
17  theVertexIndex_(vertIndex),
18  theBremPosition_(bremPos),
19  theBremMomentum_(pBrem),
20  theELoss_(xBrem),
22  eTrack_(eTrack) {}
std::vector< CLHEP::Hep3Vector > theBremPosition_
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
std::vector< float > theELoss_
CLHEP::HepLorentzVector thePrimaryVertex_
CLHEP::HepLorentzVector theElectron_

Member Function Documentation

◆ bremMomentum()

std::vector<CLHEP::HepLorentzVector> ElectronMCTruth::bremMomentum ( ) const
inline

Definition at line 32 of file ElectronMCTruth.h.

References theBremMomentum_.

32 { return theBremMomentum_; }
std::vector< CLHEP::HepLorentzVector > theBremMomentum_

◆ bremVertices()

std::vector<CLHEP::Hep3Vector> ElectronMCTruth::bremVertices ( ) const
inline

Definition at line 31 of file ElectronMCTruth.h.

References theBremPosition_.

31 { return theBremPosition_; }
std::vector< CLHEP::Hep3Vector > theBremPosition_

◆ eloss()

std::vector<float> ElectronMCTruth::eloss ( ) const
inline

Definition at line 33 of file ElectronMCTruth.h.

References theELoss_.

33 { return theELoss_; }
std::vector< float > theELoss_

◆ fourMomentum()

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

Definition at line 29 of file ElectronMCTruth.h.

References theElectron_.

29 { return theElectron_; }
CLHEP::HepLorentzVector theElectron_

◆ primaryVertex()

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

Definition at line 30 of file ElectronMCTruth.h.

References thePrimaryVertex_.

30 { return thePrimaryVertex_; }
CLHEP::HepLorentzVector thePrimaryVertex_

◆ simTracks()

SimTrack ElectronMCTruth::simTracks ( ) const
inline

Definition at line 34 of file ElectronMCTruth.h.

References eTrack_.

34 { return eTrack_; }

◆ vertexInd()

int ElectronMCTruth::vertexInd ( ) const
inline

Definition at line 35 of file ElectronMCTruth.h.

References theVertexIndex_.

35 { return theVertexIndex_; }

Member Data Documentation

◆ eTrack_

SimTrack ElectronMCTruth::eTrack_
private

Definition at line 44 of file ElectronMCTruth.h.

Referenced by simTracks().

◆ theBremMomentum_

std::vector<CLHEP::HepLorentzVector> ElectronMCTruth::theBremMomentum_
private

Definition at line 41 of file ElectronMCTruth.h.

Referenced by bremMomentum().

◆ theBremPosition_

std::vector<CLHEP::Hep3Vector> ElectronMCTruth::theBremPosition_
private

Definition at line 40 of file ElectronMCTruth.h.

Referenced by bremVertices().

◆ theElectron_

CLHEP::HepLorentzVector ElectronMCTruth::theElectron_
private

Definition at line 38 of file ElectronMCTruth.h.

Referenced by fourMomentum().

◆ theELoss_

std::vector<float> ElectronMCTruth::theELoss_
private

Definition at line 42 of file ElectronMCTruth.h.

Referenced by eloss().

◆ thePrimaryVertex_

CLHEP::HepLorentzVector ElectronMCTruth::thePrimaryVertex_
private

Definition at line 43 of file ElectronMCTruth.h.

Referenced by primaryVertex().

◆ theVertexIndex_

int ElectronMCTruth::theVertexIndex_
private

Definition at line 39 of file ElectronMCTruth.h.

Referenced by vertexInd().