13#ifndef LUMIBLOCKDATA_TRIGLIVEFRACTIONCONDDATA_H
14#define LUMIBLOCKDATA_TRIGLIVEFRACTIONCONDDATA_H
40 std::vector<float>&& liveFractionLo,
41 std::vector<float>&& liveFractionHi,
42 float lumiLiveFractionLo,
43 float lumiLiveFractionHi);
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Hold live fraction data produced by TrigLiveFractionCondAlg.
const std::vector< float > & l1LiveFractionVector(bool highPriority=true) const
Return vector with all BCIDs indexed by BCID number.
TrigLiveFractionCondData(unsigned int turnCounter, std::vector< float > &&liveFractionLo, std::vector< float > &&liveFractionHi, float lumiLiveFractionLo, float lumiLiveFractionHi)
Constructor.
float lbAverageLiveFraction(bool highPriority=true) const
Luminosity-averaged live fraction over all physics BCIDs.
unsigned int m_turnCounter
std::vector< float > m_liveFractionLo
float m_lumiLiveFractionLo
std::vector< float > m_liveFractionHi
float m_lumiLiveFractionHi
unsigned int lhcTurnCounter() const
Number of turns in this lumi block (can be used to compute errors I guess).