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
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

Date:
2009/05/27 07:34:56

$Revision $

Author
N. Marinelli University of Notre Dame

Definition at line 20 of file ElectronMCTruth.h.

Constructor & Destructor Documentation

ElectronMCTruth::ElectronMCTruth ( )

Definition at line 5 of file ElectronMCTruth.cc.

5  {
6 
7 }
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 10 of file ElectronMCTruth.cc.

16  :
17 
18  theElectron_(v),
19  theVertexIndex_(vertIndex),
20  theBremPosition_(bremPos),
21  theBremMomentum_(pBrem),
22  theELoss_(xBrem),
23  thePrimaryVertex_(pV),
24  eTrack_(eTrack)
25 {
26 
27 }
std::vector< CLHEP::Hep3Vector > theBremPosition_
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
std::vector< float > theELoss_
CLHEP::HepLorentzVector thePrimaryVertex_
CLHEP::HepLorentzVector theElectron_
mathSSE::Vec4< T > v

Member Function Documentation

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

Definition at line 36 of file ElectronMCTruth.h.

References theBremMomentum_.

36 { return theBremMomentum_;}
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
std::vector<CLHEP::Hep3Vector> ElectronMCTruth::bremVertices ( ) const
inline

Definition at line 35 of file ElectronMCTruth.h.

References theBremPosition_.

35 { return theBremPosition_;}
std::vector< CLHEP::Hep3Vector > theBremPosition_
std::vector<float> ElectronMCTruth::eloss ( ) const
inline

Definition at line 37 of file ElectronMCTruth.h.

References theELoss_.

37 {return theELoss_;}
std::vector< float > theELoss_
CLHEP::HepLorentzVector ElectronMCTruth::fourMomentum ( ) const
inline

Definition at line 33 of file ElectronMCTruth.h.

References theElectron_.

33 {return theElectron_;}
CLHEP::HepLorentzVector theElectron_
CLHEP::HepLorentzVector ElectronMCTruth::primaryVertex ( ) const
inline

Definition at line 34 of file ElectronMCTruth.h.

References thePrimaryVertex_.

34 {return thePrimaryVertex_;}
CLHEP::HepLorentzVector thePrimaryVertex_
SimTrack ElectronMCTruth::simTracks ( ) const
inline

Definition at line 38 of file ElectronMCTruth.h.

References eTrack_.

38 {return eTrack_;}
int ElectronMCTruth::vertexInd ( ) const
inline

Definition at line 39 of file ElectronMCTruth.h.

References theVertexIndex_.

39 {return theVertexIndex_;}

Member Data Documentation

SimTrack ElectronMCTruth::eTrack_
private

Definition at line 48 of file ElectronMCTruth.h.

Referenced by simTracks().

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

Definition at line 45 of file ElectronMCTruth.h.

Referenced by bremMomentum().

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

Definition at line 44 of file ElectronMCTruth.h.

Referenced by bremVertices().

CLHEP::HepLorentzVector ElectronMCTruth::theElectron_
private

Definition at line 42 of file ElectronMCTruth.h.

Referenced by fourMomentum().

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

Definition at line 46 of file ElectronMCTruth.h.

Referenced by eloss().

CLHEP::HepLorentzVector ElectronMCTruth::thePrimaryVertex_
private

Definition at line 47 of file ElectronMCTruth.h.

Referenced by primaryVertex().

int ElectronMCTruth::theVertexIndex_
private

Definition at line 43 of file ElectronMCTruth.h.

Referenced by vertexInd().