#include <LumiInfoRunHeader.h>
Public Member Functions | |
bool | getBunchFilled (unsigned int bunch) const |
Get filling scheme for given bunch. More... | |
int | getBunchSpacing () const |
Get bunch spacing (in ns). More... | |
const std::bitset < LumiConstants::numBX > & | getFillingScheme () const |
Get full filling scheme. More... | |
std::string | getFillingSchemeName () const |
Get filling scheme name. More... | |
std::string | getLumiProvider () const |
Get lumi provider. More... | |
bool | isProductEqual (LumiInfoRunHeader const &o) const |
Product compare function. More... | |
LumiInfoRunHeader () | |
Default constructor. More... | |
LumiInfoRunHeader (std::string &lumiProvider, std::string &fillingSchemeName, std::bitset< LumiConstants::numBX > &fillingScheme) | |
Constructor with lumi provider, filling scheme name, and filling scheme. More... | |
void | setFillingScheme (const std::bitset< LumiConstants::numBX > &fillingScheme) |
Set filling scheme. More... | |
void | setFillingSchemeName (const std::string &fillingSchemeName) |
Set filling scheme name. More... | |
void | setLumiProvider (const std::string &lumiProvider) |
Set lumi provider. More... | |
~LumiInfoRunHeader () | |
Destructor. More... | |
Private Member Functions | |
void | setBunchSpacing () |
Private Attributes | |
int | bunchSpacing_ |
std::bitset< LumiConstants::numBX > | fillingScheme_ |
std::string | fillingSchemeName_ |
std::string | lumiProvider_ |
LumiInfoRunHeader contains LumiInfo data which remains valid during the whole run.
This is an updated version of LumiSummaryRunHeader which drops the L1/HLT trigger names and adds the filling scheme information.
Definition at line 21 of file LumiInfoRunHeader.h.
|
inline |
LumiInfoRunHeader::LumiInfoRunHeader | ( | std::string & | lumiProvider, |
std::string & | fillingSchemeName, | ||
std::bitset< LumiConstants::numBX > & | fillingScheme | ||
) |
Constructor with lumi provider, filling scheme name, and filling scheme.
Definition at line 3 of file LumiInfoRunHeader.cc.
References setBunchSpacing().
|
inline |
|
inline |
Get filling scheme for given bunch.
Definition at line 59 of file LumiInfoRunHeader.h.
References fillingScheme_.
|
inline |
Get bunch spacing (in ns).
Definition at line 65 of file LumiInfoRunHeader.h.
References bunchSpacing_.
|
inline |
Get full filling scheme.
Definition at line 62 of file LumiInfoRunHeader.h.
References fillingScheme_.
|
inline |
Get filling scheme name.
Definition at line 56 of file LumiInfoRunHeader.h.
References fillingSchemeName_.
|
inline |
bool LumiInfoRunHeader::isProductEqual | ( | LumiInfoRunHeader const & | o | ) | const |
Product compare function.
Definition at line 12 of file LumiInfoRunHeader.cc.
References fillingScheme_, fillingSchemeName_, and lumiProvider_.
|
private |
Definition at line 29 of file LumiInfoRunHeader.cc.
References bunchSpacing_, LumiConstants::bxSpacingInt, fillingScheme_, i, and LumiConstants::numBX.
Referenced by LumiInfoRunHeader(), and setFillingScheme().
void LumiInfoRunHeader::setFillingScheme | ( | const std::bitset< LumiConstants::numBX > & | fillingScheme | ) |
Set filling scheme.
Definition at line 21 of file LumiInfoRunHeader.cc.
References fillingScheme_, and setBunchSpacing().
|
inline |
Set filling scheme name.
Definition at line 45 of file LumiInfoRunHeader.h.
References fillingSchemeName_.
|
inline |
|
private |
Definition at line 73 of file LumiInfoRunHeader.h.
Referenced by getBunchSpacing(), and setBunchSpacing().
|
private |
Definition at line 72 of file LumiInfoRunHeader.h.
Referenced by getBunchFilled(), getFillingScheme(), isProductEqual(), setBunchSpacing(), and setFillingScheme().
|
private |
Definition at line 71 of file LumiInfoRunHeader.h.
Referenced by getFillingSchemeName(), isProductEqual(), and setFillingSchemeName().
|
private |
Definition at line 70 of file LumiInfoRunHeader.h.
Referenced by getLumiProvider(), isProductEqual(), and setLumiProvider().