#include <LumiSummary.h>
Classes | |
class | HLT |
class | L1 |
Public Member Functions | |
float | avgInsDelLumi () const |
float | avgInsDelLumiErr () const |
float | avgInsRecLumi () const |
float | avgInsRecLumiErr () const |
unsigned long long | bitzerocount () const |
void | copyHLTData (const std::vector< HLT > &hltdata) |
void | copyL1Data (const std::vector< L1 > &l1data) |
unsigned long long | deadcount () const |
float | deadFrac () const |
HLT | hltinfo (unsigned int idx) const |
float | intgDelLumi () const |
float | intgRecLumi () const |
bool | isProductEqual (LumiSummary const &next) const |
bool | isValid () const |
L1 | l1info (unsigned int idx) const |
float | liveFrac () const |
unsigned int | lsNumber () const |
short | lumiSecQual () const |
float | lumiSectionLength () const |
LumiSummary () | |
default constructor More... | |
LumiSummary (float avginsdellumi, float avginsdellumierr, short lumisecqual, unsigned long long deadcount, unsigned long long bitzerocount, unsigned int lsnumber, const std::vector< L1 > &l1in, const std::vector< HLT > &hltin, unsigned int startorbit, unsigned int numorbit, const std::string &lumiversion) | |
set default constructor More... | |
std::string | lumiVersion () const |
size_t | nHLTPath () const |
size_t | nTriggerLine () const |
unsigned int | numOrbit () const |
void | setBitZeroCount (unsigned long long bitzerocount) |
void | setDeadCount (unsigned long long deadcount) |
void | setlsnumber (unsigned int lsnumber) |
void | setLumiData (float instlumi, float instlumierr, short lumiquality) |
void | setLumiVersion (const std::string &lumiversion) |
void | setOrbitData (unsigned int startorbit, unsigned int numorbit) |
unsigned int | startOrbit () const |
void | swapHLTData (std::vector< HLT > &hltdata) |
void | swapL1Data (std::vector< L1 > &l1data) |
~LumiSummary () | |
destructor More... | |
Private Attributes | |
float | avginsdellumi_ |
float | avginsdellumierr_ |
unsigned long long | bitzerocount_ |
unsigned long long | deadcount_ |
std::vector< HLT > | hltdata_ |
std::vector< L1 > | l1data_ |
unsigned int | lsnumber_ |
short | lumisecqual_ |
std::string | lumiversion_ |
unsigned int | numorbit_ |
unsigned int | startorbit_ |
LumiSummary holds Summary information averaged over all bunch crossings for the given luminosity section LS
Definition at line 20 of file LumiSummary.h.
|
inline |
|
inline |
|
inline |
destructor
Definition at line 74 of file LumiSummary.h.
References avgInsDelLumi(), avgInsDelLumiErr(), avgInsRecLumi(), avgInsRecLumiErr(), bitzerocount(), copyHLTData(), copyL1Data(), deadcount(), deadFrac(), dataDML::hltdata, hltinfo(), training_settings::idx, intgDelLumi(), intgRecLumi(), isProductEqual(), isValid(), l1info(), liveFrac(), lsNumber(), lumiSecQual(), lumiSectionLength(), lumiVersion(), estimatePileup::lumiversion, GetRecoTauVFromDQM_MC_cff::next, nHLTPath(), nTriggerLine(), numOrbit(), setBitZeroCount(), setDeadCount(), setlsnumber(), setLumiData(), setLumiVersion(), setOrbitData(), startOrbit(), AlCaHLTBitMon_QueryRunRegistry::string, swapHLTData(), and swapL1Data().
float LumiSummary::avgInsDelLumi | ( | ) | const |
average inst lumi,delivered, unit Hz/ub, uncalibrated for lumiversion v2
Definition at line 9 of file LumiSummary.cc.
References avginsdellumi_, and lumiversion_.
Referenced by EventHeader::analyze(), avgInsRecLumi(), LumiCalculator::endLuminosityBlock(), GetLumi::getRawValue(), intgDelLumi(), operator<<(), and ~LumiSummary().
float LumiSummary::avgInsDelLumiErr | ( | ) | const |
average inst lumi error, empty for lumiversion v2
Definition at line 21 of file LumiSummary.cc.
References avginsdellumierr_.
Referenced by operator<<(), and ~LumiSummary().
float LumiSummary::avgInsRecLumi | ( | ) | const |
avg inst lumi corrected by deadtime
Definition at line 98 of file LumiSummary.cc.
References avgInsDelLumi(), and liveFrac().
Referenced by intgRecLumi(), main(), operator<<(), and ~LumiSummary().
float LumiSummary::avgInsRecLumiErr | ( | ) | const |
avg inst lumi error corrected by deadtime
Definition at line 102 of file LumiSummary.cc.
References avginsdellumierr_, and liveFrac().
Referenced by operator<<(), and ~LumiSummary().
unsigned long long LumiSummary::bitzerocount | ( | ) | const |
trigger normalization bit count*prescale
Definition at line 37 of file LumiSummary.cc.
References bitzerocount_.
Referenced by operator<<(), setBitZeroCount(), and ~LumiSummary().
void LumiSummary::copyHLTData | ( | const std::vector< HLT > & | hltdata | ) |
void LumiSummary::copyL1Data | ( | const std::vector< L1 > & | l1data | ) |
unsigned long long LumiSummary::deadcount | ( | ) | const |
trigger DeadtimeBeamActive count
Definition at line 33 of file LumiSummary.cc.
References deadcount_.
Referenced by LumiCalculator::endLuminosityBlock(), operator<<(), setDeadCount(), and ~LumiSummary().
float LumiSummary::deadFrac | ( | ) | const |
the fraction trigger is not active= trigger DeadtimeBeamActive/BitZero special values: if trigger data absent for this LS, return deadfraction 1.0 if bitzero=0 return -1.0 meaning no beam
Definition at line 41 of file LumiSummary.cc.
References bitzerocount_, deadcount_, objects.autophobj::float, l1data_, and lumiversion_.
Referenced by liveFrac(), operator<<(), and ~LumiSummary().
LumiSummary::HLT LumiSummary::hltinfo | ( | unsigned int | idx | ) | const |
Definition at line 86 of file LumiSummary.cc.
References hltdata_.
Referenced by operator<<(), and ~LumiSummary().
float LumiSummary::intgDelLumi | ( | ) | const |
delivered luminosity integrated over LS , unit /ub, uncalibrated for lumiversion v2
Definition at line 17 of file LumiSummary.cc.
References avgInsDelLumi(), objects.autophobj::float, and lumiSectionLength().
Referenced by DQMLumiMonitor::endLuminosityBlock(), GetLumi::getRawValue(), operator<<(), and ~LumiSummary().
float LumiSummary::intgRecLumi | ( | ) | const |
recorded luminosity integrated over LS
Definition at line 25 of file LumiSummary.cc.
References avgInsRecLumi(), objects.autophobj::float, and lumiSectionLength().
Referenced by ~LumiSummary().
bool LumiSummary::isProductEqual | ( | LumiSummary const & | next | ) | const |
Definition at line 106 of file LumiSummary.cc.
References avginsdellumi_, avginsdellumierr_, deadcount_, hltdata_, l1data_, lsnumber_, lumisecqual_, lumiversion_, numorbit_, startorbit_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~LumiSummary().
bool LumiSummary::isValid | ( | void | ) | const |
data are valid only if run exists from all sources lumi,trg ,hlt
Definition at line 78 of file LumiSummary.cc.
References avginsdellumi_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), EventHeader::analyze(), DQMLumiMonitor::endLuminosityBlock(), GetLumi::getRawValue(), operator<<(), core.AutoHandle.AutoHandle::ReallyLoad(), and ~LumiSummary().
LumiSummary::L1 LumiSummary::l1info | ( | unsigned int | idx | ) | const |
Definition at line 82 of file LumiSummary.cc.
References l1data_.
Referenced by LumiCalculator::endLuminosityBlock(), operator<<(), and ~LumiSummary().
float LumiSummary::liveFrac | ( | ) | const |
the fraction trigger is active= 1-deadfraction special values: if deadfraction<0(no beam) livefraction=0
Definition at line 53 of file LumiSummary.cc.
References deadFrac().
Referenced by avgInsRecLumi(), avgInsRecLumiErr(), LumiCalculator::endLuminosityBlock(), operator<<(), and ~LumiSummary().
unsigned int LumiSummary::lsNumber | ( | ) | const |
Definition at line 66 of file LumiSummary.cc.
References lsnumber_.
Referenced by operator<<(), and ~LumiSummary().
short LumiSummary::lumiSecQual | ( | ) | const |
Definition at line 29 of file LumiSummary.cc.
References lumisecqual_.
Referenced by operator<<(), and ~LumiSummary().
float LumiSummary::lumiSectionLength | ( | ) | const |
lumi section length in seconds numorbits*3564*25e-09
Definition at line 61 of file LumiSummary.cc.
References numorbit_.
Referenced by intgDelLumi(), intgRecLumi(), and ~LumiSummary().
std::string LumiSummary::lumiVersion | ( | ) | const |
lumi data version. special values: "-1" means not all lumi,trigger,hlt data exist, therefore invalid
Definition at line 119 of file LumiSummary.cc.
References lumiversion_.
Referenced by operator<<(), and ~LumiSummary().
size_t LumiSummary::nHLTPath | ( | ) | const |
Definition at line 94 of file LumiSummary.cc.
References hltdata_.
Referenced by operator<<(), and ~LumiSummary().
size_t LumiSummary::nTriggerLine | ( | ) | const |
Definition at line 90 of file LumiSummary.cc.
References l1data_.
Referenced by LumiCalculator::endLuminosityBlock(), operator<<(), and ~LumiSummary().
unsigned int LumiSummary::numOrbit | ( | ) | const |
Definition at line 74 of file LumiSummary.cc.
References numorbit_.
Referenced by operator<<(), and ~LumiSummary().
void LumiSummary::setBitZeroCount | ( | unsigned long long | bitzerocount | ) |
Definition at line 137 of file LumiSummary.cc.
References bitzerocount(), and bitzerocount_.
Referenced by ~LumiSummary().
void LumiSummary::setDeadCount | ( | unsigned long long | deadcount | ) |
Definition at line 133 of file LumiSummary.cc.
References deadcount(), and deadcount_.
Referenced by ~LumiSummary().
void LumiSummary::setlsnumber | ( | unsigned int | lsnumber | ) |
void LumiSummary::setLumiData | ( | float | instlumi, |
float | instlumierr, | ||
short | lumiquality | ||
) |
Definition at line 127 of file LumiSummary.cc.
References avginsdellumi_, avginsdellumierr_, and lumisecqual_.
Referenced by ~LumiSummary().
void LumiSummary::setLumiVersion | ( | const std::string & | lumiversion | ) |
Definition at line 123 of file LumiSummary.cc.
References estimatePileup::lumiversion, and lumiversion_.
Referenced by ~LumiSummary().
void LumiSummary::setOrbitData | ( | unsigned int | startorbit, |
unsigned int | numorbit | ||
) |
Definition at line 145 of file LumiSummary.cc.
References numorbit_, and startorbit_.
Referenced by ~LumiSummary().
unsigned int LumiSummary::startOrbit | ( | ) | const |
Definition at line 70 of file LumiSummary.cc.
References startorbit_.
Referenced by operator<<(), and ~LumiSummary().
void LumiSummary::swapHLTData | ( | std::vector< HLT > & | hltdata | ) |
void LumiSummary::swapL1Data | ( | std::vector< L1 > & | l1data | ) |
|
private |
Definition at line 158 of file LumiSummary.h.
Referenced by avgInsDelLumi(), isProductEqual(), isValid(), and setLumiData().
|
private |
Definition at line 160 of file LumiSummary.h.
Referenced by avgInsDelLumiErr(), avgInsRecLumiErr(), isProductEqual(), and setLumiData().
|
private |
Definition at line 164 of file LumiSummary.h.
Referenced by bitzerocount(), deadFrac(), and setBitZeroCount().
|
private |
Definition at line 163 of file LumiSummary.h.
Referenced by deadcount(), deadFrac(), isProductEqual(), and setDeadCount().
|
private |
Definition at line 167 of file LumiSummary.h.
Referenced by copyHLTData(), hltinfo(), isProductEqual(), LumiSummary(), nHLTPath(), and swapHLTData().
|
private |
Definition at line 169 of file LumiSummary.h.
Referenced by copyL1Data(), deadFrac(), isProductEqual(), l1info(), LumiSummary(), nTriggerLine(), and swapL1Data().
|
private |
Definition at line 165 of file LumiSummary.h.
Referenced by isProductEqual(), lsNumber(), and setlsnumber().
|
private |
Definition at line 162 of file LumiSummary.h.
Referenced by isProductEqual(), lumiSecQual(), and setLumiData().
|
private |
Definition at line 156 of file LumiSummary.h.
Referenced by avgInsDelLumi(), deadFrac(), isProductEqual(), lumiVersion(), and setLumiVersion().
|
private |
Definition at line 173 of file LumiSummary.h.
Referenced by isProductEqual(), lumiSectionLength(), numOrbit(), and setOrbitData().
|
private |
Definition at line 171 of file LumiSummary.h.
Referenced by isProductEqual(), setOrbitData(), and startOrbit().