#include <LumiCorrector.h>
Public Member Functions | |
float | AfterglowFactor (int nBXs) |
float | getCoefficient (const std::string &name) const |
float | getNormForAlgo (const std::string &algo) const |
LumiCorrector () | |
void | setCoefficient (const std::string &name, float value) |
void | setNormForAlgo (const std::string &algo, float value) |
float | TotalNormET (float TotLumi_noNorm, int nBXs) |
float | TotalNormOcc1 (float TotLumi_noNorm, int nBXs) |
float | TotalNormOcc2 (float TotLumi_noNorm, int nBXs) |
~LumiCorrector () | |
Private Attributes | |
std::map< int, float > | AfterglowMap_ |
float | Alpha1_ |
float | Alpha2_ |
float | ETNorm_ |
float | Occ1Norm_ |
float | Occ2Norm_ |
float | PUNorm_ |
Definition at line 6 of file LumiCorrector.h.
LumiCorrector::LumiCorrector | ( | ) |
these are corrections including unit conversion /mb to /ub if unit is already /ub, use e-03
Definition at line 6 of file LumiCorrector.cc.
References AfterglowMap_, Alpha1_, Alpha2_, ETNorm_, Occ1Norm_, Occ2Norm_, and PUNorm_.
|
inline |
Definition at line 9 of file LumiCorrector.h.
References AfterglowFactor(), ecalcalib_dqm_sourceclient-live_cfg::algo, getCoefficient(), getNormForAlgo(), Skims_PA_cff::name, setCoefficient(), setNormForAlgo(), AlCaHLTBitMon_QueryRunRegistry::string, TotalNormET(), TotalNormOcc1(), and TotalNormOcc2().
float LumiCorrector::AfterglowFactor | ( | int | nBXs | ) |
Definition at line 77 of file LumiCorrector.cc.
References AfterglowMap_.
Referenced by TotalNormOcc1(), and ~LumiCorrector().
float LumiCorrector::getCoefficient | ( | const std::string & | name | ) | const |
Definition at line 68 of file LumiCorrector.cc.
References Alpha1_, and Alpha2_.
Referenced by ~LumiCorrector().
float LumiCorrector::getNormForAlgo | ( | const std::string & | algo | ) | const |
Definition at line 53 of file LumiCorrector.cc.
References ETNorm_, Occ1Norm_, Occ2Norm_, and PUNorm_.
Referenced by ~LumiCorrector().
void LumiCorrector::setCoefficient | ( | const std::string & | name, |
float | value | ||
) |
Definition at line 43 of file LumiCorrector.cc.
References Alpha1_, Alpha2_, and relativeConstraints::value.
Referenced by ~LumiCorrector().
void LumiCorrector::setNormForAlgo | ( | const std::string & | algo, |
float | value | ||
) |
Definition at line 25 of file LumiCorrector.cc.
References ETNorm_, Occ1Norm_, Occ2Norm_, PUNorm_, and relativeConstraints::value.
Referenced by ~LumiCorrector().
float LumiCorrector::TotalNormET | ( | float | TotLumi_noNorm, |
int | nBXs | ||
) |
float LumiCorrector::TotalNormOcc1 | ( | float | TotLumi_noNorm, |
int | nBXs | ||
) |
Definition at line 87 of file LumiCorrector.cc.
References AfterglowFactor(), Alpha1_, Alpha2_, Occ1Norm_, and PUNorm_.
Referenced by ~LumiCorrector().
float LumiCorrector::TotalNormOcc2 | ( | float | TotLumi_noNorm, |
int | nBXs | ||
) |
Definition at line 91 of file LumiCorrector.cc.
References Occ2Norm_.
Referenced by ~LumiCorrector().
|
private |
Definition at line 26 of file LumiCorrector.h.
Referenced by AfterglowFactor(), and LumiCorrector().
|
private |
Definition at line 24 of file LumiCorrector.h.
Referenced by getCoefficient(), LumiCorrector(), setCoefficient(), and TotalNormOcc1().
|
private |
Definition at line 25 of file LumiCorrector.h.
Referenced by getCoefficient(), LumiCorrector(), setCoefficient(), and TotalNormOcc1().
|
private |
Definition at line 22 of file LumiCorrector.h.
Referenced by getNormForAlgo(), LumiCorrector(), setNormForAlgo(), and TotalNormET().
|
private |
Definition at line 20 of file LumiCorrector.h.
Referenced by getNormForAlgo(), LumiCorrector(), setNormForAlgo(), and TotalNormOcc1().
|
private |
Definition at line 21 of file LumiCorrector.h.
Referenced by getNormForAlgo(), LumiCorrector(), setNormForAlgo(), and TotalNormOcc2().
|
private |
Definition at line 23 of file LumiCorrector.h.
Referenced by getNormForAlgo(), LumiCorrector(), setNormForAlgo(), and TotalNormOcc1().