#include <LumiCorrectionParam.h>
Public Types | |
enum | LumiType { HF, PIXEL } |
Public Member Functions | |
const std::map< unsigned int, float > & | afterglows () const |
get afterglow threshold/value More... | |
std::string | amodetag () const |
unsigned int | beamegev () const |
std::string | corrFunc () const |
get correction function name More... | |
float | getCorrection (float luminonorm) const |
get the final correction factor More... | |
float | intglumi () const |
lumi integrated up to that run. Needed for 2011B correction, otherwise 0. More... | |
LumiCorrectionParam () | |
default constructor More... | |
LumiCorrectionParam (LumiType lumitype) | |
unsigned int | ncollidingbunches () const |
get ncollidingbunches More... | |
const std::map< std::string, float > & | nonlinearCoeff () const |
get correction coefficients More... | |
std::string | normtag () const |
get current normtag More... | |
void | setafterglows (std::map< unsigned int, float > &afterglows) |
set afterglow thresholds More... | |
void | setcorrFunc (const std::string &corrfunc) |
set correction function More... | |
void | setdescription (const std::string &amodetag, unsigned int beamegev) |
set description More... | |
void | setintglumi (float intglumi) |
set intglumi More... | |
void | setNBX (unsigned int nbx) |
set ncollidingbunches More... | |
void | setnonlinearCoeff (std::map< std::string, float > &coeffmap) |
set nonlinear constants More... | |
void | setNormtag (const std::string &normtag) |
set current normtag More... | |
~LumiCorrectionParam () | |
destructor More... | |
Private Attributes | |
std::map< unsigned int, float > | m_afterglows |
std::string | m_amodetag |
float | m_beamegev |
std::map< std::string, float > | m_coeffmap |
std::string | m_corrfunc |
float | m_intglumi |
LumiType | m_lumitype |
unsigned int | m_ncollidingbx |
std::string | m_normtag |
Definition at line 7 of file LumiCorrectionParam.h.
Enumerator | |
---|---|
HF | |
PIXEL |
Definition at line 9 of file LumiCorrectionParam.h.
LumiCorrectionParam::LumiCorrectionParam | ( | ) |
default constructor
Definition at line 7 of file LumiCorrectionParam.cc.
|
explicit |
Definition at line 8 of file LumiCorrectionParam.cc.
|
inline |
destructor
Definition at line 14 of file LumiCorrectionParam.h.
References afterglows(), amodetag(), beamegev(), corrFunc(), getCorrection(), intglumi(), normFunctors::luminonorm, ncollidingbunches(), nonlinearCoeff(), normtag(), setafterglows(), setcorrFunc(), setdescription(), setintglumi(), setNBX(), setnonlinearCoeff(), setNormtag(), and AlCaHLTBitMon_QueryRunRegistry::string.
const std::map< unsigned int, float > & LumiCorrectionParam::afterglows | ( | ) | const |
get afterglow threshold/value
Definition at line 34 of file LumiCorrectionParam.cc.
References m_afterglows, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator<<(), setafterglows(), and ~LumiCorrectionParam().
std::string LumiCorrectionParam::amodetag | ( | ) | const |
on which amodetag this correction definition should be applied for information only
Definition at line 38 of file LumiCorrectionParam.cc.
References m_amodetag.
Referenced by operator<<(), setdescription(), and ~LumiCorrectionParam().
unsigned int LumiCorrectionParam::beamegev | ( | ) | const |
on which single beam egev this correction definition should be applied for information only
Definition at line 42 of file LumiCorrectionParam.cc.
References m_beamegev.
Referenced by operator<<(), setdescription(), and ~LumiCorrectionParam().
std::string LumiCorrectionParam::corrFunc | ( | ) | const |
get correction function name
Definition at line 26 of file LumiCorrectionParam.cc.
References m_corrfunc.
Referenced by operator<<(), and ~LumiCorrectionParam().
float LumiCorrectionParam::getCorrection | ( | float | luminonorm | ) | const |
get the final correction factor
Definition at line 11 of file LumiCorrectionParam.cc.
References beamerCreator::create(), reco::get(), m_afterglows, m_coeffmap, m_corrfunc, m_intglumi, m_ncollidingbx, and mps_fire::result.
Referenced by ~LumiCorrectionParam().
float LumiCorrectionParam::intglumi | ( | ) | const |
lumi integrated up to that run. Needed for 2011B correction, otherwise 0.
Definition at line 46 of file LumiCorrectionParam.cc.
References m_intglumi.
Referenced by operator<<(), setintglumi(), and ~LumiCorrectionParam().
unsigned int LumiCorrectionParam::ncollidingbunches | ( | ) | const |
get ncollidingbunches
Definition at line 18 of file LumiCorrectionParam.cc.
References m_ncollidingbx, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator<<(), and ~LumiCorrectionParam().
const std::map< std::string, float > & LumiCorrectionParam::nonlinearCoeff | ( | ) | const |
get correction coefficients
Definition at line 30 of file LumiCorrectionParam.cc.
References m_coeffmap.
Referenced by operator<<(), and ~LumiCorrectionParam().
std::string LumiCorrectionParam::normtag | ( | ) | const |
get current normtag
Definition at line 22 of file LumiCorrectionParam.cc.
References m_normtag, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator<<(), setNormtag(), and ~LumiCorrectionParam().
void LumiCorrectionParam::setafterglows | ( | std::map< unsigned int, float > & | afterglows | ) |
set afterglow thresholds
Definition at line 66 of file LumiCorrectionParam.cc.
References afterglows(), and m_afterglows.
Referenced by ~LumiCorrectionParam().
void LumiCorrectionParam::setcorrFunc | ( | const std::string & | corrfunc | ) |
set correction function
Definition at line 58 of file LumiCorrectionParam.cc.
References m_corrfunc.
Referenced by ~LumiCorrectionParam().
void LumiCorrectionParam::setdescription | ( | const std::string & | amodetag, |
unsigned int | beamegev | ||
) |
set description
Definition at line 70 of file LumiCorrectionParam.cc.
References amodetag(), beamegev(), m_amodetag, and m_beamegev.
Referenced by ~LumiCorrectionParam().
void LumiCorrectionParam::setintglumi | ( | float | intglumi | ) |
set intglumi
Definition at line 75 of file LumiCorrectionParam.cc.
References intglumi(), and m_intglumi.
Referenced by ~LumiCorrectionParam().
void LumiCorrectionParam::setNBX | ( | unsigned int | nbx | ) |
set ncollidingbunches
Definition at line 50 of file LumiCorrectionParam.cc.
References m_ncollidingbx.
Referenced by ~LumiCorrectionParam().
void LumiCorrectionParam::setnonlinearCoeff | ( | std::map< std::string, float > & | coeffmap | ) |
set nonlinear constants
Definition at line 62 of file LumiCorrectionParam.cc.
References m_coeffmap.
Referenced by ~LumiCorrectionParam().
void LumiCorrectionParam::setNormtag | ( | const std::string & | normtag | ) |
set current normtag
Definition at line 54 of file LumiCorrectionParam.cc.
References m_normtag, and normtag().
Referenced by ~LumiCorrectionParam().
|
private |
Definition at line 64 of file LumiCorrectionParam.h.
Referenced by afterglows(), getCorrection(), and setafterglows().
|
private |
Definition at line 65 of file LumiCorrectionParam.h.
Referenced by amodetag(), and setdescription().
|
private |
Definition at line 66 of file LumiCorrectionParam.h.
Referenced by beamegev(), and setdescription().
|
private |
Definition at line 63 of file LumiCorrectionParam.h.
Referenced by getCorrection(), nonlinearCoeff(), and setnonlinearCoeff().
|
private |
Definition at line 62 of file LumiCorrectionParam.h.
Referenced by corrFunc(), getCorrection(), and setcorrFunc().
|
private |
Definition at line 67 of file LumiCorrectionParam.h.
Referenced by getCorrection(), intglumi(), and setintglumi().
|
private |
Definition at line 59 of file LumiCorrectionParam.h.
|
private |
Definition at line 60 of file LumiCorrectionParam.h.
Referenced by getCorrection(), ncollidingbunches(), and setNBX().
|
private |
Definition at line 61 of file LumiCorrectionParam.h.
Referenced by normtag(), and setNormtag().