CMS 3D CMS Logo

ElectronMCTruth Class Reference

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

#include <RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h>

List of all members.

Public Member Functions

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

Private Attributes

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


Detailed Description

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

Date
2007/06/08 10:48:59
$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.

00005                                  {
00006 
00007 }

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

Definition at line 10 of file ElectronMCTruth.cc.

00016                                                      :
00017   
00018   theElectron_(v), 
00019   theVertexIndex_(vertIndex), 
00020   theBremPosition_(bremPos), 
00021   theBremMomentum_(pBrem), 
00022   theELoss_(xBrem),  
00023   thePrimaryVertex_(pV), 
00024   eTrack_(eTrack) 
00025 {
00026   
00027 }


Member Function Documentation

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

Definition at line 36 of file ElectronMCTruth.h.

References theBremMomentum_.

00036 { return theBremMomentum_;}

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

Definition at line 35 of file ElectronMCTruth.h.

References theBremPosition_.

00035 { return theBremPosition_;}

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

Definition at line 37 of file ElectronMCTruth.h.

References theELoss_.

00037 {return theELoss_;}

HepLorentzVector ElectronMCTruth::fourMomentum (  )  const [inline]

Definition at line 33 of file ElectronMCTruth.h.

References theElectron_.

00033 {return theElectron_;} 

HepLorentzVector ElectronMCTruth::primaryVertex (  )  const [inline]

Definition at line 34 of file ElectronMCTruth.h.

References thePrimaryVertex_.

00034 {return thePrimaryVertex_;} 

SimTrack ElectronMCTruth::simTracks (  )  const [inline]

Definition at line 38 of file ElectronMCTruth.h.

References eTrack_.

00038 {return eTrack_;}     

int ElectronMCTruth::vertexInd (  )  const [inline]

Definition at line 39 of file ElectronMCTruth.h.

References theVertexIndex_.

00039 {return theVertexIndex_;}


Member Data Documentation

SimTrack ElectronMCTruth::eTrack_ [private]

Definition at line 48 of file ElectronMCTruth.h.

Referenced by simTracks().

std::vector<HepLorentzVector> ElectronMCTruth::theBremMomentum_ [private]

Definition at line 45 of file ElectronMCTruth.h.

Referenced by bremMomentum().

std::vector<Hep3Vector> ElectronMCTruth::theBremPosition_ [private]

Definition at line 44 of file ElectronMCTruth.h.

Referenced by bremVertices().

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

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:20:20 2009 for CMSSW by  doxygen 1.5.4