#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 |
const std::map< unsigned int, float > & LumiCorrectionParam::afterglows | ( | ) | const |
get afterglow threshold/value
Definition at line 34 of file LumiCorrectionParam.cc.
References m_afterglows.
Referenced by operator<<(), and setafterglows().
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<<(), and setdescription().
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<<(), and setdescription().
std::string LumiCorrectionParam::corrFunc | ( | ) | const |
get correction function name
Definition at line 26 of file LumiCorrectionParam.cc.
References m_corrfunc.
Referenced by operator<<().
float LumiCorrectionParam::getCorrection | ( | float | luminonorm | ) | const |
get the final correction factor
Definition at line 11 of file LumiCorrectionParam.cc.
References SurfaceDeformationFactory::create(), reco::get(), m_afterglows, m_coeffmap, m_corrfunc, m_intglumi, m_ncollidingbx, and mps_fire::result.
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<<(), and setintglumi().
unsigned int LumiCorrectionParam::ncollidingbunches | ( | ) | const |
get ncollidingbunches
Definition at line 18 of file LumiCorrectionParam.cc.
References m_ncollidingbx.
Referenced by operator<<().
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<<().
std::string LumiCorrectionParam::normtag | ( | ) | const |
get current normtag
Definition at line 22 of file LumiCorrectionParam.cc.
References m_normtag.
Referenced by operator<<(), and setNormtag().
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.
void LumiCorrectionParam::setcorrFunc | ( | const std::string & | corrfunc | ) |
set correction function
Definition at line 58 of file LumiCorrectionParam.cc.
References m_corrfunc.
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.
void LumiCorrectionParam::setintglumi | ( | float | intglumi | ) |
set intglumi
Definition at line 75 of file LumiCorrectionParam.cc.
References intglumi(), and m_intglumi.
void LumiCorrectionParam::setNBX | ( | unsigned int | nbx | ) |
set ncollidingbunches
Definition at line 50 of file LumiCorrectionParam.cc.
References m_ncollidingbx.
void LumiCorrectionParam::setnonlinearCoeff | ( | std::map< std::string, float > & | coeffmap | ) |
set nonlinear constants
Definition at line 62 of file LumiCorrectionParam.cc.
References m_coeffmap.
void LumiCorrectionParam::setNormtag | ( | const std::string & | normtag | ) |
set current normtag
Definition at line 54 of file LumiCorrectionParam.cc.
References m_normtag, and normtag().
|
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().