1 #ifndef CondFormats_RunInfo_FillInfo_H 2 #define CondFormats_RunInfo_FillInfo_H 20 FillInfo(
unsigned short const &lhcFill,
bool const &fromData =
true);
30 void setFill(
unsigned short const &lhcFill,
bool const &fromData =
true);
59 float const energy()
const;
118 unsigned short const &bunches2,
126 float const &intensity1,
127 float const &intensity2,
133 std::bitset<bunchSlots + 1>
const &bunchConf1,
134 std::bitset<bunchSlots + 1>
const &bunchConf2);
137 void print(std::stringstream &
ss)
const;
167 #endif // CondFormats_RunInfo_FillInfo_H float const intensityForBeam2() const
ParticleTypeId m_particles1
float const crossingAngle() const
void setBetaStar(float const &betaStar)
void setCrossingAngle(float const &angle)
std::bitset< bunchSlots+1 > m_bunchConfiguration2
std::vector< unsigned short > bunchConfigurationForBeam2() const
unsigned short m_bunches1
unsigned short const fillNumber() const
unsigned short m_bunches2
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)
bool isBunchInBeam1(size_t const &bunch) const
void setCollidingBunches(unsigned short const &collidingBunches)
std::ostream & operator<<(std::ostream &, FillInfo fillInfo)
float const energy() const
void setBunchBitsetForBeam2(std::bitset< bunchSlots+1 > const &bunchConfiguration)
void setIntensityForBeam2(float const &intensity)
void setBunchBitsetForBeam1(std::bitset< bunchSlots+1 > const &bunchConfiguration)
unsigned short const bunchesInBeam2() const
void setFillType(FillTypeId const &fillType)
static size_t const availableBunchSlots
void setIntensityForBeam1(float const &intensity)
std::string m_injectionScheme
void setBunchesInBeam1(unsigned short const &bunches)
ParticleTypeId const particleTypeForBeam2() const
cond::Time_t const beginTime() const
std::bitset< bunchSlots+1 > m_bunchConfiguration1
ParticleType ParticleTypeId
cond::Time_t const endTime() const
unsigned short const collidingBunches() const
unsigned long long Time_t
std::bitset< bunchSlots+1 > const & bunchBitsetForBeam1() const
void setParticleTypeForBeam2(ParticleTypeId const &particleType)
void setEndTime(cond::Time_t const &endTime)
unsigned short m_targetBunches
bool isBunchInBeam2(size_t const &bunch) const
void setTargetBunches(unsigned short const &targetBunches)
std::vector< unsigned short > bunchConfigurationForBeam1() const
bool is25nsBunchSpacing() const
void print(std::stringstream &ss) const
void setFill(unsigned short const &lhcFill, bool const &fromData=true)
static size_t const bunchSlots
FillTypeId const fillType() const
unsigned short m_collidingBunches
#define COND_SERIALIZABLE
void setParticleTypeForBeam1(ParticleTypeId const &particleType)
float const intensityForBeam1() const
std::bitset< bunchSlots+1 > const & bunchBitsetForBeam2() const
cond::Time_t m_createTime
cond::Time_t const createTime() const
unsigned short const bunchesInBeam1() const
void setBeginTime(cond::Time_t const &beginTime)
std::string const & injectionScheme() const
ParticleTypeId const particleTypeForBeam1() const
void setBunchesInBeam2(unsigned short const &bunches)
ParticleTypeId m_particles2
void setEnergy(float const &energy)
float const betaStar() const
unsigned short const targetBunches() const
bool const isData() const
void setCreationTime(cond::Time_t const &createTime)
void setInjectionScheme(std::string const &injectionScheme)
T angle(T x1, T y1, T z1, T x2, T y2, T z2)