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
SimpleElectron Class Reference

#include <SimpleElectron.h>

Public Member Functions

double getCombinedMomentum ()
 
double getCombinedMomentumError ()
 
int getElClass ()
 
double getEta ()
 
double getNewEnergy ()
 
double getNewEnergyError ()
 
float getR9 ()
 
double getRegEnergy ()
 
double getRegEnergyError ()
 
int getRunNumber ()
 
double getScale ()
 
double getSCEnergy ()
 
double getSCEnergyError ()
 
double getSmearing ()
 
double getTrackerMomentum ()
 
double getTrackerMomentumError ()
 
bool isEB ()
 
bool isEcalDriven ()
 
bool isMC ()
 
bool isTrackerDriven ()
 
void setCombinedMomentum (double combinedMomentum)
 
void setCombinedMomentumError (double combinedMomentumError)
 
void setNewEnergy (double newEnergy)
 
void setNewEnergyError (double newEnergyError)
 
 SimpleElectron ()
 
 SimpleElectron (double run, double eClass, double r9, double scEnergy, double scEnergyError, double trackMomentum, double trackMomentumError, double regEnergy, double regEnergyError, double combinedMomentum, double combinedMomentumError, double eta, bool isEB, bool isMC, bool isEcalDriven, bool isTrackerDriven)
 
 ~SimpleElectron ()
 

Private Attributes

double combinedMomentum_
 
double combinedMomentumError_
 
double eClass_
 
double eta_
 
bool isEB_
 
bool isEcalDriven_
 
bool isMC_
 
bool isTrackerDriven_
 
double newEnergy_
 
double newEnergyError_
 
double r9_
 
double regEnergy_
 
double regEnergyError_
 
double run_
 
double scale_
 
double scEnergy_
 
double scEnergyError_
 
double smearing_
 
double trackMomentum_
 
double trackMomentumError_
 

Detailed Description

Definition at line 4 of file SimpleElectron.h.

Constructor & Destructor Documentation

SimpleElectron::SimpleElectron ( )
inline

Definition at line 7 of file SimpleElectron.h.

7 {}
SimpleElectron::SimpleElectron ( double  run,
double  eClass,
double  r9,
double  scEnergy,
double  scEnergyError,
double  trackMomentum,
double  trackMomentumError,
double  regEnergy,
double  regEnergyError,
double  combinedMomentum,
double  combinedMomentumError,
double  eta,
bool  isEB,
bool  isMC,
bool  isEcalDriven,
bool  isTrackerDriven 
)
inline

Definition at line 8 of file SimpleElectron.h.

24  :
25  run_(run),
26  eClass_(eClass),
27  r9_(r9),
28  scEnergy_(scEnergy),
29  scEnergyError_(scEnergyError),
31  trackMomentumError_(trackMomentumError),
32  regEnergy_(regEnergy),
33  regEnergyError_(regEnergyError),
34  eta_(eta),
35  isEB_(isEB),
36  isMC_(isMC),
39  combinedMomentum_(combinedMomentum),
40  combinedMomentumError_(combinedMomentumError)
41  {}
double trackMomentumError_
double combinedMomentum_
double trackMomentum_
bool isTrackerDriven()
double regEnergyError_
double combinedMomentumError_
double scEnergyError_
SimpleElectron::~SimpleElectron ( )
inline

Definition at line 42 of file SimpleElectron.h.

42 {}

Member Function Documentation

double SimpleElectron::getCombinedMomentum ( )
inline

Definition at line 47 of file SimpleElectron.h.

References combinedMomentum_.

Referenced by ElectronEnergyCalibrator::correctLinearity().

47 {return combinedMomentum_;}
double combinedMomentum_
double SimpleElectron::getCombinedMomentumError ( )
inline

Definition at line 48 of file SimpleElectron.h.

References combinedMomentumError_.

48 {return combinedMomentumError_;}
double combinedMomentumError_
int SimpleElectron::getElClass ( )
inline
double SimpleElectron::getEta ( )
inline

Definition at line 57 of file SimpleElectron.h.

References eta_.

Referenced by ElectronEnergyCalibrator::calibrate(), and ElectronEnergyCalibrator::correctLinearity().

57 {return eta_;}
double SimpleElectron::getNewEnergy ( )
inline

Definition at line 45 of file SimpleElectron.h.

References newEnergy_.

Referenced by EpCombinationTool::combine(), and ElectronEPcombinator::computeEPcombination().

45 {return newEnergy_;}
double SimpleElectron::getNewEnergyError ( )
inline

Definition at line 46 of file SimpleElectron.h.

References newEnergyError_.

Referenced by EpCombinationTool::combine(), and ElectronEPcombinator::computeEPcombination().

46 {return newEnergyError_;}
double newEnergyError_
float SimpleElectron::getR9 ( )
inline

Definition at line 58 of file SimpleElectron.h.

References r9_.

Referenced by ElectronEnergyCalibrator::calibrate().

58 {return r9_;}
double SimpleElectron::getRegEnergy ( )
inline

Definition at line 53 of file SimpleElectron.h.

References regEnergy_.

Referenced by ElectronEnergyCalibrator::calibrate(), and ElectronEPcombinator::computeEPcombination().

53 {return regEnergy_;}
double SimpleElectron::getRegEnergyError ( )
inline
int SimpleElectron::getRunNumber ( )
inline

Definition at line 60 of file SimpleElectron.h.

References run_.

Referenced by ElectronEnergyCalibrator::calibrate().

60 {return run_;}
double SimpleElectron::getScale ( )
inline

Definition at line 49 of file SimpleElectron.h.

References scale_.

49 {return scale_;}
double SimpleElectron::getSCEnergy ( )
inline

Definition at line 51 of file SimpleElectron.h.

References scEnergy_.

Referenced by ElectronEnergyCalibrator::calibrate().

51 {return scEnergy_;}
double SimpleElectron::getSCEnergyError ( )
inline

Definition at line 52 of file SimpleElectron.h.

References scEnergyError_.

Referenced by ElectronEnergyCalibrator::calibrate().

52 {return scEnergyError_;}
double scEnergyError_
double SimpleElectron::getSmearing ( )
inline

Definition at line 50 of file SimpleElectron.h.

References smearing_.

50 {return smearing_;}
double SimpleElectron::getTrackerMomentum ( )
inline

Definition at line 55 of file SimpleElectron.h.

References trackMomentum_.

Referenced by EpCombinationTool::combine(), and ElectronEPcombinator::computeEPcombination().

55 {return trackMomentum_;}
double trackMomentum_
double SimpleElectron::getTrackerMomentumError ( )
inline
bool SimpleElectron::isEB ( )
inline
bool SimpleElectron::isEcalDriven ( )
inline

Definition at line 63 of file SimpleElectron.h.

References isEcalDriven_.

Referenced by EpCombinationTool::combine().

63 {return isEcalDriven_;}
bool SimpleElectron::isMC ( )
inline

Definition at line 62 of file SimpleElectron.h.

References isMC_.

62 {return isMC_;}
bool SimpleElectron::isTrackerDriven ( )
inline

Definition at line 64 of file SimpleElectron.h.

References isTrackerDriven_.

Referenced by EpCombinationTool::combine().

64 {return isTrackerDriven_;}
void SimpleElectron::setCombinedMomentum ( double  combinedMomentum)
inline
void SimpleElectron::setCombinedMomentumError ( double  combinedMomentumError)
inline

Definition at line 68 of file SimpleElectron.h.

References combinedMomentumError_.

Referenced by ElectronEPcombinator::combine(), and EpCombinationTool::combine().

68 {combinedMomentumError_ = combinedMomentumError;}
double combinedMomentumError_
void SimpleElectron::setNewEnergy ( double  newEnergy)
inline

Definition at line 69 of file SimpleElectron.h.

References newEnergy_.

Referenced by ElectronEnergyCalibrator::calibrate().

69 {newEnergy_ = newEnergy;}
void SimpleElectron::setNewEnergyError ( double  newEnergyError)
inline

Definition at line 70 of file SimpleElectron.h.

References newEnergyError_.

Referenced by ElectronEnergyCalibrator::calibrate().

70 {newEnergyError_ = newEnergyError;}
double newEnergyError_

Member Data Documentation

double SimpleElectron::combinedMomentum_
private

Definition at line 89 of file SimpleElectron.h.

Referenced by getCombinedMomentum(), and setCombinedMomentum().

double SimpleElectron::combinedMomentumError_
private

Definition at line 90 of file SimpleElectron.h.

Referenced by getCombinedMomentumError(), and setCombinedMomentumError().

double SimpleElectron::eClass_
private

Definition at line 74 of file SimpleElectron.h.

Referenced by getElClass().

double SimpleElectron::eta_
private

Definition at line 82 of file SimpleElectron.h.

Referenced by getEta().

bool SimpleElectron::isEB_
private

Definition at line 83 of file SimpleElectron.h.

Referenced by isEB().

bool SimpleElectron::isEcalDriven_
private

Definition at line 85 of file SimpleElectron.h.

Referenced by isEcalDriven().

bool SimpleElectron::isMC_
private

Definition at line 84 of file SimpleElectron.h.

Referenced by isMC().

bool SimpleElectron::isTrackerDriven_
private

Definition at line 86 of file SimpleElectron.h.

Referenced by isTrackerDriven().

double SimpleElectron::newEnergy_
private

Definition at line 87 of file SimpleElectron.h.

Referenced by getNewEnergy(), and setNewEnergy().

double SimpleElectron::newEnergyError_
private

Definition at line 88 of file SimpleElectron.h.

Referenced by getNewEnergyError(), and setNewEnergyError().

double SimpleElectron::r9_
private

Definition at line 75 of file SimpleElectron.h.

Referenced by getR9().

double SimpleElectron::regEnergy_
private

Definition at line 80 of file SimpleElectron.h.

Referenced by getRegEnergy().

double SimpleElectron::regEnergyError_
private

Definition at line 81 of file SimpleElectron.h.

Referenced by getRegEnergyError().

double SimpleElectron::run_
private

Definition at line 73 of file SimpleElectron.h.

Referenced by getRunNumber().

double SimpleElectron::scale_
private

Definition at line 91 of file SimpleElectron.h.

Referenced by getScale().

double SimpleElectron::scEnergy_
private

Definition at line 76 of file SimpleElectron.h.

Referenced by getSCEnergy().

double SimpleElectron::scEnergyError_
private

Definition at line 77 of file SimpleElectron.h.

Referenced by getSCEnergyError().

double SimpleElectron::smearing_
private

Definition at line 92 of file SimpleElectron.h.

Referenced by getSmearing().

double SimpleElectron::trackMomentum_
private

Definition at line 78 of file SimpleElectron.h.

Referenced by getTrackerMomentum().

double SimpleElectron::trackMomentumError_
private

Definition at line 79 of file SimpleElectron.h.

Referenced by getTrackerMomentumError().