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

Member Function Documentation

◆ bremMomentum()

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

Definition at line 32 of file ElectronMCTruth.h.

32 { return theBremMomentum_; }

References theBremMomentum_.

◆ bremVertices()

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

Definition at line 31 of file ElectronMCTruth.h.

31 { return theBremPosition_; }

References theBremPosition_.

◆ eloss()

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

Definition at line 33 of file ElectronMCTruth.h.

33 { return theELoss_; }

References theELoss_.

◆ fourMomentum()

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

Definition at line 29 of file ElectronMCTruth.h.

29 { return theElectron_; }

References theElectron_.

◆ primaryVertex()

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

Definition at line 30 of file ElectronMCTruth.h.

30 { return thePrimaryVertex_; }

References thePrimaryVertex_.

◆ simTracks()

SimTrack ElectronMCTruth::simTracks ( ) const
inline

Definition at line 34 of file ElectronMCTruth.h.

34 { return eTrack_; }

References eTrack_.

◆ vertexInd()

int ElectronMCTruth::vertexInd ( ) const
inline

Definition at line 35 of file ElectronMCTruth.h.

35 { return theVertexIndex_; }

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

ElectronMCTruth::eTrack_
SimTrack eTrack_
Definition: ElectronMCTruth.h:44
ElectronMCTruth::theVertexIndex_
int theVertexIndex_
Definition: ElectronMCTruth.h:39
ElectronMCTruth::theBremMomentum_
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
Definition: ElectronMCTruth.h:41
findQualityFiles.v
v
Definition: findQualityFiles.py:179
ElectronMCTruth::theELoss_
std::vector< float > theELoss_
Definition: ElectronMCTruth.h:42
ElectronMCTruth::theElectron_
CLHEP::HepLorentzVector theElectron_
Definition: ElectronMCTruth.h:38
ElectronMCTruth::theBremPosition_
std::vector< CLHEP::Hep3Vector > theBremPosition_
Definition: ElectronMCTruth.h:40
ElectronMCTruth::thePrimaryVertex_
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: ElectronMCTruth.h:43