#include <LumiInfo.h>
Public Member Functions | |
float | deadFraction () const |
void | fill (const std::vector< float > &instLumiByBX) |
void | fillInstLumi (const std::vector< float > &instLumiByBX) |
const std::vector< float > & | getInstLumiAllBX () const |
float | getInstLumiBX (int bx) const |
float | instLuminosity () const |
float | integLuminosity () const |
bool | isProductEqual (LumiInfo const &next) const |
float | liveFraction () const |
LumiInfo () | |
default constructor More... | |
LumiInfo (float deadtimeFraction, const std::vector< float > &instLumiByBX) | |
constructor with fill More... | |
float | lumiSectionLength () const |
float | recordedLuminosity () const |
void | setDeadFraction (float deadtimeFraction) |
~LumiInfo () | |
destructor More... | |
Private Attributes | |
float | deadtimeFraction_ |
std::vector< float > | instLumiByBX_ |
LumiInfo has been created by merging the content of the old LumiSummary and LumiDetails classes to streamline the lumi information. Many old member variables have been removed.
Definition at line 26 of file LumiInfo.h.
|
inline |
default constructor
Definition at line 29 of file LumiInfo.h.
References instLumiByBX_, and LumiConstants::numBX.
|
inline |
|
inline |
|
inline |
void LumiInfo::fill | ( | const std::vector< float > & | instLumiByBX | ) |
Definition at line 38 of file LumiInfo.cc.
References fillInstLumi().
void LumiInfo::fillInstLumi | ( | const std::vector< float > & | instLumiByBX | ) |
|
inline |
|
inline |
float LumiInfo::instLuminosity | ( | ) | const |
Definition at line 7 of file LumiInfo.cc.
References instLumiByBX_.
Referenced by integLuminosity(), and operator<<().
float LumiInfo::integLuminosity | ( | ) | const |
Definition at line 16 of file LumiInfo.cc.
References instLuminosity(), and lumiSectionLength().
Referenced by operator<<(), and recordedLuminosity().
bool LumiInfo::isProductEqual | ( | LumiInfo const & | next | ) | const |
|
inline |
float LumiInfo::lumiSectionLength | ( | ) | const |
Definition at line 24 of file LumiInfo.cc.
References LumiConstants::bxSpacingExact, LumiConstants::numBX, and LumiConstants::numOrbits.
Referenced by integLuminosity().
float LumiInfo::recordedLuminosity | ( | ) | const |
Definition at line 20 of file LumiInfo.cc.
References deadtimeFraction_, and integLuminosity().
Referenced by operator<<().
|
inline |
|
private |
Definition at line 80 of file LumiInfo.h.
Referenced by deadFraction(), isProductEqual(), liveFraction(), recordedLuminosity(), and setDeadFraction().
|
private |
Definition at line 81 of file LumiInfo.h.
Referenced by fillInstLumi(), getInstLumiAllBX(), getInstLumiBX(), instLuminosity(), isProductEqual(), and LumiInfo().