CMS 3D CMS Logo

Public Member Functions | Private Attributes

SimpleElectron Class Reference

#include <SimpleElectron.h>

List of all members.

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

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

                        : 
                        run_(run),
                        eClass_(eClass), 
                        r9_(r9),
                        scEnergy_(scEnergy), 
                        scEnergyError_(scEnergyError), 
                        trackMomentum_(trackMomentum), 
                        trackMomentumError_(trackMomentumError), 
                        regEnergy_(regEnergy), 
                        regEnergyError_(regEnergyError), 
                        eta_(eta), 
                        isEB_(isEB), 
                        isMC_(isMC), 
                        isEcalDriven_(isEcalDriven), 
                        isTrackerDriven_(isTrackerDriven), 
                        combinedMomentum_(combinedMomentum), 
                        combinedMomentumError_(combinedMomentumError) 
        {}
SimpleElectron::~SimpleElectron ( ) [inline]

Definition at line 42 of file SimpleElectron.h.

{}      

Member Function Documentation

double SimpleElectron::getCombinedMomentum ( ) [inline]

Definition at line 47 of file SimpleElectron.h.

References combinedMomentum_.

Referenced by ElectronEnergyCalibrator::correctLinearity().

double SimpleElectron::getCombinedMomentumError ( ) [inline]

Definition at line 48 of file SimpleElectron.h.

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

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

Definition at line 45 of file SimpleElectron.h.

References newEnergy_.

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

{return newEnergy_;}
double SimpleElectron::getNewEnergyError ( ) [inline]
float SimpleElectron::getR9 ( ) [inline]

Definition at line 58 of file SimpleElectron.h.

References r9_.

Referenced by ElectronEnergyCalibrator::calibrate().

{return r9_;}
double SimpleElectron::getRegEnergy ( ) [inline]
double SimpleElectron::getRegEnergyError ( ) [inline]
int SimpleElectron::getRunNumber ( ) [inline]

Definition at line 60 of file SimpleElectron.h.

References run_.

Referenced by ElectronEnergyCalibrator::calibrate().

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

Definition at line 49 of file SimpleElectron.h.

References scale_.

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

Definition at line 51 of file SimpleElectron.h.

References scEnergy_.

Referenced by ElectronEnergyCalibrator::calibrate().

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

Definition at line 52 of file SimpleElectron.h.

References scEnergyError_.

Referenced by ElectronEnergyCalibrator::calibrate().

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

Definition at line 50 of file SimpleElectron.h.

References smearing_.

{return smearing_;}
double SimpleElectron::getTrackerMomentum ( ) [inline]
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().

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

Definition at line 62 of file SimpleElectron.h.

References isMC_.

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

Definition at line 64 of file SimpleElectron.h.

References isTrackerDriven_.

Referenced by EpCombinationTool::combine().

{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 EpCombinationTool::combine(), and ElectronEPcombinator::combine().

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

Definition at line 69 of file SimpleElectron.h.

References newEnergy_.

Referenced by ElectronEnergyCalibrator::calibrate().

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

Definition at line 70 of file SimpleElectron.h.

References newEnergyError_.

Referenced by ElectronEnergyCalibrator::calibrate().

{newEnergyError_ = newEnergyError;}

Member Data Documentation

Definition at line 89 of file SimpleElectron.h.

Referenced by getCombinedMomentum(), and setCombinedMomentum().

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

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

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

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

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

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

Definition at line 78 of file SimpleElectron.h.

Referenced by getTrackerMomentum().

Definition at line 79 of file SimpleElectron.h.

Referenced by getTrackerMomentumError().