1 #ifndef CondFormats_RunInfo_LHCInfo_H 2 #define CondFormats_RunInfo_LHCInfo_H 18 enum FloatParamIndex {
CROSSING_ANGLE = 0,
BETA_STAR = 1,
INTENSITY_1 = 2,
INTENSITY_2 = 3,
ENERGY = 4,
DELIV_LUMI = 5,
REC_LUMI = 7,
LUMI_PER_B = 8,
BEAM1_VC = 9,
BEAM2_VC = 10,
BEAM1_RF = 11,
BEAM2_RF = 12,
INST_LUMI = 13,
INST_LUMI_ERR = 14,
FSIZE = 15};
63 float const energy()
const;
81 std::vector<float>
const &
lumiPerBX()
const;
91 std::vector<float>
const &
beam1VC()
const;
93 std::vector<float>
const &
beam2VC()
const;
95 std::vector<float>
const &
beam1RF()
const;
97 std::vector<float>
const &
beam2RF()
const;
181 void setInfo(
unsigned short const & bunches1
182 ,
unsigned short const & bunches2
186 ,ParticleTypeId
const & particleType1
187 ,ParticleTypeId
const & particleType2
190 ,
float const & intensity1
191 ,
float const & intensity2
206 ,std::vector<float>
const &
beam1VC 207 ,std::vector<float>
const &
beam2VC 208 ,std::vector<float>
const &
beam1RF 209 ,std::vector<float>
const &
beam2RF 210 ,std::bitset<bunchSlots+1>
const & bunchConf1
211 ,std::bitset<bunchSlots+1>
const & bunchConf2 );
218 void print(std::stringstream & ss)
const;
241 #endif // CondFormats_RunInfo_LHCInfo_H bool equals(const LHCInfo &rhs) const
std::string const & lhcState() const
void setBeam1RF(std::vector< float > const &beam1RF)
cond::Time_t const beginTime() const
void setLumiSection(unsigned int const &lumiSection)
unsigned short const bunchesInBeam1() const
void setBeginTime(cond::Time_t const &beginTime)
std::bitset< bunchSlots+1 > const & bunchBitsetForBeam1() const
void print(std::stringstream &ss) const
void setInstLumi(float const &instLumi)
void setEnergy(float const &energy)
FillTypeId const fillType() const
bool isBunchInBeam1(size_t const &bunch) const
LHCInfo * cloneFill() const
void setInstLumiError(float const &instLumiError)
void setParticleTypeForBeam2(ParticleTypeId const &particleType)
unsigned short const targetBunches() const
std::string const & injectionScheme() const
std::bitset< bunchSlots+1 > m_bunchConfiguration1
void setDelivLumi(float const &delivLumi)
std::string const & ctppsStatus() const
void setBeam1VC(std::vector< float > const &beam1VC)
std::vector< std::vector< float > > m_floatParams
void setBunchesInBeam1(unsigned short const &bunches)
void setLhcComment(std::string const &lhcComment)
std::vector< std::vector< unsigned long long > > m_timeParams
float const delivLumi() const
void setFillNumber(unsigned short lhcFill)
float const crossingAngle() const
float const instLumiError() const
bool is25nsBunchSpacing() const
unsigned long long Time_t
std::string const & lhcComment() const
void setBetaStar(float const &betaStar)
std::vector< float > const & beam1VC() const
std::vector< float > const & beam2RF() const
unsigned short const bunchesInBeam2() const
bool isBunchInBeam2(size_t const &bunch) const
void setLumiPerBX(std::vector< float > const &lumiPerBX)
void setBunchesInBeam2(unsigned short const &bunches)
std::vector< float > const & beam1RF() const
float const intensityForBeam2() const
void setBeam2RF(std::vector< float > const &beam2RF)
void setLhcState(std::string const &lhcState)
void setBeam2VC(std::vector< float > const &beam2VC)
void setCollidingBunches(unsigned short const &collidingBunches)
std::vector< std::vector< unsigned int > > m_intParams
unsigned int const & lumiSection() const
ParticleType ParticleTypeId
void setRecLumi(float const &recLumi)
static size_t const availableBunchSlots
float const instLumi() const
cond::Time_t const endTime() const
void setInfo(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, float const &delivLumi, float const &recLumi, float const &instLumi, float const &instLumiError, cond::Time_t const &createTime, cond::Time_t const &beginTime, cond::Time_t const &endTime, std::string const &scheme, std::vector< float > const &lumiPerBX, std::string const &lhcState, std::string const &lhcComment, std::string const &ctppsStatus, unsigned int const &lumiSection, std::vector< float > const &beam1VC, std::vector< float > const &beam2VC, std::vector< float > const &beam1RF, std::vector< float > const &beam2RF, std::bitset< bunchSlots+1 > const &bunchConf1, std::bitset< bunchSlots+1 > const &bunchConf2)
void setParticleTypeForBeam1(ParticleTypeId const &particleType)
void setInjectionScheme(std::string const &injectionScheme)
std::vector< float > const & beam2VC() const
std::vector< float > const & lumiPerBX() const
ParticleTypeId const particleTypeForBeam1() const
#define COND_SERIALIZABLE
void setCreationTime(cond::Time_t const &createTime)
void setTargetBunches(unsigned short const &targetBunches)
float const recLumi() const
void setCtppsStatus(std::string const &ctppsStatus)
std::bitset< bunchSlots+1 > const & bunchBitsetForBeam2() const
unsigned short const collidingBunches() const
float const betaStar() const
float const intensityForBeam1() const
float const energy() const
unsigned short const fillNumber() const
void setBunchBitsetForBeam1(std::bitset< bunchSlots+1 > const &bunchConfiguration)
void setBunchBitsetForBeam2(std::bitset< bunchSlots+1 > const &bunchConfiguration)
ParticleTypeId const particleTypeForBeam2() const
void setIntensityForBeam1(float const &intensity)
void setEndTime(cond::Time_t const &endTime)
std::ostream & operator<<(std::ostream &, LHCInfo lhcInfo)
void setIntensityForBeam2(float const &intensity)
std::bitset< bunchSlots+1 > m_bunchConfiguration2
void setFillType(FillTypeId const &fillType)
cond::Time_t const createTime() const
void setCrossingAngle(float const &angle)
std::vector< unsigned short > bunchConfigurationForBeam2() const
static size_t const bunchSlots
std::vector< unsigned short > bunchConfigurationForBeam1() const
std::vector< std::vector< std::string > > m_stringParams
T angle(T x1, T y1, T z1, T x2, T y2, T z2)