#include <LHCInfoPerLS.h>
Public Types | |
enum | FloatParamIndex { CROSSING_ANGLE_X = 0, CROSSING_ANGLE_Y, BETA_STAR_X, BETA_STAR_Y, FSIZE } |
enum | IntParamIndex { LHC_FILL = 0, LUMI_SECTION, ISIZE } |
enum | TimeParamIndex { RUN_NUMBER = 0, TSIZE } |
Public Types inherited from LHCInfoVectorizedFields | |
enum | FloatParamIndex { FSIZE = 0 } |
enum | IntParamIndex { ISIZE = 0 } |
enum | StringParamIndex { SSIZE = 0 } |
enum | TimeParamIndex { TSIZE = 0 } |
Public Member Functions | |
float const | betaStarX () const |
float const | betaStarY () const |
float const | crossingAngleX () const |
float const | crossingAngleY () const |
bool | empty () const |
bool | equals (const LHCInfoPerLS &rhs) const |
unsigned short const | fillNumber () const |
LHCInfoPerLS () | |
unsigned int const & | lumiSection () const |
void | print (std::stringstream &ss) const |
cond::Time_t | runNumber () const |
void | setBetaStarX (float const &betaStar) |
void | setBetaStarY (float const &betaStar) |
void | setCrossingAngleX (float const &angle) |
void | setCrossingAngleY (float const &angle) |
void | setFillNumber (unsigned short const &lhcFill) |
void | setInfo (unsigned short const &lhcFill, unsigned int const &lumiSection, float const &angleX, float const &angleY, float const &betaX, float const &betaY, cond::Time_t const &runNumber) |
void | setLumiSection (unsigned int const &lumiSection) |
void | setRunNumber (cond::Time_t const &runNumber) |
Public Member Functions inherited from LHCInfoVectorizedFields | |
template<typename T > | |
const T & | getOneParam (const std::vector< std::vector< T >> ¶ms, size_t index) |
LHCInfoVectorizedFields () | |
template<typename T > | |
void | setOneParam (std::vector< std::vector< T >> ¶ms, size_t index, const T &value) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Additional Inherited Members | |
Static Public Member Functions inherited from LHCInfoVectorizedFields | |
template<typename T > | |
static T & | accessParams (std::vector< T > ¶ms, size_t index) |
template<typename T > | |
static const T & | getOneParam (const std::vector< std::vector< T > > ¶ms, size_t index) |
template<typename T > | |
static const T & | getParams (const std::vector< T > ¶ms, size_t index) |
template<typename T > | |
static void | setOneParam (std::vector< std::vector< T > > ¶ms, size_t index, const T &value) |
template<typename T > | |
static void | setParams (std::vector< T > ¶ms, size_t index, const T &value) |
Protected Member Functions inherited from LHCInfoVectorizedFields | |
LHCInfoVectorizedFields (size_t iSize, size_t fSize, size_t tSize, size_t sSize) | |
Protected Attributes inherited from LHCInfoVectorizedFields | |
std::vector< std::vector< float > > | m_floatParams |
std::vector< std::vector< unsigned int > > | m_intParams |
bool | m_isData = false |
std::vector< std::vector< std::string > > | m_stringParams |
std::vector< std::vector< unsigned long long > > | m_timeParams |
Definition at line 15 of file LHCInfoPerLS.h.
Enumerator | |
---|---|
CROSSING_ANGLE_X | |
CROSSING_ANGLE_Y | |
BETA_STAR_X | |
BETA_STAR_Y | |
FSIZE |
Definition at line 18 of file LHCInfoPerLS.h.
Enumerator | |
---|---|
LHC_FILL | |
LUMI_SECTION | |
ISIZE |
Definition at line 17 of file LHCInfoPerLS.h.
Enumerator | |
---|---|
RUN_NUMBER | |
TSIZE |
Definition at line 19 of file LHCInfoPerLS.h.
LHCInfoPerLS::LHCInfoPerLS | ( | ) |
Definition at line 8 of file LHCInfoPerLS.cc.
float const LHCInfoPerLS::betaStarX | ( | ) | const |
Definition at line 19 of file LHCInfoPerLS.cc.
References BETA_STAR_X, LHCInfoVectorizedFields::getOneParam(), and LHCInfoVectorizedFields::m_floatParams.
Referenced by theLHCInfoPerLSImpl::comparePayloads(), and print().
float const LHCInfoPerLS::betaStarY | ( | ) | const |
Definition at line 21 of file LHCInfoPerLS.cc.
References BETA_STAR_Y, LHCInfoVectorizedFields::getOneParam(), and LHCInfoVectorizedFields::m_floatParams.
Referenced by theLHCInfoPerLSImpl::comparePayloads(), and print().
float const LHCInfoPerLS::crossingAngleX | ( | ) | const |
Definition at line 15 of file LHCInfoPerLS.cc.
References CROSSING_ANGLE_X, LHCInfoVectorizedFields::getOneParam(), and LHCInfoVectorizedFields::m_floatParams.
Referenced by theLHCInfoPerLSImpl::comparePayloads(), and print().
float const LHCInfoPerLS::crossingAngleY | ( | ) | const |
Definition at line 17 of file LHCInfoPerLS.cc.
References CROSSING_ANGLE_Y, LHCInfoVectorizedFields::getOneParam(), and LHCInfoVectorizedFields::m_floatParams.
Referenced by theLHCInfoPerLSImpl::comparePayloads(), and print().
bool LHCInfoPerLS::empty | ( | ) | const |
Definition at line 100 of file LHCInfoPerLS.cc.
References LHCInfoVectorizedFields::m_intParams.
bool LHCInfoPerLS::equals | ( | const LHCInfoPerLS & | rhs | ) | const |
Definition at line 88 of file LHCInfoPerLS.cc.
References LHCInfoVectorizedFields::m_floatParams, LHCInfoVectorizedFields::m_intParams, LHCInfoVectorizedFields::m_isData, and LHCInfoVectorizedFields::m_timeParams.
unsigned short const LHCInfoPerLS::fillNumber | ( | ) | const |
Definition at line 11 of file LHCInfoPerLS.cc.
References LHCInfoVectorizedFields::getOneParam(), LHC_FILL, and LHCInfoVectorizedFields::m_intParams.
Referenced by theLHCInfoPerLSImpl::comparePayloads(), and print().
unsigned int const & LHCInfoPerLS::lumiSection | ( | ) | const |
Definition at line 13 of file LHCInfoPerLS.cc.
References LHCInfoVectorizedFields::getOneParam(), LUMI_SECTION, and LHCInfoVectorizedFields::m_intParams.
Referenced by print(), and setLumiSection().
void LHCInfoPerLS::print | ( | std::stringstream & | ss | ) | const |
Definition at line 71 of file LHCInfoPerLS.cc.
References betaStarX(), betaStarY(), crossingAngleX(), crossingAngleY(), fillNumber(), lumiSection(), runNumber(), and contentValuesCheck::ss.
Referenced by operator<<().
cond::Time_t LHCInfoPerLS::runNumber | ( | ) | const |
Definition at line 23 of file LHCInfoPerLS.cc.
References LHCInfoVectorizedFields::getOneParam(), LHCInfoVectorizedFields::m_timeParams, and RUN_NUMBER.
Referenced by theLHCInfoPerLSImpl::comparePayloads(), print(), and setRunNumber().
|
private |
void LHCInfoPerLS::setBetaStarX | ( | float const & | betaStar | ) |
Definition at line 42 of file LHCInfoPerLS.cc.
References BETA_STAR_X, simBeamSpotPI::betaStar, LHCInfoVectorizedFields::m_floatParams, and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
void LHCInfoPerLS::setBetaStarY | ( | float const & | betaStar | ) |
Definition at line 46 of file LHCInfoPerLS.cc.
References BETA_STAR_Y, simBeamSpotPI::betaStar, LHCInfoVectorizedFields::m_floatParams, and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
void LHCInfoPerLS::setCrossingAngleX | ( | float const & | angle | ) |
Definition at line 34 of file LHCInfoPerLS.cc.
References angle(), CROSSING_ANGLE_X, LHCInfoVectorizedFields::m_floatParams, and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
void LHCInfoPerLS::setCrossingAngleY | ( | float const & | angle | ) |
Definition at line 38 of file LHCInfoPerLS.cc.
References angle(), CROSSING_ANGLE_Y, LHCInfoVectorizedFields::m_floatParams, and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
void LHCInfoPerLS::setFillNumber | ( | unsigned short const & | lhcFill | ) |
Definition at line 26 of file LHCInfoPerLS.cc.
References LHC_FILL, LHCInfoVectorizedFields::m_intParams, and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
void LHCInfoPerLS::setInfo | ( | unsigned short const & | lhcFill, |
unsigned int const & | lumiSection, | ||
float const & | angleX, | ||
float const & | angleY, | ||
float const & | betaX, | ||
float const & | betaY, | ||
cond::Time_t const & | runNumber | ||
) |
Definition at line 55 of file LHCInfoPerLS.cc.
References setBetaStarX(), setBetaStarY(), setCrossingAngleX(), setCrossingAngleY(), setFillNumber(), setLumiSection(), and setRunNumber().
void LHCInfoPerLS::setLumiSection | ( | unsigned int const & | lumiSection | ) |
Definition at line 30 of file LHCInfoPerLS.cc.
References LUMI_SECTION, lumiSection(), LHCInfoVectorizedFields::m_intParams, and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
void LHCInfoPerLS::setRunNumber | ( | cond::Time_t const & | runNumber | ) |
Definition at line 50 of file LHCInfoPerLS.cc.
References LHCInfoVectorizedFields::m_timeParams, RUN_NUMBER, runNumber(), and LHCInfoVectorizedFields::setOneParam().
Referenced by LHCInfoPerLSWriter::analyze(), and setInfo().
|
friend |
Definition at line 69 of file LHCInfoPerLS.h.
|
friend |
Definition at line 69 of file LHCInfoPerLS.h.