1 #ifndef DataFormats_Luminosity_LumiInfo_h 2 #define DataFormats_Luminosity_LumiInfo_h 37 const std::vector<float>& instLumiByBX):
40 instLumiByBX_.assign(instLumiByBX.begin(), instLumiByBX.end());
75 void fill(
const std::vector<float>& instLumiByBX);
77 void fillInstLumi(
const std::vector<float>& instLumiByBX);
86 #endif // DataFormats_Luminosity_LumiInfo_h void fillInstLumi(const std::vector< float > &instLumiByBX)
bool isProductEqual(LumiInfo const &next) const
float recordedLuminosity() const
float lumiSectionLength() const
float deadFraction() const
static const unsigned int numBX
float integLuminosity() const
float liveFraction() const
float instLuminosity() const
void fill(const std::vector< float > &instLumiByBX)
LumiInfo()
default constructor
const std::vector< float > & getInstLumiAllBX() const
float getInstLumiBX(int bx) const
void setDeadFraction(float deadtimeFraction)
LumiInfo(float deadtimeFraction, const std::vector< float > &instLumiByBX)
constructor with fill
std::ostream & operator<<(std::ostream &s, const LumiInfo &lumiInfo)
std::vector< float > instLumiByBX_