CMS 3D CMS Logo

Public Member Functions | Private Attributes

ElectronMCTruth Class Reference

#include <ElectronMCTruth.h>

List of all members.

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.

                                 {

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

                                                     :
  
  theElectron_(v), 
  theVertexIndex_(vertIndex), 
  theBremPosition_(bremPos), 
  theBremMomentum_(pBrem), 
  theELoss_(xBrem),  
  thePrimaryVertex_(pV), 
  eTrack_(eTrack) 
{
  
}

Member Function Documentation

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

Definition at line 36 of file ElectronMCTruth.h.

References theBremMomentum_.

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

Definition at line 35 of file ElectronMCTruth.h.

References theBremPosition_.

{ return theBremPosition_;}
std::vector<float> ElectronMCTruth::eloss ( ) const [inline]

Definition at line 37 of file ElectronMCTruth.h.

References theELoss_.

{return theELoss_;}
CLHEP::HepLorentzVector ElectronMCTruth::fourMomentum ( ) const [inline]

Definition at line 33 of file ElectronMCTruth.h.

References theElectron_.

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

Definition at line 34 of file ElectronMCTruth.h.

References thePrimaryVertex_.

SimTrack ElectronMCTruth::simTracks ( ) const [inline]

Definition at line 38 of file ElectronMCTruth.h.

References eTrack_.

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

Definition at line 39 of file ElectronMCTruth.h.

References theVertexIndex_.

{return theVertexIndex_;}

Member Data Documentation

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

Definition at line 43 of file ElectronMCTruth.h.

Referenced by vertexInd().