Public Member Functions | |
void | setESModel (egEnergyCorr::ESModel val) |
int | initialize () |
void | setFileName (const std::string &val) |
void | setRandomSeed (unsigned seed=0) |
void | useStatErrorScaling (bool flag) |
void | use_temp_correction201215 (bool flag) |
void | use_temp_correction201516 (bool flag) |
void | use_uA2MeV_2015_first2weeks_correction (bool flag) |
double | applyMCCalibration (double eta, double ET, PATCore::ParticleType::Type ptype) const |
double | getCorrectedMomentum (PATCore::ParticleDataType::DataType dataType, PATCore::ParticleType::Type ptype, double momentum, double trk_eta, egEnergyCorr::Scale::Variation scaleVar=egEnergyCorr::Scale::None, double varSF=1.0) const |
double | getCorrectedEnergy (unsigned int runnumber, PATCore::ParticleDataType::DataType dataType, PATCore::ParticleType::Type ptype, double cl_eta, double cl_etaCalo, double energy, double energyS2, double eraw, egEnergyCorr::Scale::Variation scaleVar=egEnergyCorr::Scale::None, egEnergyCorr::Resolution::Variation resVar=egEnergyCorr::Resolution::None, egEnergyCorr::Resolution::resolutionType resType=egEnergyCorr::Resolution::SigmaEff90, double varSF=1.0) const |
double | resolution (double energy, double cl_eta, double cl_etaCalo, PATCore::ParticleType::Type ptype, bool withCT, bool fast, egEnergyCorr::Resolution::resolutionType resType=egEnergyCorr::Resolution::SigmaEff90) const |
double | getResolutionError (double energy, double eta, double etaCalo, PATCore::ParticleType::Type ptype, egEnergyCorr::Resolution::Variation value, egEnergyCorr::Resolution::resolutionType resType=egEnergyCorr::Resolution::Gaussian) const |
std::string | variationName (egEnergyCorr::Scale::Variation &var) const |
std::string | variationName (egEnergyCorr::Resolution::Variation &var) const |
const TAxis & | get_ZeeStat_eta_axis () const |
Static Public Member Functions | |
static egEnergyCorr::Scale::Variation | ScaleVariationFromString (std::string &var) |
static egEnergyCorr::Resolution::Variation | ResolutionVariationFromString (std::string &var) |
double AtlasRoot::egammaEnergyCorrectionTool::getCorrectedMomentum | ( | PATCore::ParticleDataType::DataType | dataType, | |
PATCore::ParticleType::Type | ptype, | |||
double | momentum, | |||
double | trk_eta, | |||
egEnergyCorr::Scale::Variation | scaleVar = egEnergyCorr::Scale::None , |
|||
double | varSF = 1.0 | |||
) | const |
take eta and uncorrected energy of electron, return corrected energy, apply given variation, for given particle type Note : energies in MeV This is the main method for users. It internally calls all other needed methods automatically