#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 | |
const cond::Time_t | beginTime () const |
const float | betaStar () const |
std::vector< unsigned short > | bunchConfigurationForBeam1 () const |
std::vector< unsigned short > | bunchConfigurationForBeam2 () const |
unsigned const short | bunchesInBeam1 () const |
unsigned const short | bunchesInBeam2 () const |
unsigned const short | collidingBunches () const |
const cond::Time_t | createTime () const |
const float | crossingAngle () const |
const cond::Time_t | endTime () const |
const float | energy () const |
FillInfo () | |
FillInfo (unsigned short const &lhcFill, bool const &fromData=true) | |
unsigned const short | fillNumber () const |
const FillTypeId | fillType () const |
const std::string & | injectionScheme () const |
const float | intensityForBeam1 () const |
const float | intensityForBeam2 () const |
bool | is25nsBunchSpacing () const |
bool | isBunchInBeam1 (size_t const &bunch) const |
bool | isBunchInBeam2 (size_t const &bunch) const |
const bool | isData () const |
const ParticleTypeId | particleTypeForBeam1 () const |
const ParticleTypeId | 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 const short | targetBunches () const |
~FillInfo () | |
Static Public Attributes | |
static const size_t | availableBunchSlots = 2808 |
static const size_t | bunchSlots = 3564 |
Protected Member Functions | |
const std::bitset< bunchSlots+1 > & | bunchBitsetForBeam1 () const |
const std::bitset< bunchSlots+1 > & | 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 13 of file FillInfo.h.
typedef FillType FillInfo::FillTypeId |
Definition at line 17 of file FillInfo.h.
typedef ParticleType FillInfo::ParticleTypeId |
Definition at line 18 of file FillInfo.h.
enum FillInfo::FillType |
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.
const cond::Time_t FillInfo::beginTime | ( | ) | const |
const float FillInfo::betaStar | ( | ) | const |
|
protected |
|
protected |
std::vector< unsigned short > FillInfo::bunchConfigurationForBeam1 | ( | ) | const |
Definition at line 196 of file FillInfo.cc.
References bitsetToVector(), and m_bunchConfiguration1.
Referenced by print().
std::vector< unsigned short > FillInfo::bunchConfigurationForBeam2 | ( | ) | const |
Definition at line 200 of file FillInfo.cc.
References bitsetToVector(), and m_bunchConfiguration2.
Referenced by print().
unsigned const short FillInfo::bunchesInBeam1 | ( | ) | const |
unsigned const short FillInfo::bunchesInBeam2 | ( | ) | const |
unsigned const short FillInfo::collidingBunches | ( | ) | const |
Definition at line 147 of file FillInfo.cc.
References m_collidingBunches.
Referenced by setCollidingBunches().
const cond::Time_t FillInfo::createTime | ( | ) | const |
Definition at line 167 of file FillInfo.cc.
References m_createTime.
Referenced by setCreationTime().
const float FillInfo::crossingAngle | ( | ) | const |
const cond::Time_t FillInfo::endTime | ( | ) | const |
const float FillInfo::energy | ( | ) | const |
Definition at line 165 of file FillInfo.cc.
References m_energy.
Referenced by Jet.Jet::rawEnergy(), and setEnergy().
unsigned const short FillInfo::fillNumber | ( | ) | const |
const FillInfo::FillTypeId FillInfo::fillType | ( | ) | const |
std::string const & FillInfo::injectionScheme | ( | ) | const |
Definition at line 173 of file FillInfo.cc.
References m_injectionScheme.
Referenced by setInjectionScheme().
const float FillInfo::intensityForBeam1 | ( | ) | const |
const float FillInfo::intensityForBeam2 | ( | ) | const |
bool FillInfo::is25nsBunchSpacing | ( | ) | const |
Definition at line 177 of file FillInfo.cc.
References cond::serialization::equal(), m_injectionScheme, ZMuMuAnalysisNtupler_cff::prefix, and AlCaHLTBitMon_QueryRunRegistry::string.
bool FillInfo::isBunchInBeam1 | ( | size_t const & | bunch | ) | const |
bool FillInfo::isBunchInBeam2 | ( | size_t const & | bunch | ) | const |
const bool FillInfo::isData | ( | ) | const |
const FillInfo::ParticleTypeId FillInfo::particleTypeForBeam1 | ( | ) | const |
const FillInfo::ParticleTypeId FillInfo::particleTypeForBeam2 | ( | ) | const |
void FillInfo::print | ( | std::stringstream & | ss | ) | const |
Definition at line 276 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 238 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 231 of file FillInfo.cc.
References beginTime(), and m_beginTime.
Referenced by setBeamInfo().
void FillInfo::setBetaStar | ( | float const & | betaStar | ) |
Definition at line 221 of file FillInfo.cc.
References betaStar(), and m_betastar.
Referenced by setBeamInfo().
|
protected |
Definition at line 313 of file FillInfo.cc.
References m_bunchConfiguration1.
Referenced by setBeamInfo().
|
protected |
Definition at line 317 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 209 of file FillInfo.cc.
References collidingBunches(), and m_collidingBunches.
Referenced by setBeamInfo().
void FillInfo::setCreationTime | ( | cond::Time_t const & | createTime | ) |
Definition at line 229 of file FillInfo.cc.
References createTime(), and m_createTime.
Referenced by setBeamInfo().
void FillInfo::setCrossingAngle | ( | float const & | angle | ) |
Definition at line 219 of file FillInfo.cc.
References angle(), and m_crossingAngle.
Referenced by setBeamInfo().
void FillInfo::setEndTime | ( | cond::Time_t const & | endTime | ) |
Definition at line 233 of file FillInfo.cc.
References endTime(), and m_endTime.
Referenced by setBeamInfo().
void FillInfo::setEnergy | ( | float const & | energy | ) |
Definition at line 227 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 SiStripSubdetector::UNKNOWN.
void FillInfo::setFillType | ( | FillInfo::FillTypeId const & | fillType | ) |
Definition at line 213 of file FillInfo.cc.
References fillType(), and m_fillType.
Referenced by setBeamInfo().
void FillInfo::setInjectionScheme | ( | std::string const & | injectionScheme | ) |
Definition at line 235 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 215 of file FillInfo.cc.
References m_particles1, and PbPb_ZMuSkimMuonDPG_cff::particleType.
Referenced by setBeamInfo().
void FillInfo::setParticleTypeForBeam2 | ( | FillInfo::ParticleTypeId const & | particleType | ) |
Definition at line 217 of file FillInfo.cc.
References m_particles2, and PbPb_ZMuSkimMuonDPG_cff::particleType.
Referenced by setBeamInfo().
void FillInfo::setTargetBunches | ( | unsigned short const & | targetBunches | ) |
Definition at line 211 of file FillInfo.cc.
References m_targetBunches, and targetBunches().
Referenced by setBeamInfo().
unsigned const short FillInfo::targetBunches | ( | ) | const |
Definition at line 149 of file FillInfo.cc.
References m_targetBunches.
Referenced by setTargetBunches().
|
friend |
Definition at line 162 of file FillInfo.h.
|
friend |
Definition at line 162 of file FillInfo.h.
|
static |
Definition at line 27 of file FillInfo.h.
Referenced by FillInfoPopConSourceHandler::getNewObjects().
|
static |
Definition at line 24 of file FillInfo.h.
|
private |
Definition at line 155 of file FillInfo.h.
Referenced by beginTime(), print(), setBeginTime(), and setFill().
|
private |
Definition at line 154 of file FillInfo.h.
Referenced by betaStar(), print(), setBetaStar(), and setFill().
|
private |
Definition at line 160 of file FillInfo.h.
Referenced by bunchBitsetForBeam1(), bunchConfigurationForBeam1(), isBunchInBeam1(), setBunchBitsetForBeam1(), and setFill().
|
private |
Definition at line 160 of file FillInfo.h.
Referenced by bunchBitsetForBeam2(), bunchConfigurationForBeam2(), isBunchInBeam2(), setBunchBitsetForBeam2(), and setFill().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by bunchesInBeam1(), print(), setBunchesInBeam1(), and setFill().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by bunchesInBeam2(), print(), setBunchesInBeam2(), and setFill().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by collidingBunches(), print(), setCollidingBunches(), and setFill().
|
private |
Definition at line 155 of file FillInfo.h.
Referenced by createTime(), print(), setCreationTime(), and setFill().
|
private |
Definition at line 154 of file FillInfo.h.
Referenced by crossingAngle(), print(), setCrossingAngle(), and setFill().
|
private |
Definition at line 155 of file FillInfo.h.
Referenced by endTime(), print(), setEndTime(), and setFill().
|
private |
Definition at line 154 of file FillInfo.h.
Referenced by energy(), print(), setEnergy(), and setFill().
|
private |
Definition at line 152 of file FillInfo.h.
Referenced by fillType(), print(), setFill(), and setFillType().
|
private |
Definition at line 156 of file FillInfo.h.
Referenced by injectionScheme(), is25nsBunchSpacing(), print(), setFill(), and setInjectionScheme().
|
private |
Definition at line 154 of file FillInfo.h.
Referenced by intensityForBeam1(), print(), setFill(), and setIntensityForBeam1().
|
private |
Definition at line 154 of file FillInfo.h.
Referenced by intensityForBeam2(), print(), setFill(), and setIntensityForBeam2().
|
private |
Definition at line 149 of file FillInfo.h.
|
private |
Definition at line 150 of file FillInfo.h.
Referenced by fillNumber(), print(), and setFill().
|
private |
Definition at line 153 of file FillInfo.h.
Referenced by particleTypeForBeam1(), print(), setFill(), and setParticleTypeForBeam1().
|
private |
Definition at line 153 of file FillInfo.h.
Referenced by particleTypeForBeam2(), print(), setFill(), and setParticleTypeForBeam2().
|
private |
Definition at line 151 of file FillInfo.h.
Referenced by print(), setFill(), setTargetBunches(), and targetBunches().