#include <SimpleElectron.h>
Public Member Functions | |
double | getCombinedMomentum () const |
double | getCombinedMomentumError () const |
int | getElClass () const |
double | getEta () const |
double | getNewEnergy () const |
double | getNewEnergyError () const |
float | getR9 () const |
double | getRegEnergy () const |
double | getRegEnergyError () const |
unsigned int | getRunNumber () const |
double | getScale () const |
double | getSCEnergy () const |
double | getSCEnergyError () const |
double | getSmearing () const |
double | getTrackerMomentum () const |
double | getTrackerMomentumError () const |
bool | isEB () const |
bool | isEcalDriven () const |
bool | isMC () const |
bool | isTrackerDriven () const |
void | setCombinedMomentum (double combinedMomentum) |
void | setCombinedMomentumError (double combinedMomentumError) |
void | setNewEnergy (double newEnergy) |
void | setNewEnergyError (double newEnergyError) |
SimpleElectron () | |
SimpleElectron (unsigned int 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 (const reco::GsfElectron &in, unsigned int runNumber, bool isMC) | |
void | writeTo (reco::GsfElectron &out) const |
~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_ |
unsigned int | run_ |
double | scale_ |
double | scEnergy_ |
double | scEnergyError_ |
double | smearing_ |
double | trackMomentum_ |
double | trackMomentumError_ |
Definition at line 8 of file SimpleElectron.h.
|
inline |
Definition at line 10 of file SimpleElectron.h.
|
inline |
Definition at line 11 of file SimpleElectron.h.
|
inline |
Definition at line 47 of file SimpleElectron.h.
|
explicit |
Definition at line 3 of file SimpleElectron.cc.
|
inline |
Definition at line 57 of file SimpleElectron.h.
References combinedMomentum_.
Referenced by ElectronEnergyCalibrator::correctLinearity(), and writeTo().
|
inline |
Definition at line 58 of file SimpleElectron.h.
References combinedMomentumError_.
Referenced by writeTo().
|
inline |
Definition at line 69 of file SimpleElectron.h.
References eClass_.
Referenced by ElectronEPcombinator::computeEPcombination(), and ElectronEnergyCalibrator::correctLinearity().
|
inline |
Definition at line 67 of file SimpleElectron.h.
References eta_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), ElectronEnergyCalibrator::calibrate(), and ElectronEnergyCalibrator::correctLinearity().
|
inline |
Definition at line 55 of file SimpleElectron.h.
References newEnergy_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), ElectronEPcombinator::computeEPcombination(), and writeTo().
|
inline |
Definition at line 56 of file SimpleElectron.h.
References newEnergyError_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), ElectronEPcombinator::computeEPcombination(), and writeTo().
|
inline |
Definition at line 68 of file SimpleElectron.h.
References r9_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), and ElectronEnergyCalibrator::calibrate().
|
inline |
Definition at line 63 of file SimpleElectron.h.
References regEnergy_.
Referenced by ElectronEnergyCalibrator::calibrate(), and ElectronEPcombinator::computeEPcombination().
|
inline |
Definition at line 64 of file SimpleElectron.h.
References regEnergyError_.
Referenced by ElectronEnergyCalibrator::calibrate(), and ElectronEPcombinator::computeEPcombination().
|
inline |
Definition at line 70 of file SimpleElectron.h.
References run_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), and ElectronEnergyCalibrator::calibrate().
|
inline |
|
inline |
Definition at line 61 of file SimpleElectron.h.
References scEnergy_.
Referenced by ElectronEnergyCalibrator::calibrate().
|
inline |
Definition at line 62 of file SimpleElectron.h.
References scEnergyError_.
Referenced by ElectronEnergyCalibrator::calibrate().
|
inline |
|
inline |
Definition at line 65 of file SimpleElectron.h.
References trackMomentum_.
Referenced by ElectronEPcombinator::computeEPcombination().
|
inline |
Definition at line 66 of file SimpleElectron.h.
References trackMomentumError_.
Referenced by ElectronEPcombinator::computeEPcombination(), and writeTo().
|
inline |
Definition at line 71 of file SimpleElectron.h.
References isEB_.
Referenced by Electron.Electron::absIsoWithFSR(), ElectronEnergyCalibratorRun2::calibrate(), ElectronEnergyCalibrator::calibrate(), and ElectronEnergyCalibrator::correctLinearity().
|
inline |
|
inline |
Definition at line 72 of file SimpleElectron.h.
References isMC_.
Referenced by ElectronEnergyCalibratorRun2::calibrate().
|
inline |
|
inline |
Definition at line 77 of file SimpleElectron.h.
References combinedMomentum_.
Referenced by ElectronEPcombinator::combine(), and ElectronEnergyCalibrator::correctLinearity().
|
inline |
Definition at line 78 of file SimpleElectron.h.
References combinedMomentumError_.
Referenced by ElectronEPcombinator::combine().
|
inline |
Definition at line 79 of file SimpleElectron.h.
References newEnergy_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), and ElectronEnergyCalibrator::calibrate().
|
inline |
Definition at line 80 of file SimpleElectron.h.
References newEnergyError_.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), and ElectronEnergyCalibrator::calibrate().
void SimpleElectron::writeTo | ( | reco::GsfElectron & | out | ) | const |
Definition at line 25 of file SimpleElectron.cc.
References reco::GsfElectron::correctMomentum(), getCombinedMomentum(), getCombinedMomentumError(), getNewEnergy(), getNewEnergyError(), getTrackerMomentumError(), reco::GsfElectron::p4(), reco::GsfElectron::setCorrectedEcalEnergy(), and reco::GsfElectron::setCorrectedEcalEnergyError().
Referenced by ElectronEnergyCalibratorRun2::calibrate().
|
private |
Definition at line 99 of file SimpleElectron.h.
Referenced by getCombinedMomentum(), and setCombinedMomentum().
|
private |
Definition at line 100 of file SimpleElectron.h.
Referenced by getCombinedMomentumError(), and setCombinedMomentumError().
|
private |
Definition at line 84 of file SimpleElectron.h.
Referenced by getElClass().
|
private |
Definition at line 92 of file SimpleElectron.h.
Referenced by getEta().
|
private |
Definition at line 93 of file SimpleElectron.h.
Referenced by isEB().
|
private |
Definition at line 95 of file SimpleElectron.h.
Referenced by isEcalDriven().
|
private |
Definition at line 94 of file SimpleElectron.h.
Referenced by isMC().
|
private |
Definition at line 96 of file SimpleElectron.h.
Referenced by isTrackerDriven().
|
private |
Definition at line 97 of file SimpleElectron.h.
Referenced by getNewEnergy(), and setNewEnergy().
|
private |
Definition at line 98 of file SimpleElectron.h.
Referenced by getNewEnergyError(), and setNewEnergyError().
|
private |
Definition at line 85 of file SimpleElectron.h.
Referenced by getR9().
|
private |
Definition at line 90 of file SimpleElectron.h.
Referenced by getRegEnergy().
|
private |
Definition at line 91 of file SimpleElectron.h.
Referenced by getRegEnergyError().
|
private |
Definition at line 83 of file SimpleElectron.h.
Referenced by getRunNumber().
|
private |
Definition at line 101 of file SimpleElectron.h.
Referenced by getScale().
|
private |
Definition at line 86 of file SimpleElectron.h.
Referenced by getSCEnergy().
|
private |
Definition at line 87 of file SimpleElectron.h.
Referenced by getSCEnergyError().
|
private |
Definition at line 102 of file SimpleElectron.h.
Referenced by getSmearing().
|
private |
Definition at line 88 of file SimpleElectron.h.
Referenced by getTrackerMomentum().
|
private |
Definition at line 89 of file SimpleElectron.h.
Referenced by getTrackerMomentumError().