ECALELF
d6718b6cc30d69f18fde9018c5ae12f9d80bd7a5
|
Read and get energy scale and smearings from .dat files. More...
#include <Calibration/ZFitter/src/EnergyScaleCorrection_class.cc>
Public Member Functions | |
~EnergyScaleCorrection_class (void) | |
dummy constructor needed in ElectronEnergyCalibratorRun2 | |
float | ScaleCorrection (unsigned int runNumber, bool isEBEle, double R9Ele, double etaSCEle, double EtEle) const |
method to get energy scale corrections | |
float | ScaleCorrectionUncertainty (unsigned int runNumber, bool isEBEle, double R9Ele, double etaSCEle, double EtEle) const |
method to get scale correction uncertainties: it's stat+syst in eta x R9 categories | |
float | getSmearingRho (int runNumber, bool isEBEle, float R9Ele, float etaSCEle, float EtEle) const |
public for sigmaE estimate | |
Private Member Functions | |
correctionValue_class | getScaleCorrection (unsigned int runNumber, bool isEBEle, double R9Ele, double etaSCEle, double EtEle) const |
returns the correction value class | |
void | ReadFromFile (TString filename) |
category "runNumber" runMin runMax deltaP err_deltaP_per_bin err_deltaP_stat err_deltaP_syst More... | |
void | ReadSmearingFromFile (TString filename) |
File structure: category constTerm alpha;. More... | |
Read and get energy scale and smearings from .dat files.
|
private |
category "runNumber" runMin runMax deltaP err_deltaP_per_bin err_deltaP_stat err_deltaP_syst
Input file structure: category "runNumber" runMin runMax deltaP err_deltaP(stat on single bins) err_deltaP_stat(to be used) err_deltaP_syst(to be used)
|
private |
File structure: category constTerm alpha;.
File structure: EBlowEtaBad8TeV 0 0.0 1.0 -999. 0.94 -999999 999999 6.73 0. 7.7e-3 6.32e-4 0.00 0.16 EBlowEtaGold8TeV 0 0.0 1.0 0.94 999. -999999 999999 6.60 0. 7.4e-3 6.50e-4 0.00 0.16 EBhighEtaBad8TeV 0 1.0 1.5 -999. 0.94 -999999 999999 6.73 0. 1.26e-2 1.03e-3 0.00 0.07 EBhighEtaGold8TeV 0 1.0 1.5 0.94 999. -999999 999999 6.52 0. 1.12e-2 1.32e-3 0.00 0.22
EElowEtaBad8TeV 0 1.5 2.0 -999. 0.94 -999999 999999 0. 0. 1.98e-2 3.03e-3 0. 0. EElowEtaGold8TeV 0 1.5 2.0 0.94 999. -999999 999999 0. 0. 1.63e-2 1.22e-3 0. 0. EEhighEtaBad8TeV 0 2.0 3.0 -999. 0.94 -999999 999999 0. 0. 1.92e-2 9.22e-4 0. 0. EEhighEtaGold8TeV 0 2.0 3.0 0.94 999. -999999 999999 0. 0. 1.86e-2 7.81e-4 0. 0.