#include <FillInfo.h>
Public Types | |
enum | FillType { UNKNOWN = 0, PROTONS = 1, IONS = 2, COSMICS = 3, GAP = 4 } |
typedef FillType | FillTypeId |
enum | ParticleType { NONE = 0, PROTON = 1, PB82 = 2, AR18 = 3, D = 4, XE54 = 5 } |
typedef ParticleType | ParticleTypeId |
Public Member Functions | |
cond::Time_t const | beginTime () const |
float const | betaStar () const |
std::vector< unsigned short > | bunchConfigurationForBeam1 () const |
std::vector< unsigned short > | bunchConfigurationForBeam2 () const |
unsigned short const | bunchesInBeam1 () const |
unsigned short const | bunchesInBeam2 () const |
unsigned short const | collidingBunches () const |
cond::Time_t const | createTime () const |
float const | crossingAngle () const |
cond::Time_t const | endTime () const |
float const | energy () const |
FillInfo () | |
FillInfo (unsigned short const &lhcFill, bool const &fromData=true) | |
unsigned short const | fillNumber () const |
FillTypeId const | fillType () const |
std::string const & | injectionScheme () const |
float const | intensityForBeam1 () const |
float const | intensityForBeam2 () const |
bool | is25nsBunchSpacing () const |
bool | isBunchInBeam1 (size_t const &bunch) const |
bool | isBunchInBeam2 (size_t const &bunch) const |
bool const | isData () const |
ParticleTypeId const | particleTypeForBeam1 () const |
ParticleTypeId const | particleTypeForBeam2 () const |
void | print (std::stringstream &ss) const |
void | setBeamInfo (unsigned short const &bunches1, unsigned short const &bunches2, unsigned short const &collidingBunches, unsigned short const &targetBunches, FillTypeId const &fillType, ParticleTypeId const &particleType1, ParticleTypeId const &particleType2, float const &angle, float const &beta, float const &intensity1, float const &intensity2, float const &energy, cond::Time_t const &createTime, cond::Time_t const &beginTime, cond::Time_t const &endTime, std::string const &scheme, std::bitset< bunchSlots+1 > const &bunchConf1, std::bitset< bunchSlots+1 > const &bunchConf2) |
void | setBeginTime (cond::Time_t const &beginTime) |
void | setBetaStar (float const &betaStar) |
void | setBunchesInBeam1 (unsigned short const &bunches) |
void | setBunchesInBeam2 (unsigned short const &bunches) |
void | setCollidingBunches (unsigned short const &collidingBunches) |
void | setCreationTime (cond::Time_t const &createTime) |
void | setCrossingAngle (float const &angle) |
void | setEndTime (cond::Time_t const &endTime) |
void | setEnergy (float const &energy) |
void | setFill (unsigned short const &lhcFill, bool const &fromData=true) |
void | setFillType (FillTypeId const &fillType) |
void | setInjectionScheme (std::string const &injectionScheme) |
void | setIntensityForBeam1 (float const &intensity) |
void | setIntensityForBeam2 (float const &intensity) |
void | setParticleTypeForBeam1 (ParticleTypeId const &particleType) |
void | setParticleTypeForBeam2 (ParticleTypeId const &particleType) |
void | setTargetBunches (unsigned short const &targetBunches) |
unsigned short const | targetBunches () const |
~FillInfo () | |
Static Public Attributes | |
static size_t const | availableBunchSlots = 2808 |
static size_t const | bunchSlots = 3564 |
Protected Member Functions | |
std::bitset< bunchSlots+1 > const & | bunchBitsetForBeam1 () const |
std::bitset< bunchSlots+1 > const & | bunchBitsetForBeam2 () const |
void | setBunchBitsetForBeam1 (std::bitset< bunchSlots+1 > const &bunchConfiguration) |
void | setBunchBitsetForBeam2 (std::bitset< bunchSlots+1 > const &bunchConfiguration) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
cond::Time_t | m_beginTime |
float | m_betastar |
std::bitset< bunchSlots+1 > | m_bunchConfiguration1 |
std::bitset< bunchSlots+1 > | m_bunchConfiguration2 |
unsigned short | m_bunches1 |
unsigned short | m_bunches2 |
unsigned short | m_collidingBunches |
cond::Time_t | m_createTime |
float | m_crossingAngle |
cond::Time_t | m_endTime |
float | m_energy |
FillTypeId | m_fillType |
std::string | m_injectionScheme |
float | m_intensity1 |
float | m_intensity2 |
bool | m_isData |
unsigned short | m_lhcFill |
ParticleTypeId | m_particles1 |
ParticleTypeId | m_particles2 |
unsigned short | m_targetBunches |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 10 of file FillInfo.h.
typedef FillType FillInfo::FillTypeId |
Definition at line 14 of file FillInfo.h.
typedef ParticleType FillInfo::ParticleTypeId |
Definition at line 15 of file FillInfo.h.
enum FillInfo::FillType |
Enumerator | |
---|---|
UNKNOWN | |
PROTONS | |
IONS | |
COSMICS | |
GAP |
Definition at line 12 of file FillInfo.h.
Enumerator | |
---|---|
NONE | |
PROTON | |
PB82 | |
AR18 | |
D | |
XE54 |
Definition at line 13 of file FillInfo.h.
FillInfo::FillInfo | ( | ) |
Definition at line 72 of file FillInfo.cc.
FillInfo::FillInfo | ( | unsigned short const & | lhcFill, |
bool const & | fromData = true |
||
) |
Definition at line 92 of file FillInfo.cc.
FillInfo::~FillInfo | ( | ) |
Definition at line 112 of file FillInfo.cc.
cond::Time_t const FillInfo::beginTime | ( | ) | const |
float const FillInfo::betaStar | ( | ) | const |
|
protected |
Definition at line 373 of file FillInfo.cc.
References m_bunchConfiguration1.
|
protected |
Definition at line 377 of file FillInfo.cc.
References m_bunchConfiguration2.
std::vector< unsigned short > FillInfo::bunchConfigurationForBeam1 | ( | ) | const |
Definition at line 232 of file FillInfo.cc.
References bitsetToVector(), and m_bunchConfiguration1.
Referenced by print().
std::vector< unsigned short > FillInfo::bunchConfigurationForBeam2 | ( | ) | const |
Definition at line 236 of file FillInfo.cc.
References bitsetToVector(), and m_bunchConfiguration2.
Referenced by print().
unsigned short const FillInfo::bunchesInBeam1 | ( | ) | const |
unsigned short const FillInfo::bunchesInBeam2 | ( | ) | const |
unsigned short const FillInfo::collidingBunches | ( | ) | const |
Definition at line 155 of file FillInfo.cc.
References m_collidingBunches.
Referenced by setCollidingBunches().
cond::Time_t const FillInfo::createTime | ( | ) | const |
Definition at line 195 of file FillInfo.cc.
References m_createTime.
Referenced by setCreationTime().
float const FillInfo::crossingAngle | ( | ) | const |
cond::Time_t const FillInfo::endTime | ( | ) | const |
float const FillInfo::energy | ( | ) | const |
Definition at line 191 of file FillInfo.cc.
References m_energy.
Referenced by Jet.Jet::rawEnergy(), and setEnergy().
unsigned short const FillInfo::fillNumber | ( | ) | const |
FillInfo::FillTypeId const FillInfo::fillType | ( | ) | const |
std::string const & FillInfo::injectionScheme | ( | ) | const |
Definition at line 207 of file FillInfo.cc.
References m_injectionScheme.
Referenced by setInjectionScheme().
float const FillInfo::intensityForBeam1 | ( | ) | const |
float const FillInfo::intensityForBeam2 | ( | ) | const |
bool FillInfo::is25nsBunchSpacing | ( | ) | const |
Definition at line 213 of file FillInfo.cc.
References cond::serialization::equal(), m_injectionScheme, and AlCaHLTBitMon_QueryRunRegistry::string.
bool FillInfo::isBunchInBeam1 | ( | size_t const & | bunch | ) | const |
Definition at line 219 of file FillInfo.cc.
References m_bunchConfiguration1.
bool FillInfo::isBunchInBeam2 | ( | size_t const & | bunch | ) | const |
Definition at line 225 of file FillInfo.cc.
References m_bunchConfiguration2.
bool const FillInfo::isData | ( | ) | const |
Definition at line 143 of file FillInfo.cc.
References m_isData.
FillInfo::ParticleTypeId const FillInfo::particleTypeForBeam1 | ( | ) | const |
FillInfo::ParticleTypeId const FillInfo::particleTypeForBeam2 | ( | ) | const |
void FillInfo::print | ( | std::stringstream & | ss | ) | const |
Definition at line 344 of file FillInfo.cc.
References bunchConfigurationForBeam1(), bunchConfigurationForBeam2(), filterCSVwithJSON::copy, fillTypeToString(), m_beginTime, m_betastar, m_bunches1, m_bunches2, m_collidingBunches, m_createTime, m_crossingAngle, m_endTime, m_energy, m_fillType, m_injectionScheme, m_intensity1, m_intensity2, m_lhcFill, m_particles1, m_particles2, m_targetBunches, particleTypeToString(), contentValuesCheck::ss, and cond::time::to_boost().
Referenced by operator<<().
|
private |
void FillInfo::setBeamInfo | ( | unsigned short const & | bunches1, |
unsigned short const & | bunches2, | ||
unsigned short const & | collidingBunches, | ||
unsigned short const & | targetBunches, | ||
FillTypeId const & | fillType, | ||
ParticleTypeId const & | particleType1, | ||
ParticleTypeId const & | particleType2, | ||
float const & | angle, | ||
float const & | beta, | ||
float const & | intensity1, | ||
float const & | intensity2, | ||
float const & | energy, | ||
cond::Time_t const & | createTime, | ||
cond::Time_t const & | beginTime, | ||
cond::Time_t const & | endTime, | ||
std::string const & | scheme, | ||
std::bitset< bunchSlots+1 > const & | bunchConf1, | ||
std::bitset< bunchSlots+1 > const & | bunchConf2 | ||
) |
Definition at line 306 of file FillInfo.cc.
References setBeginTime(), setBetaStar(), setBunchBitsetForBeam1(), setBunchBitsetForBeam2(), setBunchesInBeam1(), setBunchesInBeam2(), setCollidingBunches(), setCreationTime(), setCrossingAngle(), setEndTime(), setEnergy(), setFillType(), setInjectionScheme(), setIntensityForBeam1(), setIntensityForBeam2(), setParticleTypeForBeam1(), setParticleTypeForBeam2(), and setTargetBunches().
Referenced by FillInfoPopConSourceHandler::getNewObjects().
void FillInfo::setBeginTime | ( | cond::Time_t const & | beginTime | ) |
Definition at line 293 of file FillInfo.cc.
References beginTime(), and m_beginTime.
Referenced by setBeamInfo().
void FillInfo::setBetaStar | ( | float const & | betaStar | ) |
Definition at line 273 of file FillInfo.cc.
References betaStar(), and m_betastar.
Referenced by setBeamInfo().
|
protected |
Definition at line 382 of file FillInfo.cc.
References m_bunchConfiguration1.
Referenced by setBeamInfo().
|
protected |
Definition at line 386 of file FillInfo.cc.
References m_bunchConfiguration2.
Referenced by setBeamInfo().
void FillInfo::setBunchesInBeam1 | ( | unsigned short const & | bunches | ) |
void FillInfo::setBunchesInBeam2 | ( | unsigned short const & | bunches | ) |
void FillInfo::setCollidingBunches | ( | unsigned short const & | collidingBunches | ) |
Definition at line 249 of file FillInfo.cc.
References collidingBunches(), and m_collidingBunches.
Referenced by setBeamInfo().
void FillInfo::setCreationTime | ( | cond::Time_t const & | createTime | ) |
Definition at line 289 of file FillInfo.cc.
References createTime(), and m_createTime.
Referenced by setBeamInfo().
void FillInfo::setCrossingAngle | ( | float const & | angle | ) |
Definition at line 269 of file FillInfo.cc.
References angle(), and m_crossingAngle.
Referenced by setBeamInfo().
void FillInfo::setEndTime | ( | cond::Time_t const & | endTime | ) |
Definition at line 297 of file FillInfo.cc.
References endTime(), and m_endTime.
Referenced by setBeamInfo().
void FillInfo::setEnergy | ( | float const & | energy | ) |
Definition at line 285 of file FillInfo.cc.
References energy(), and m_energy.
Referenced by setBeamInfo().
void FillInfo::setFill | ( | unsigned short const & | lhcFill, |
bool const & | fromData = true |
||
) |
Definition at line 115 of file FillInfo.cc.
References m_beginTime, m_betastar, m_bunchConfiguration1, m_bunchConfiguration2, m_bunches1, m_bunches2, m_collidingBunches, m_createTime, m_crossingAngle, m_endTime, m_energy, m_fillType, m_injectionScheme, m_intensity1, m_intensity2, m_isData, m_lhcFill, m_particles1, m_particles2, m_targetBunches, NONE, and pat::UNKNOWN.
void FillInfo::setFillType | ( | FillInfo::FillTypeId const & | fillType | ) |
Definition at line 257 of file FillInfo.cc.
References fillType(), and m_fillType.
Referenced by setBeamInfo().
void FillInfo::setInjectionScheme | ( | std::string const & | injectionScheme | ) |
Definition at line 301 of file FillInfo.cc.
References injectionScheme(), and m_injectionScheme.
Referenced by setBeamInfo().
void FillInfo::setIntensityForBeam1 | ( | float const & | intensity | ) |
void FillInfo::setIntensityForBeam2 | ( | float const & | intensity | ) |
void FillInfo::setParticleTypeForBeam1 | ( | FillInfo::ParticleTypeId const & | particleType | ) |
Definition at line 261 of file FillInfo.cc.
References m_particles1, and HLT_FULL_cff::particleType.
Referenced by setBeamInfo().
void FillInfo::setParticleTypeForBeam2 | ( | FillInfo::ParticleTypeId const & | particleType | ) |
Definition at line 265 of file FillInfo.cc.
References m_particles2, and HLT_FULL_cff::particleType.
Referenced by setBeamInfo().
void FillInfo::setTargetBunches | ( | unsigned short const & | targetBunches | ) |
Definition at line 253 of file FillInfo.cc.
References m_targetBunches, and targetBunches().
Referenced by setBeamInfo().
unsigned short const FillInfo::targetBunches | ( | ) | const |
Definition at line 159 of file FillInfo.cc.
References m_targetBunches.
Referenced by setTargetBunches().
|
friend |
Definition at line 159 of file FillInfo.h.
|
friend |
Definition at line 159 of file FillInfo.h.
|
static |
Definition at line 24 of file FillInfo.h.
Referenced by FillInfoPopConSourceHandler::getNewObjects().
|
static |
Definition at line 21 of file FillInfo.h.
|
private |
Definition at line 152 of file FillInfo.h.
Referenced by beginTime(), print(), setBeginTime(), and setFill().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by betaStar(), print(), setBetaStar(), and setFill().
|
private |
Definition at line 157 of file FillInfo.h.
Referenced by bunchBitsetForBeam1(), bunchConfigurationForBeam1(), isBunchInBeam1(), setBunchBitsetForBeam1(), and setFill().
|
private |
Definition at line 157 of file FillInfo.h.
Referenced by bunchBitsetForBeam2(), bunchConfigurationForBeam2(), isBunchInBeam2(), setBunchBitsetForBeam2(), and setFill().
|
private |
Definition at line 148 of file FillInfo.h.
Referenced by bunchesInBeam1(), print(), setBunchesInBeam1(), and setFill().
|
private |
Definition at line 148 of file FillInfo.h.
Referenced by bunchesInBeam2(), print(), setBunchesInBeam2(), and setFill().
|
private |
Definition at line 148 of file FillInfo.h.
Referenced by collidingBunches(), print(), setCollidingBunches(), and setFill().
|
private |
Definition at line 152 of file FillInfo.h.
Referenced by createTime(), print(), setCreationTime(), and setFill().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by crossingAngle(), print(), setCrossingAngle(), and setFill().
|
private |
Definition at line 152 of file FillInfo.h.
Referenced by endTime(), print(), setEndTime(), and setFill().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by energy(), print(), setEnergy(), and setFill().
|
private |
Definition at line 149 of file FillInfo.h.
Referenced by fillType(), print(), setFill(), and setFillType().
|
private |
Definition at line 153 of file FillInfo.h.
Referenced by injectionScheme(), is25nsBunchSpacing(), print(), setFill(), and setInjectionScheme().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by intensityForBeam1(), print(), setFill(), and setIntensityForBeam1().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by intensityForBeam2(), print(), setFill(), and setIntensityForBeam2().
|
private |
Definition at line 146 of file FillInfo.h.
|
private |
Definition at line 147 of file FillInfo.h.
Referenced by fillNumber(), print(), and setFill().
|
private |
Definition at line 150 of file FillInfo.h.
Referenced by particleTypeForBeam1(), print(), setFill(), and setParticleTypeForBeam1().
|
private |
Definition at line 150 of file FillInfo.h.
Referenced by particleTypeForBeam2(), print(), setFill(), and setParticleTypeForBeam2().
|
private |
Definition at line 148 of file FillInfo.h.
Referenced by print(), setFill(), setTargetBunches(), and targetBunches().