#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 | 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 |
Definition at line 199 of file FillInfo.cc.
References m_beginTime.
Referenced by cond::ValueExtractor< FillInfo >::compute(), and setBeginTime().
float const FillInfo::betaStar | ( | ) | const |
Definition at line 179 of file FillInfo.cc.
References m_betastar.
Referenced by cond::ValueExtractor< FillInfo >::compute(), and setBetaStar().
|
protected |
Definition at line 366 of file FillInfo.cc.
References m_bunchConfiguration1.
|
protected |
Definition at line 370 of file FillInfo.cc.
References m_bunchConfiguration2.
std::vector< unsigned short > FillInfo::bunchConfigurationForBeam1 | ( | ) | const |
Definition at line 225 of file FillInfo.cc.
References bitsetToVector(), and m_bunchConfiguration1.
Referenced by print().
std::vector< unsigned short > FillInfo::bunchConfigurationForBeam2 | ( | ) | const |
Definition at line 229 of file FillInfo.cc.
References bitsetToVector(), and m_bunchConfiguration2.
Referenced by print().
unsigned short const FillInfo::bunchesInBeam1 | ( | ) | const |
Definition at line 147 of file FillInfo.cc.
References m_bunches1.
Referenced by cond::ValueExtractor< FillInfo >::compute().
unsigned short const FillInfo::bunchesInBeam2 | ( | ) | const |
Definition at line 151 of file FillInfo.cc.
References m_bunches2.
Referenced by cond::ValueExtractor< FillInfo >::compute().
unsigned short const FillInfo::collidingBunches | ( | ) | const |
Definition at line 155 of file FillInfo.cc.
References m_collidingBunches.
Referenced by cond::ValueExtractor< FillInfo >::compute(), and setCollidingBunches().
cond::Time_t const FillInfo::createTime | ( | ) | const |
Definition at line 195 of file FillInfo.cc.
References m_createTime.
Referenced by cond::ValueExtractor< FillInfo >::compute(), and setCreationTime().
float const FillInfo::crossingAngle | ( | ) | const |
Definition at line 175 of file FillInfo.cc.
References m_crossingAngle.
Referenced by cond::ValueExtractor< FillInfo >::compute().
cond::Time_t const FillInfo::endTime | ( | ) | const |
Definition at line 203 of file FillInfo.cc.
References m_endTime.
Referenced by cond::ValueExtractor< FillInfo >::compute(), and setEndTime().
float const FillInfo::energy | ( | ) | const |
Definition at line 191 of file FillInfo.cc.
References m_energy.
Referenced by cond::ValueExtractor< FillInfo >::compute(), and setEnergy().
unsigned short const FillInfo::fillNumber | ( | ) | const |
Definition at line 139 of file FillInfo.cc.
References m_lhcFill.
Referenced by cond::ValueExtractor< FillInfo >::compute().
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 |
Definition at line 183 of file FillInfo.cc.
References m_intensity1.
Referenced by cond::ValueExtractor< FillInfo >::compute().
float const FillInfo::intensityForBeam2 | ( | ) | const |
Definition at line 187 of file FillInfo.cc.
References m_intensity2.
Referenced by cond::ValueExtractor< FillInfo >::compute().
bool FillInfo::isBunchInBeam1 | ( | size_t const & | bunch | ) | const |
Definition at line 212 of file FillInfo.cc.
References m_bunchConfiguration1.
bool FillInfo::isBunchInBeam2 | ( | size_t const & | bunch | ) | const |
Definition at line 218 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 337 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 299 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 286 of file FillInfo.cc.
References beginTime(), and m_beginTime.
Referenced by setBeamInfo().
void FillInfo::setBetaStar | ( | float const & | betaStar | ) |
Definition at line 266 of file FillInfo.cc.
References betaStar(), and m_betastar.
Referenced by setBeamInfo().
|
protected |
Definition at line 375 of file FillInfo.cc.
References m_bunchConfiguration1.
Referenced by setBeamInfo().
|
protected |
Definition at line 379 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 242 of file FillInfo.cc.
References collidingBunches(), and m_collidingBunches.
Referenced by setBeamInfo().
void FillInfo::setCreationTime | ( | cond::Time_t const & | createTime | ) |
Definition at line 282 of file FillInfo.cc.
References createTime(), and m_createTime.
Referenced by setBeamInfo().
void FillInfo::setCrossingAngle | ( | float const & | angle | ) |
Definition at line 262 of file FillInfo.cc.
References angle(), and m_crossingAngle.
Referenced by setBeamInfo().
void FillInfo::setEndTime | ( | cond::Time_t const & | endTime | ) |
Definition at line 290 of file FillInfo.cc.
References endTime(), and m_endTime.
Referenced by setBeamInfo().
void FillInfo::setEnergy | ( | float const & | energy | ) |
Definition at line 278 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 250 of file FillInfo.cc.
References fillType(), and m_fillType.
Referenced by setBeamInfo().
void FillInfo::setInjectionScheme | ( | std::string const & | injectionScheme | ) |
Definition at line 294 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 254 of file FillInfo.cc.
References m_particles1, and HLT_25ns14e33_v1_cff::particleType.
Referenced by setBeamInfo().
void FillInfo::setParticleTypeForBeam2 | ( | FillInfo::ParticleTypeId const & | particleType | ) |
Definition at line 258 of file FillInfo.cc.
References m_particles2, and HLT_25ns14e33_v1_cff::particleType.
Referenced by setBeamInfo().
void FillInfo::setTargetBunches | ( | unsigned short const & | targetBunches | ) |
Definition at line 246 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 cond::ValueExtractor< FillInfo >::compute(), and setTargetBunches().
|
friend |
Definition at line 155 of file FillInfo.h.
|
friend |
Definition at line 155 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 148 of file FillInfo.h.
Referenced by beginTime(), print(), setBeginTime(), and setFill().
|
private |
Definition at line 147 of file FillInfo.h.
Referenced by betaStar(), print(), setBetaStar(), and setFill().
|
private |
Definition at line 153 of file FillInfo.h.
Referenced by bunchBitsetForBeam1(), bunchConfigurationForBeam1(), isBunchInBeam1(), setBunchBitsetForBeam1(), and setFill().
|
private |
Definition at line 153 of file FillInfo.h.
Referenced by bunchBitsetForBeam2(), bunchConfigurationForBeam2(), isBunchInBeam2(), setBunchBitsetForBeam2(), and setFill().
|
private |
Definition at line 144 of file FillInfo.h.
Referenced by bunchesInBeam1(), print(), setBunchesInBeam1(), and setFill().
|
private |
Definition at line 144 of file FillInfo.h.
Referenced by bunchesInBeam2(), print(), setBunchesInBeam2(), and setFill().
|
private |
Definition at line 144 of file FillInfo.h.
Referenced by collidingBunches(), print(), setCollidingBunches(), and setFill().
|
private |
Definition at line 148 of file FillInfo.h.
Referenced by createTime(), print(), setCreationTime(), and setFill().
|
private |
Definition at line 147 of file FillInfo.h.
Referenced by crossingAngle(), print(), setCrossingAngle(), and setFill().
|
private |
Definition at line 148 of file FillInfo.h.
Referenced by endTime(), print(), setEndTime(), and setFill().
|
private |
Definition at line 147 of file FillInfo.h.
Referenced by energy(), print(), setEnergy(), and setFill().
|
private |
Definition at line 145 of file FillInfo.h.
Referenced by fillType(), print(), setFill(), and setFillType().
|
private |
Definition at line 149 of file FillInfo.h.
Referenced by injectionScheme(), print(), setFill(), and setInjectionScheme().
|
private |
Definition at line 147 of file FillInfo.h.
Referenced by intensityForBeam1(), print(), setFill(), and setIntensityForBeam1().
|
private |
Definition at line 147 of file FillInfo.h.
Referenced by intensityForBeam2(), print(), setFill(), and setIntensityForBeam2().
|
private |
Definition at line 142 of file FillInfo.h.
|
private |
Definition at line 143 of file FillInfo.h.
Referenced by fillNumber(), print(), and setFill().
|
private |
Definition at line 146 of file FillInfo.h.
Referenced by particleTypeForBeam1(), print(), setFill(), and setParticleTypeForBeam1().
|
private |
Definition at line 146 of file FillInfo.h.
Referenced by particleTypeForBeam2(), print(), setFill(), and setParticleTypeForBeam2().
|
private |
Definition at line 144 of file FillInfo.h.
Referenced by print(), setFill(), setTargetBunches(), and targetBunches().