CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends
LHCInfo Class Reference

#include <LHCInfo.h>

Public Types

enum  FillType {
  UNKNOWN = 0, PROTONS = 1, IONS = 2, COSMICS = 3,
  GAP = 4
}
 
typedef FillType FillTypeId
 
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
}
 
enum  IntParamIndex {
  LHC_FILL = 0, BUNCHES_1 = 1, BUNCHES_2 = 2, COLLIDING_BUNCHES = 3,
  TARGET_BUNCHES = 4, FILL_TYPE = 5, PARTICLES_1 = 6, PARTICLES_2 = 7,
  LUMI_SECTION = 8, ISIZE = 9
}
 
enum  ParticleType {
  NONE = 0, PROTON = 1, PB82 = 2, AR18 = 3,
  D = 4, XE54 = 5
}
 
typedef ParticleType ParticleTypeId
 
enum  StringParamIndex {
  INJECTION_SCHEME = 0, LHC_STATE = 1, LHC_COMMENT = 2, CTPPS_STATUS = 3,
  SSIZE = 4
}
 
enum  TimeParamIndex { CREATE_TIME = 0, BEGIN_TIME = 1, END_TIME = 2, TSIZE = 3 }
 

Public Member Functions

std::vector< float > & beam1RF ()
 
std::vector< float > const & beam1RF () const
 
std::vector< float > & beam1VC ()
 
std::vector< float > const & beam1VC () const
 
std::vector< float > & beam2RF ()
 
std::vector< float > const & beam2RF () const
 
std::vector< float > & beam2VC ()
 
std::vector< float > const & beam2VC () const
 
const cond::Time_t beginTime () const
 
const float betaStar () const
 
std::bitset< bunchSlots+1 > const & bunchBitsetForBeam1 () const
 
std::bitset< bunchSlots+1 > const & bunchBitsetForBeam2 () const
 
std::vector< unsigned short > bunchConfigurationForBeam1 () const
 
std::vector< unsigned short > bunchConfigurationForBeam2 () const
 
unsigned const short bunchesInBeam1 () const
 
unsigned const short bunchesInBeam2 () const
 
LHCInfocloneFill () const
 
unsigned const short collidingBunches () const
 
const cond::Time_t createTime () const
 
const float crossingAngle () const
 
std::string const & ctppsStatus () const
 
const float delivLumi () const
 
bool empty () const
 
const cond::Time_t endTime () const
 
const float energy () const
 
bool equals (const LHCInfo &rhs) const
 
unsigned const short fillNumber () const
 
const FillTypeId fillType () const
 
std::string const & injectionScheme () const
 
const float instLumi () const
 
const float instLumiError () 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
 
std::string const & lhcComment () const
 
 LHCInfo ()
 
 LHCInfo (const LHCInfo &rhs)
 
std::string const & lhcState () const
 
std::vector< float > const & lumiPerBX () const
 
unsigned int const & lumiSection () const
 
const ParticleTypeId particleTypeForBeam1 () const
 
const ParticleTypeId particleTypeForBeam2 () const
 
void print (std::stringstream &ss) const
 
const float recLumi () const
 
void setBeam1RF (std::vector< float > const &beam1RF)
 
void setBeam1VC (std::vector< float > const &beam1VC)
 
void setBeam2RF (std::vector< float > const &beam2RF)
 
void setBeam2VC (std::vector< float > const &beam2VC)
 
void setBeginTime (cond::Time_t const &beginTime)
 
void setBetaStar (float const &betaStar)
 
void setBunchBitsetForBeam1 (std::bitset< bunchSlots+1 > const &bunchConfiguration)
 
void setBunchBitsetForBeam2 (std::bitset< bunchSlots+1 > const &bunchConfiguration)
 
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 setCtppsStatus (std::string const &ctppsStatus)
 
void setDelivLumi (float const &delivLumi)
 
void setEndTime (cond::Time_t const &endTime)
 
void setEnergy (float const &energy)
 
void setFillNumber (unsigned short lhcFill)
 
void setFillType (FillTypeId const &fillType)
 
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 setInjectionScheme (std::string const &injectionScheme)
 
void setInstLumi (float const &instLumi)
 
void setInstLumiError (float const &instLumiError)
 
void setIntensityForBeam1 (float const &intensity)
 
void setIntensityForBeam2 (float const &intensity)
 
void setLhcComment (std::string const &lhcComment)
 
void setLhcState (std::string const &lhcState)
 
void setLumiPerBX (std::vector< float > const &lumiPerBX)
 
void setLumiSection (unsigned int const &lumiSection)
 
void setParticleTypeForBeam1 (ParticleTypeId const &particleType)
 
void setParticleTypeForBeam2 (ParticleTypeId const &particleType)
 
void setRecLumi (float const &recLumi)
 
void setTargetBunches (unsigned short const &targetBunches)
 
unsigned const short targetBunches () const
 
 ~LHCInfo ()
 

Static Public Attributes

static const size_t availableBunchSlots = 2808
 
static const size_t bunchSlots = 3564
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::bitset< bunchSlots+1 > m_bunchConfiguration1
 
std::bitset< bunchSlots+1 > m_bunchConfiguration2
 
std::vector< std::vector< float > > m_floatParams
 
std::vector< std::vector< unsigned int > > m_intParams
 
bool m_isData = false
 
std::vector< std::vector< std::string > > m_stringParams
 
std::vector< std::vector< unsigned long long > > m_timeParams
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 12 of file LHCInfo.h.

Member Typedef Documentation

◆ FillTypeId

Definition at line 49 of file LHCInfo.h.

◆ ParticleTypeId

Definition at line 50 of file LHCInfo.h.

Member Enumeration Documentation

◆ FillType

Enumerator
UNKNOWN 
PROTONS 
IONS 
COSMICS 
GAP 

Definition at line 14 of file LHCInfo.h.

14 { UNKNOWN = 0, PROTONS = 1, IONS = 2, COSMICS = 3, GAP = 4 };

◆ FloatParamIndex

Enumerator
CROSSING_ANGLE 
BETA_STAR 
INTENSITY_1 
INTENSITY_2 
ENERGY 
DELIV_LUMI 
REC_LUMI 
LUMI_PER_B 
BEAM1_VC 
BEAM2_VC 
BEAM1_RF 
BEAM2_RF 
INST_LUMI 
INST_LUMI_ERR 
FSIZE 

Definition at line 29 of file LHCInfo.h.

29  {
30  CROSSING_ANGLE = 0,
31  BETA_STAR = 1,
32  INTENSITY_1 = 2,
33  INTENSITY_2 = 3,
34  ENERGY = 4,
35  DELIV_LUMI = 5,
36  REC_LUMI = 7,
37  LUMI_PER_B = 8,
38  BEAM1_VC = 9,
39  BEAM2_VC = 10,
40  BEAM1_RF = 11,
41  BEAM2_RF = 12,
42  INST_LUMI = 13,
43  INST_LUMI_ERR = 14,
44  FSIZE = 15
45  };

◆ IntParamIndex

Enumerator
LHC_FILL 
BUNCHES_1 
BUNCHES_2 
COLLIDING_BUNCHES 
TARGET_BUNCHES 
FILL_TYPE 
PARTICLES_1 
PARTICLES_2 
LUMI_SECTION 
ISIZE 

Definition at line 17 of file LHCInfo.h.

17  {
18  LHC_FILL = 0,
19  BUNCHES_1 = 1,
20  BUNCHES_2 = 2,
22  TARGET_BUNCHES = 4,
23  FILL_TYPE = 5,
24  PARTICLES_1 = 6,
25  PARTICLES_2 = 7,
26  LUMI_SECTION = 8,
27  ISIZE = 9
28  };

◆ ParticleType

Enumerator
NONE 
PROTON 
PB82 
AR18 
XE54 

Definition at line 15 of file LHCInfo.h.

15 { NONE = 0, PROTON = 1, PB82 = 2, AR18 = 3, D = 4, XE54 = 5 };

◆ StringParamIndex

Enumerator
INJECTION_SCHEME 
LHC_STATE 
LHC_COMMENT 
CTPPS_STATUS 
SSIZE 

Definition at line 47 of file LHCInfo.h.

47 { INJECTION_SCHEME = 0, LHC_STATE = 1, LHC_COMMENT = 2, CTPPS_STATUS = 3, SSIZE = 4 };

◆ TimeParamIndex

Enumerator
CREATE_TIME 
BEGIN_TIME 
END_TIME 
TSIZE 

Definition at line 46 of file LHCInfo.h.

46 { CREATE_TIME = 0, BEGIN_TIME = 1, END_TIME = 2, TSIZE = 3 };

Constructor & Destructor Documentation

◆ LHCInfo() [1/2]

LHCInfo::LHCInfo ( )

Definition at line 73 of file LHCInfo.cc.

73  {
74  m_intParams.resize(ISIZE, std::vector<unsigned int>(1, 0));
75  m_floatParams.resize(FSIZE, std::vector<float>(1, 0.));
76  m_floatParams[LUMI_PER_B] = std::vector<float>();
77  m_floatParams[BEAM1_VC] = std::vector<float>();
78  m_floatParams[BEAM2_VC] = std::vector<float>();
79  m_floatParams[BEAM1_RF] = std::vector<float>();
80  m_floatParams[BEAM2_RF] = std::vector<float>();
81  m_timeParams.resize(TSIZE, std::vector<unsigned long long>(1, 0ULL));
82  m_stringParams.resize(SSIZE, std::vector<std::string>(1, ""));
83  m_stringParams[INJECTION_SCHEME].push_back(std::string("None"));
84 }

References BEAM1_RF, BEAM1_VC, BEAM2_RF, BEAM2_VC, FSIZE, INJECTION_SCHEME, ISIZE, LUMI_PER_B, m_floatParams, m_intParams, m_stringParams, m_timeParams, SSIZE, AlCaHLTBitMon_QueryRunRegistry::string, and TSIZE.

Referenced by cloneFill().

◆ LHCInfo() [2/2]

LHCInfo::LHCInfo ( const LHCInfo rhs)

◆ ~LHCInfo()

LHCInfo::~LHCInfo ( )

Definition at line 94 of file LHCInfo.cc.

94 {}

Member Function Documentation

◆ beam1RF() [1/2]

std::vector< float > & LHCInfo::beam1RF ( )

Definition at line 232 of file LHCInfo.cc.

References LHCInfoImpl::accessParams(), BEAM1_RF, and m_floatParams.

◆ beam1RF() [2/2]

std::vector< float > const & LHCInfo::beam1RF ( ) const

Definition at line 224 of file LHCInfo.cc.

References BEAM1_RF, LHCInfoImpl::getParams(), and m_floatParams.

Referenced by print(), and setBeam1RF().

◆ beam1VC() [1/2]

std::vector< float > & LHCInfo::beam1VC ( )

Definition at line 228 of file LHCInfo.cc.

References LHCInfoImpl::accessParams(), BEAM1_VC, and m_floatParams.

◆ beam1VC() [2/2]

std::vector< float > const & LHCInfo::beam1VC ( ) const

Definition at line 220 of file LHCInfo.cc.

References BEAM1_VC, LHCInfoImpl::getParams(), and m_floatParams.

Referenced by print(), and setBeam1VC().

◆ beam2RF() [1/2]

std::vector< float > & LHCInfo::beam2RF ( )

Definition at line 234 of file LHCInfo.cc.

References LHCInfoImpl::accessParams(), BEAM2_RF, and m_floatParams.

◆ beam2RF() [2/2]

std::vector< float > const & LHCInfo::beam2RF ( ) const

Definition at line 226 of file LHCInfo.cc.

References BEAM2_RF, LHCInfoImpl::getParams(), and m_floatParams.

Referenced by print(), and setBeam2RF().

◆ beam2VC() [1/2]

std::vector< float > & LHCInfo::beam2VC ( )

Definition at line 230 of file LHCInfo.cc.

References LHCInfoImpl::accessParams(), BEAM2_VC, and m_floatParams.

◆ beam2VC() [2/2]

std::vector< float > const & LHCInfo::beam2VC ( ) const

Definition at line 222 of file LHCInfo.cc.

References BEAM2_VC, LHCInfoImpl::getParams(), and m_floatParams.

Referenced by print(), and setBeam2VC().

◆ beginTime()

const cond::Time_t LHCInfo::beginTime ( ) const

Definition at line 202 of file LHCInfo.cc.

References BEGIN_TIME, LHCInfoImpl::getOneParam(), and m_timeParams.

Referenced by print(), and setBeginTime().

◆ betaStar()

const float LHCInfo::betaStar ( ) const

◆ bunchBitsetForBeam1()

std::bitset< LHCInfo::bunchSlots+1 > const & LHCInfo::bunchBitsetForBeam1 ( ) const

Definition at line 500 of file LHCInfo.cc.

500 { return m_bunchConfiguration1; }

References m_bunchConfiguration1.

◆ bunchBitsetForBeam2()

std::bitset< LHCInfo::bunchSlots+1 > const & LHCInfo::bunchBitsetForBeam2 ( ) const

Definition at line 502 of file LHCInfo.cc.

502 { return m_bunchConfiguration2; }

References m_bunchConfiguration2.

◆ bunchConfigurationForBeam1()

std::vector< unsigned short > LHCInfo::bunchConfigurationForBeam1 ( ) const

Definition at line 257 of file LHCInfo.cc.

257  {
259 }

References bitsetToVector(), and m_bunchConfiguration1.

Referenced by print().

◆ bunchConfigurationForBeam2()

std::vector< unsigned short > LHCInfo::bunchConfigurationForBeam2 ( ) const

Definition at line 261 of file LHCInfo.cc.

261  {
263 }

References bitsetToVector(), and m_bunchConfiguration2.

Referenced by print().

◆ bunchesInBeam1()

unsigned const short LHCInfo::bunchesInBeam1 ( ) const

Definition at line 160 of file LHCInfo.cc.

References BUNCHES_1, LHCInfoImpl::getOneParam(), and m_intParams.

Referenced by print().

◆ bunchesInBeam2()

unsigned const short LHCInfo::bunchesInBeam2 ( ) const

Definition at line 162 of file LHCInfo.cc.

References BUNCHES_2, LHCInfoImpl::getOneParam(), and m_intParams.

Referenced by print().

◆ cloneFill()

LHCInfo * LHCInfo::cloneFill ( ) const

Definition at line 96 of file LHCInfo.cc.

96  {
97  LHCInfo* ret = new LHCInfo();
98  ret->m_isData = m_isData;
99  if (!m_intParams[0].empty()) {
100  for (size_t i = 0; i < LUMI_SECTION; i++)
101  ret->m_intParams[i] = m_intParams[i];
102  for (size_t i = 0; i < DELIV_LUMI; i++)
103  ret->m_floatParams[i] = m_floatParams[i];
104  ret->m_floatParams[LUMI_PER_B] = m_floatParams[LUMI_PER_B];
105  for (size_t i = 0; i < TSIZE; i++)
106  ret->m_timeParams[i] = m_timeParams[i];
107  for (size_t i = 0; i < LHC_STATE; i++)
108  ret->m_stringParams[i] = m_stringParams[i];
109  ret->m_bunchConfiguration1 = m_bunchConfiguration1;
110  ret->m_bunchConfiguration2 = m_bunchConfiguration2;
111  }
112  return ret;
113 }

References DELIV_LUMI, empty(), cms::cuda::for(), mps_fire::i, LHC_STATE, LHCInfo(), LUMI_PER_B, LUMI_SECTION, m_bunchConfiguration1, m_bunchConfiguration2, m_floatParams, m_intParams, m_isData, m_stringParams, m_timeParams, runTheMatrix::ret, and TSIZE.

◆ collidingBunches()

unsigned const short LHCInfo::collidingBunches ( ) const

Definition at line 164 of file LHCInfo.cc.

164  {
166 }

References COLLIDING_BUNCHES, LHCInfoImpl::getOneParam(), and m_intParams.

Referenced by print(), and setCollidingBunches().

◆ createTime()

const cond::Time_t LHCInfo::createTime ( ) const

Definition at line 200 of file LHCInfo.cc.

References CREATE_TIME, LHCInfoImpl::getOneParam(), and m_timeParams.

Referenced by print(), and setCreationTime().

◆ crossingAngle()

const float LHCInfo::crossingAngle ( ) const

◆ ctppsStatus()

std::string const & LHCInfo::ctppsStatus ( ) const

◆ delivLumi()

const float LHCInfo::delivLumi ( ) const

◆ empty()

bool LHCInfo::empty ( ) const

Definition at line 538 of file LHCInfo.cc.

538 { return m_intParams[0].empty(); }

References m_intParams.

Referenced by cloneFill().

◆ endTime()

const cond::Time_t LHCInfo::endTime ( ) const

Definition at line 204 of file LHCInfo.cc.

References END_TIME, LHCInfoImpl::getOneParam(), and m_timeParams.

Referenced by print(), and setEndTime().

◆ energy()

const float LHCInfo::energy ( ) const

◆ equals()

bool LHCInfo::equals ( const LHCInfo rhs) const

Definition at line 520 of file LHCInfo.cc.

520  {
521  if (m_isData != rhs.m_isData)
522  return false;
523  if (m_intParams != rhs.m_intParams)
524  return false;
525  if (m_floatParams != rhs.m_floatParams)
526  return false;
527  if (m_timeParams != rhs.m_timeParams)
528  return false;
529  if (m_stringParams != rhs.m_stringParams)
530  return false;
532  return false;
534  return false;
535  return true;
536 }

References m_bunchConfiguration1, m_bunchConfiguration2, m_floatParams, m_intParams, m_isData, m_stringParams, and m_timeParams.

◆ fillNumber()

unsigned const short LHCInfo::fillNumber ( ) const

◆ fillType()

const LHCInfo::FillTypeId LHCInfo::fillType ( ) const

Definition at line 170 of file LHCInfo.cc.

170  {
171  return static_cast<FillTypeId>(LHCInfoImpl::getOneParam(m_intParams, FILL_TYPE));
172 }

References FILL_TYPE, LHCInfoImpl::getOneParam(), and m_intParams.

Referenced by print(), and setFillType().

◆ injectionScheme()

std::string const & LHCInfo::injectionScheme ( ) const

◆ instLumi()

const float LHCInfo::instLumi ( ) const

◆ instLumiError()

const float LHCInfo::instLumiError ( ) const

◆ intensityForBeam1()

const float LHCInfo::intensityForBeam1 ( ) const

Definition at line 186 of file LHCInfo.cc.

References LHCInfoImpl::getOneParam(), INTENSITY_1, and m_floatParams.

Referenced by print().

◆ intensityForBeam2()

const float LHCInfo::intensityForBeam2 ( ) const

Definition at line 188 of file LHCInfo.cc.

References LHCInfoImpl::getOneParam(), INTENSITY_2, and m_floatParams.

Referenced by print().

◆ is25nsBunchSpacing()

bool LHCInfo::is25nsBunchSpacing ( ) const

Definition at line 238 of file LHCInfo.cc.

238  {
239  const std::string prefix("25ns");
240  return std::equal(prefix.begin(), prefix.end(), injectionScheme().begin());
241 }

References cond::serialization::equal(), injectionScheme(), ZMuMuAnalysisNtupler_cff::prefix, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ isBunchInBeam1()

bool LHCInfo::isBunchInBeam1 ( size_t const &  bunch) const

Definition at line 244 of file LHCInfo.cc.

244  {
245  if (bunch == 0)
246  throw std::out_of_range("0 not allowed"); //CMS starts counting bunch crossing from 1!
247  return m_bunchConfiguration1.test(bunch);
248 }

References m_bunchConfiguration1.

◆ isBunchInBeam2()

bool LHCInfo::isBunchInBeam2 ( size_t const &  bunch) const

Definition at line 250 of file LHCInfo.cc.

250  {
251  if (bunch == 0)
252  throw std::out_of_range("0 not allowed"); //CMS starts counting bunch crossing from 1!
253  return m_bunchConfiguration2.test(bunch);
254 }

References m_bunchConfiguration2.

◆ lhcComment()

std::string const & LHCInfo::lhcComment ( ) const

◆ lhcState()

std::string const & LHCInfo::lhcState ( ) const

◆ lumiPerBX()

std::vector< float > const & LHCInfo::lumiPerBX ( ) const

Definition at line 210 of file LHCInfo.cc.

References LHCInfoImpl::getParams(), LUMI_PER_B, and m_floatParams.

Referenced by print(), and setLumiPerBX().

◆ lumiSection()

unsigned int const & LHCInfo::lumiSection ( ) const

Definition at line 218 of file LHCInfo.cc.

References LHCInfoImpl::getOneParam(), LUMI_SECTION, and m_intParams.

Referenced by print(), and setLumiSection().

◆ particleTypeForBeam1()

const LHCInfo::ParticleTypeId LHCInfo::particleTypeForBeam1 ( ) const

Definition at line 174 of file LHCInfo.cc.

174  {
175  return static_cast<ParticleTypeId>(LHCInfoImpl::getOneParam(m_intParams, PARTICLES_1));
176 }

References LHCInfoImpl::getOneParam(), m_intParams, and PARTICLES_1.

Referenced by print().

◆ particleTypeForBeam2()

const LHCInfo::ParticleTypeId LHCInfo::particleTypeForBeam2 ( ) const

Definition at line 178 of file LHCInfo.cc.

178  {
179  return static_cast<ParticleTypeId>(LHCInfoImpl::getOneParam(m_intParams, PARTICLES_2));
180 }

References LHCInfoImpl::getOneParam(), m_intParams, and PARTICLES_2.

Referenced by print().

◆ print()

void LHCInfo::print ( std::stringstream &  ss) const

Definition at line 437 of file LHCInfo.cc.

437  {
438  ss << "LHC fill: " << this->fillNumber() << std::endl
439  << "Bunches in Beam 1: " << this->bunchesInBeam1() << std::endl
440  << "Bunches in Beam 2: " << this->bunchesInBeam2() << std::endl
441  << "Colliding bunches at IP5: " << this->collidingBunches() << std::endl
442  << "Target bunches at IP5: " << this->targetBunches() << std::endl
443  << "Fill type: " << fillTypeToString(static_cast<FillTypeId>(this->fillType())) << std::endl
444  << "Particle type for Beam 1: " << particleTypeToString(static_cast<ParticleTypeId>(this->particleTypeForBeam1()))
445  << std::endl
446  << "Particle type for Beam 2: " << particleTypeToString(static_cast<ParticleTypeId>(this->particleTypeForBeam2()))
447  << std::endl
448  << "Crossing angle (urad): " << this->crossingAngle() << std::endl
449  << "Beta star (cm): " << this->betaStar() << std::endl
450  << "Average Intensity for Beam 1 (number of charges): " << this->intensityForBeam1() << std::endl
451  << "Average Intensity for Beam 2 (number of charges): " << this->intensityForBeam2() << std::endl
452  << "Energy (GeV): " << this->energy() << std::endl
453  << "Delivered Luminosity (max): " << this->delivLumi() << std::endl
454  << "Recorded Luminosity (max): " << this->recLumi() << std::endl
455  << "Instantaneous Luminosity: " << this->instLumi() << std::endl
456  << "Instantaneous Luminosity Error: " << this->instLumiError() << std::endl
457  << "Creation time of the fill: "
458  << boost::posix_time::to_iso_extended_string(cond::time::to_boost(this->createTime())) << std::endl
459  << "Begin time of Stable Beam flag: "
460  << boost::posix_time::to_iso_extended_string(cond::time::to_boost(this->beginTime())) << std::endl
461  << "End time of the fill: " << boost::posix_time::to_iso_extended_string(cond::time::to_boost(this->endTime()))
462  << std::endl
463  << "Injection scheme as given by LPC: " << this->injectionScheme() << std::endl
464  << "LHC State: " << this->lhcState() << std::endl
465  << "LHC Comments: " << this->lhcComment() << std::endl
466  << "CTPPS Status: " << this->ctppsStatus() << std::endl
467  << "Lumi section: " << this->lumiSection() << std::endl;
468 
469  ss << "Luminosity per bunch (total " << this->lumiPerBX().size() << "): ";
470  std::copy(this->lumiPerBX().begin(), this->lumiPerBX().end(), std::ostream_iterator<float>(ss, ", "));
471  ss << std::endl;
472 
473  ss << "Beam 1 VC (total " << this->beam1VC().size() << "): ";
474  std::copy(this->beam1VC().begin(), this->beam1VC().end(), std::ostream_iterator<float>(ss, "\t"));
475  ss << std::endl;
476 
477  ss << "Beam 2 VC (total " << beam2VC().size() << "): ";
478  std::copy(beam2VC().begin(), beam2VC().end(), std::ostream_iterator<float>(ss, "\t"));
479  ss << std::endl;
480 
481  ss << "Beam 1 RF (total " << beam1RF().size() << "): ";
482  std::copy(beam1RF().begin(), beam1RF().end(), std::ostream_iterator<float>(ss, "\t"));
483  ss << std::endl;
484 
485  ss << "Beam 2 RF (total " << beam2RF().size() << "): ";
486  std::copy(beam2RF().begin(), beam2RF().end(), std::ostream_iterator<float>(ss, "\t"));
487  ss << std::endl;
488 
489  std::vector<unsigned short> bunchVector1 = this->bunchConfigurationForBeam1();
490  std::vector<unsigned short> bunchVector2 = this->bunchConfigurationForBeam2();
491  ss << "Bunches filled for Beam 1 (total " << bunchVector1.size() << "): ";
492  std::copy(bunchVector1.begin(), bunchVector1.end(), std::ostream_iterator<unsigned short>(ss, ", "));
493  ss << std::endl;
494  ss << "Bunches filled for Beam 2 (total " << bunchVector2.size() << "): ";
495  std::copy(bunchVector2.begin(), bunchVector2.end(), std::ostream_iterator<unsigned short>(ss, ", "));
496  ss << std::endl;
497 }

References beam1RF(), beam1VC(), beam2RF(), beam2VC(), beginTime(), betaStar(), bunchConfigurationForBeam1(), bunchConfigurationForBeam2(), bunchesInBeam1(), bunchesInBeam2(), collidingBunches(), filterCSVwithJSON::copy, createTime(), crossingAngle(), ctppsStatus(), delivLumi(), mps_fire::end, endTime(), energy(), fillNumber(), fillType(), fillTypeToString(), injectionScheme(), instLumi(), instLumiError(), intensityForBeam1(), intensityForBeam2(), lhcComment(), lhcState(), lumiPerBX(), lumiSection(), particleTypeForBeam1(), particleTypeForBeam2(), particleTypeToString(), recLumi(), contentValuesCheck::ss, targetBunches(), and cond::time::to_boost().

Referenced by operator<<().

◆ recLumi()

const float LHCInfo::recLumi ( ) const

◆ serialize()

template<class Archive >
void LHCInfo::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setBeam1RF()

void LHCInfo::setBeam1RF ( std::vector< float > const &  beam1RF)

Definition at line 364 of file LHCInfo.cc.

References BEAM1_RF, beam1RF(), m_floatParams, and LHCInfoImpl::setParams().

Referenced by setInfo().

◆ setBeam1VC()

void LHCInfo::setBeam1VC ( std::vector< float > const &  beam1VC)

Definition at line 356 of file LHCInfo.cc.

References BEAM1_VC, beam1VC(), m_floatParams, and LHCInfoImpl::setParams().

Referenced by setInfo().

◆ setBeam2RF()

void LHCInfo::setBeam2RF ( std::vector< float > const &  beam2RF)

Definition at line 368 of file LHCInfo.cc.

References BEAM2_RF, beam2RF(), m_floatParams, and LHCInfoImpl::setParams().

Referenced by setInfo().

◆ setBeam2VC()

void LHCInfo::setBeam2VC ( std::vector< float > const &  beam2VC)

Definition at line 360 of file LHCInfo.cc.

References BEAM2_VC, beam2VC(), m_floatParams, and LHCInfoImpl::setParams().

Referenced by setInfo().

◆ setBeginTime()

void LHCInfo::setBeginTime ( cond::Time_t const &  beginTime)

Definition at line 326 of file LHCInfo.cc.

References BEGIN_TIME, beginTime(), m_timeParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setBetaStar()

void LHCInfo::setBetaStar ( float const &  betaStar)

◆ setBunchBitsetForBeam1()

void LHCInfo::setBunchBitsetForBeam1 ( std::bitset< bunchSlots+1 > const &  bunchConfiguration)

Definition at line 505 of file LHCInfo.cc.

505  {
506  m_bunchConfiguration1 = bunchConfiguration;
507 }

References m_bunchConfiguration1.

Referenced by setInfo().

◆ setBunchBitsetForBeam2()

void LHCInfo::setBunchBitsetForBeam2 ( std::bitset< bunchSlots+1 > const &  bunchConfiguration)

Definition at line 509 of file LHCInfo.cc.

509  {
510  m_bunchConfiguration2 = bunchConfiguration;
511 }

References m_bunchConfiguration2.

Referenced by setInfo().

◆ setBunchesInBeam1()

void LHCInfo::setBunchesInBeam1 ( unsigned short const &  bunches)

Definition at line 270 of file LHCInfo.cc.

270  {
271  LHCInfoImpl::setOneParam(m_intParams, BUNCHES_1, static_cast<unsigned int>(bunches));
272 }

References BUNCHES_1, m_intParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setBunchesInBeam2()

void LHCInfo::setBunchesInBeam2 ( unsigned short const &  bunches)

Definition at line 274 of file LHCInfo.cc.

274  {
275  LHCInfoImpl::setOneParam(m_intParams, BUNCHES_2, static_cast<unsigned int>(bunches));
276 }

References BUNCHES_2, m_intParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setCollidingBunches()

void LHCInfo::setCollidingBunches ( unsigned short const &  collidingBunches)

Definition at line 278 of file LHCInfo.cc.

278  {
280 }

References COLLIDING_BUNCHES, collidingBunches(), m_intParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setCreationTime()

void LHCInfo::setCreationTime ( cond::Time_t const &  createTime)

Definition at line 322 of file LHCInfo.cc.

References CREATE_TIME, createTime(), m_timeParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setCrossingAngle()

void LHCInfo::setCrossingAngle ( float const &  angle)

◆ setCtppsStatus()

void LHCInfo::setCtppsStatus ( std::string const &  ctppsStatus)

Definition at line 348 of file LHCInfo.cc.

References CTPPS_STATUS, ctppsStatus(), m_stringParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setDelivLumi()

void LHCInfo::setDelivLumi ( float const &  delivLumi)

◆ setEndTime()

void LHCInfo::setEndTime ( cond::Time_t const &  endTime)

Definition at line 330 of file LHCInfo.cc.

References END_TIME, endTime(), m_timeParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setEnergy()

void LHCInfo::setEnergy ( float const &  energy)

Definition at line 310 of file LHCInfo.cc.

References ENERGY, energy(), m_floatParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setFillNumber()

void LHCInfo::setFillNumber ( unsigned short  lhcFill)

Definition at line 265 of file LHCInfo.cc.

265  {
266  LHCInfoImpl::setOneParam(m_intParams, LHC_FILL, static_cast<unsigned int>(lhcFill));
267 }

References LHC_FILL, m_intParams, and LHCInfoImpl::setOneParam().

◆ setFillType()

void LHCInfo::setFillType ( LHCInfo::FillTypeId const &  fillType)

Definition at line 286 of file LHCInfo.cc.

286  {
287  LHCInfoImpl::setOneParam(m_intParams, FILL_TYPE, static_cast<unsigned int>(fillType));
288 }

References FILL_TYPE, fillType(), m_intParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setInfo()

void LHCInfo::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 
)

Definition at line 373 of file LHCInfo.cc.

403  {
404  this->setBunchesInBeam1(bunches1);
405  this->setBunchesInBeam2(bunches2);
408  this->setFillType(fillType);
409  this->setParticleTypeForBeam1(particleType1);
410  this->setParticleTypeForBeam2(particleType2);
411  this->setCrossingAngle(angle);
412  this->setBetaStar(beta);
413  this->setIntensityForBeam1(intensity1);
414  this->setIntensityForBeam2(intensity2);
415  this->setEnergy(energy);
416  this->setDelivLumi(delivLumi);
417  this->setRecLumi(recLumi);
418  this->setInstLumi(instLumi);
421  this->setBeginTime(beginTime);
422  this->setEndTime(endTime);
423  this->setInjectionScheme(scheme);
424  this->setLumiPerBX(lumiPerBX);
425  this->setLhcState(lhcState);
426  this->setLhcComment(lhcComment);
429  this->setBeam1VC(beam1VC);
430  this->setBeam2VC(beam2VC);
431  this->setBeam1RF(beam1RF);
432  this->setBeam2RF(beam2RF);
433  this->setBunchBitsetForBeam1(bunchConf1);
434  this->setBunchBitsetForBeam2(bunchConf2);
435 }

References setBeam1RF(), setBeam1VC(), setBeam2RF(), setBeam2VC(), setBeginTime(), setBetaStar(), setBunchBitsetForBeam1(), setBunchBitsetForBeam2(), setBunchesInBeam1(), setBunchesInBeam2(), setCollidingBunches(), setCreationTime(), setCrossingAngle(), setCtppsStatus(), setDelivLumi(), setEndTime(), setEnergy(), setFillType(), setInjectionScheme(), setInstLumi(), setInstLumiError(), setIntensityForBeam1(), setIntensityForBeam2(), setLhcComment(), setLhcState(), setLumiPerBX(), setLumiSection(), setParticleTypeForBeam1(), setParticleTypeForBeam2(), setRecLumi(), and setTargetBunches().

◆ setInjectionScheme()

void LHCInfo::setInjectionScheme ( std::string const &  injectionScheme)

◆ setInstLumi()

void LHCInfo::setInstLumi ( float const &  instLumi)

◆ setInstLumiError()

void LHCInfo::setInstLumiError ( float const &  instLumiError)

◆ setIntensityForBeam1()

void LHCInfo::setIntensityForBeam1 ( float const &  intensity)

Definition at line 302 of file LHCInfo.cc.

302  {
304 }

References INTENSITY_1, m_floatParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setIntensityForBeam2()

void LHCInfo::setIntensityForBeam2 ( float const &  intensity)

Definition at line 306 of file LHCInfo.cc.

306  {
308 }

References INTENSITY_2, m_floatParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setLhcComment()

void LHCInfo::setLhcComment ( std::string const &  lhcComment)

Definition at line 344 of file LHCInfo.cc.

References LHC_COMMENT, lhcComment(), m_stringParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setLhcState()

void LHCInfo::setLhcState ( std::string const &  lhcState)

Definition at line 340 of file LHCInfo.cc.

References LHC_STATE, lhcState(), m_stringParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setLumiPerBX()

void LHCInfo::setLumiPerBX ( std::vector< float > const &  lumiPerBX)

Definition at line 336 of file LHCInfo.cc.

References LUMI_PER_B, lumiPerBX(), m_floatParams, and LHCInfoImpl::setParams().

Referenced by setInfo().

◆ setLumiSection()

void LHCInfo::setLumiSection ( unsigned int const &  lumiSection)

Definition at line 352 of file LHCInfo.cc.

References LUMI_SECTION, lumiSection(), m_intParams, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setParticleTypeForBeam1()

void LHCInfo::setParticleTypeForBeam1 ( LHCInfo::ParticleTypeId const &  particleType)

Definition at line 290 of file LHCInfo.cc.

290  {
291  LHCInfoImpl::setOneParam(m_intParams, PARTICLES_1, static_cast<unsigned int>(particleType));
292 }

References m_intParams, PARTICLES_1, PbPb_ZMuSkimMuonDPG_cff::particleType, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setParticleTypeForBeam2()

void LHCInfo::setParticleTypeForBeam2 ( LHCInfo::ParticleTypeId const &  particleType)

Definition at line 294 of file LHCInfo.cc.

294  {
295  LHCInfoImpl::setOneParam(m_intParams, PARTICLES_2, static_cast<unsigned int>(particleType));
296 }

References m_intParams, PARTICLES_2, PbPb_ZMuSkimMuonDPG_cff::particleType, and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setRecLumi()

void LHCInfo::setRecLumi ( float const &  recLumi)

Definition at line 314 of file LHCInfo.cc.

References m_floatParams, REC_LUMI, recLumi(), and LHCInfoImpl::setOneParam().

Referenced by setInfo().

◆ setTargetBunches()

void LHCInfo::setTargetBunches ( unsigned short const &  targetBunches)

Definition at line 282 of file LHCInfo.cc.

282  {
284 }

References m_intParams, LHCInfoImpl::setOneParam(), TARGET_BUNCHES, and targetBunches().

Referenced by setInfo().

◆ targetBunches()

unsigned const short LHCInfo::targetBunches ( ) const

Definition at line 168 of file LHCInfo.cc.

References LHCInfoImpl::getOneParam(), m_intParams, and TARGET_BUNCHES.

Referenced by print(), and setTargetBunches().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 263 of file LHCInfo.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 263 of file LHCInfo.h.

Member Data Documentation

◆ availableBunchSlots

const size_t LHCInfo::availableBunchSlots = 2808
static

Definition at line 61 of file LHCInfo.h.

Referenced by LHCInfoPopConSourceHandler::getDipData().

◆ bunchSlots

const size_t LHCInfo::bunchSlots = 3564
static

Definition at line 58 of file LHCInfo.h.

Referenced by LHCInfoImpl::setElementData().

◆ m_bunchConfiguration1

std::bitset<bunchSlots + 1> LHCInfo::m_bunchConfiguration1
private

◆ m_bunchConfiguration2

std::bitset<bunchSlots + 1> LHCInfo::m_bunchConfiguration2
private

◆ m_floatParams

std::vector<std::vector<float> > LHCInfo::m_floatParams
private

◆ m_intParams

std::vector<std::vector<unsigned int> > LHCInfo::m_intParams
private

◆ m_isData

bool LHCInfo::m_isData = false
private

Definition at line 256 of file LHCInfo.h.

Referenced by cloneFill(), and equals().

◆ m_stringParams

std::vector<std::vector<std::string> > LHCInfo::m_stringParams
private

◆ m_timeParams

std::vector<std::vector<unsigned long long> > LHCInfo::m_timeParams
private
LHCInfo::LUMI_PER_B
Definition: LHCInfo.h:37
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:367
LHCInfo::beginTime
const cond::Time_t beginTime() const
Definition: LHCInfo.cc:202
LHCInfo::energy
const float energy() const
Definition: LHCInfo.cc:190
LHCInfo::setTargetBunches
void setTargetBunches(unsigned short const &targetBunches)
Definition: LHCInfo.cc:282
LHCInfo::m_floatParams
std::vector< std::vector< float > > m_floatParams
Definition: LHCInfo.h:258
LHCInfo::bunchesInBeam2
unsigned const short bunchesInBeam2() const
Definition: LHCInfo.cc:162
LHCInfo::setBunchesInBeam1
void setBunchesInBeam1(unsigned short const &bunches)
Definition: LHCInfo.cc:270
LHCInfo::intensityForBeam2
const float intensityForBeam2() const
Definition: LHCInfo.cc:188
LHCInfoImpl::getOneParam
const T & getOneParam(const std::vector< std::vector< T > > &params, size_t index)
Definition: LHCInfo.cc:131
mps_fire.i
i
Definition: mps_fire.py:428
LHCInfo::UNKNOWN
Definition: LHCInfo.h:14
LHCInfo::LHC_FILL
Definition: LHCInfo.h:18
LHCInfo::bunchConfigurationForBeam1
std::vector< unsigned short > bunchConfigurationForBeam1() const
Definition: LHCInfo.cc:257
LHCInfo::beam2RF
std::vector< float > const & beam2RF() const
Definition: LHCInfo.cc:226
LHCInfo::GAP
Definition: LHCInfo.h:14
cond::time::to_boost
boost::posix_time::ptime to_boost(Time_t iValue)
Definition: TimeConversions.h:39
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
LHCInfo::lhcComment
std::string const & lhcComment() const
Definition: LHCInfo.cc:214
LHCInfo::setBeginTime
void setBeginTime(cond::Time_t const &beginTime)
Definition: LHCInfo.cc:326
LHCInfo::setBunchBitsetForBeam1
void setBunchBitsetForBeam1(std::bitset< bunchSlots+1 > const &bunchConfiguration)
Definition: LHCInfo.cc:505
LHCInfo::setBeam1RF
void setBeam1RF(std::vector< float > const &beam1RF)
Definition: LHCInfo.cc:364
LHCInfo::REC_LUMI
Definition: LHCInfo.h:36
zMuMuMuonUserData.beta
beta
Definition: zMuMuMuonUserData.py:10
LHCInfo::setEndTime
void setEndTime(cond::Time_t const &endTime)
Definition: LHCInfo.cc:330
LHCInfo::setCtppsStatus
void setCtppsStatus(std::string const &ctppsStatus)
Definition: LHCInfo.cc:348
LHCInfo::INJECTION_SCHEME
Definition: LHCInfo.h:47
LHCInfo::intensityForBeam1
const float intensityForBeam1() const
Definition: LHCInfo.cc:186
LHCInfo::setBeam2RF
void setBeam2RF(std::vector< float > const &beam2RF)
Definition: LHCInfo.cc:368
LHCInfo::D
Definition: LHCInfo.h:15
fillTypeToString
static std::string fillTypeToString(LHCInfo::FillTypeId const &fillType)
Definition: LHCInfo.cc:21
LHCInfo::BETA_STAR
Definition: LHCInfo.h:31
LHCInfo
Definition: LHCInfo.h:12
LHCInfo::PROTON
Definition: LHCInfo.h:15
LHCInfo::setEnergy
void setEnergy(float const &energy)
Definition: LHCInfo.cc:310
LHCInfo::CROSSING_ANGLE
Definition: LHCInfo.h:30
LHCInfo::setCollidingBunches
void setCollidingBunches(unsigned short const &collidingBunches)
Definition: LHCInfo.cc:278
LHCInfo::injectionScheme
std::string const & injectionScheme() const
Definition: LHCInfo.cc:206
LHCInfoImpl::getParams
const T & getParams(const std::vector< T > &params, size_t index)
Definition: LHCInfo.cc:117
LHCInfo::m_stringParams
std::vector< std::vector< std::string > > m_stringParams
Definition: LHCInfo.h:260
LHCInfo::BUNCHES_1
Definition: LHCInfo.h:19
LHCInfo::ISIZE
Definition: LHCInfo.h:27
LHCInfo::setParticleTypeForBeam1
void setParticleTypeForBeam1(ParticleTypeId const &particleType)
Definition: LHCInfo.cc:290
LHCInfo::COSMICS
Definition: LHCInfo.h:14
LHCInfo::fillNumber
unsigned const short fillNumber() const
Definition: LHCInfo.cc:158
LHCInfoImpl::setOneParam
void setOneParam(std::vector< std::vector< T > > &params, size_t index, const T &value)
Definition: LHCInfo.cc:142
LHCInfo::BEAM2_VC
Definition: LHCInfo.h:39
LHCInfo::setLumiPerBX
void setLumiPerBX(std::vector< float > const &lumiPerBX)
Definition: LHCInfo.cc:336
LHCInfo::IONS
Definition: LHCInfo.h:14
LHCInfo::INTENSITY_2
Definition: LHCInfo.h:33
LHCInfo::setBunchBitsetForBeam2
void setBunchBitsetForBeam2(std::bitset< bunchSlots+1 > const &bunchConfiguration)
Definition: LHCInfo.cc:509
LHCInfo::LHCInfo
LHCInfo()
Definition: LHCInfo.cc:73
LHCInfoImpl::setParams
void setParams(std::vector< T > &params, size_t index, const T &value)
Definition: LHCInfo.cc:149
LHCInfo::setParticleTypeForBeam2
void setParticleTypeForBeam2(ParticleTypeId const &particleType)
Definition: LHCInfo.cc:294
LHCInfo::CREATE_TIME
Definition: LHCInfo.h:46
LHCInfo::TSIZE
Definition: LHCInfo.h:46
LHCInfo::TARGET_BUNCHES
Definition: LHCInfo.h:22
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
LHCInfo::m_intParams
std::vector< std::vector< unsigned int > > m_intParams
Definition: LHCInfo.h:257
LHCInfo::BEAM2_RF
Definition: LHCInfo.h:41
LHCInfo::PARTICLES_2
Definition: LHCInfo.h:25
LHCInfo::collidingBunches
unsigned const short collidingBunches() const
Definition: LHCInfo.cc:164
LHCInfo::XE54
Definition: LHCInfo.h:15
LHCInfo::setFillType
void setFillType(FillTypeId const &fillType)
Definition: LHCInfo.cc:286
LHCInfo::lhcState
std::string const & lhcState() const
Definition: LHCInfo.cc:212
LHCInfo::setInjectionScheme
void setInjectionScheme(std::string const &injectionScheme)
Definition: LHCInfo.cc:332
LHCInfo::crossingAngle
const float crossingAngle() const
Definition: LHCInfo.cc:182
LHCInfo::setCreationTime
void setCreationTime(cond::Time_t const &createTime)
Definition: LHCInfo.cc:322
LHCInfo::particleTypeForBeam2
const ParticleTypeId particleTypeForBeam2() const
Definition: LHCInfo.cc:178
mps_fire.end
end
Definition: mps_fire.py:242
LHCInfo::CTPPS_STATUS
Definition: LHCInfo.h:47
LHCInfo::BUNCHES_2
Definition: LHCInfo.h:20
LHCInfo::BEAM1_RF
Definition: LHCInfo.h:40
LHCInfo::setIntensityForBeam2
void setIntensityForBeam2(float const &intensity)
Definition: LHCInfo.cc:306
LHCInfo::m_bunchConfiguration1
std::bitset< bunchSlots+1 > m_bunchConfiguration1
Definition: LHCInfo.h:261
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LHCInfo::END_TIME
Definition: LHCInfo.h:46
LHCInfo::m_isData
bool m_isData
Definition: LHCInfo.h:256
LHCInfo::COLLIDING_BUNCHES
Definition: LHCInfo.h:21
bitsetToVector
static std::vector< unsigned short > bitsetToVector(std::bitset< LHCInfo::bunchSlots+1 > const &bs)
Definition: LHCInfo.cc:9
LHCInfo::setBeam1VC
void setBeam1VC(std::vector< float > const &beam1VC)
Definition: LHCInfo.cc:356
LHCInfo::INST_LUMI_ERR
Definition: LHCInfo.h:43
LHCInfo::beam1RF
std::vector< float > const & beam1RF() const
Definition: LHCInfo.cc:224
LHCInfo::empty
bool empty() const
Definition: LHCInfo.cc:538
LHCInfo::lumiSection
unsigned int const & lumiSection() const
Definition: LHCInfo.cc:218
LHCInfo::DELIV_LUMI
Definition: LHCInfo.h:35
LHCInfo::instLumiError
const float instLumiError() const
Definition: LHCInfo.cc:198
LHCInfo::recLumi
const float recLumi() const
Definition: LHCInfo.cc:194
LHCInfo::AR18
Definition: LHCInfo.h:15
LHCInfo::instLumi
const float instLumi() const
Definition: LHCInfo.cc:196
LHCInfo::setInstLumiError
void setInstLumiError(float const &instLumiError)
Definition: LHCInfo.cc:318
LHCInfoImpl::accessParams
T & accessParams(std::vector< T > &params, size_t index)
Definition: LHCInfo.cc:124
LHCInfo::setIntensityForBeam1
void setIntensityForBeam1(float const &intensity)
Definition: LHCInfo.cc:302
LHCInfo::beam2VC
std::vector< float > const & beam2VC() const
Definition: LHCInfo.cc:222
LHCInfo::delivLumi
const float delivLumi() const
Definition: LHCInfo.cc:192
LHCInfo::PB82
Definition: LHCInfo.h:15
particleTypeToString
static std::string particleTypeToString(LHCInfo::ParticleTypeId const &particleType)
Definition: LHCInfo.cc:46
LHCInfo::m_timeParams
std::vector< std::vector< unsigned long long > > m_timeParams
Definition: LHCInfo.h:259
LHCInfo::setInstLumi
void setInstLumi(float const &instLumi)
Definition: LHCInfo.cc:316
LHCInfo::PARTICLES_1
Definition: LHCInfo.h:24
cms::cuda::for
for(int i=first, nt=offsets[nh];i< nt;i+=gridDim.x *blockDim.x)
Definition: HistoContainer.h:27
generator_cfi.scheme
scheme
Definition: generator_cfi.py:22
LHCInfo::NONE
Definition: LHCInfo.h:15
LHCInfo::BEGIN_TIME
Definition: LHCInfo.h:46
LHCInfo::FILL_TYPE
Definition: LHCInfo.h:23
LHCInfo::setLhcComment
void setLhcComment(std::string const &lhcComment)
Definition: LHCInfo.cc:344
LHCInfo::bunchConfigurationForBeam2
std::vector< unsigned short > bunchConfigurationForBeam2() const
Definition: LHCInfo.cc:261
LHCInfo::endTime
const cond::Time_t endTime() const
Definition: LHCInfo.cc:204
LHCInfo::fillType
const FillTypeId fillType() const
Definition: LHCInfo.cc:170
LHCInfo::lumiPerBX
std::vector< float > const & lumiPerBX() const
Definition: LHCInfo.cc:210
LHCInfo::targetBunches
unsigned const short targetBunches() const
Definition: LHCInfo.cc:168
LHCInfo::setCrossingAngle
void setCrossingAngle(float const &angle)
Definition: LHCInfo.cc:298
LHCInfo::m_bunchConfiguration2
std::bitset< bunchSlots+1 > m_bunchConfiguration2
Definition: LHCInfo.h:261
LHCInfo::setBetaStar
void setBetaStar(float const &betaStar)
Definition: LHCInfo.cc:300
LHCInfo::particleTypeForBeam1
const ParticleTypeId particleTypeForBeam1() const
Definition: LHCInfo.cc:174
LHCInfo::LHC_STATE
Definition: LHCInfo.h:47
LHCInfo::BEAM1_VC
Definition: LHCInfo.h:38
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
LHCInfo::INTENSITY_1
Definition: LHCInfo.h:32
LHCInfo::LHC_COMMENT
Definition: LHCInfo.h:47
LHCInfo::setLhcState
void setLhcState(std::string const &lhcState)
Definition: LHCInfo.cc:340
LHCInfo::setBeam2VC
void setBeam2VC(std::vector< float > const &beam2VC)
Definition: LHCInfo.cc:360
LHCInfo::beam1VC
std::vector< float > const & beam1VC() const
Definition: LHCInfo.cc:220
LHCInfo::LUMI_SECTION
Definition: LHCInfo.h:26
LHCInfo::setRecLumi
void setRecLumi(float const &recLumi)
Definition: LHCInfo.cc:314
PbPb_ZMuSkimMuonDPG_cff.particleType
particleType
Definition: PbPb_ZMuSkimMuonDPG_cff.py:27
LHCInfo::PROTONS
Definition: LHCInfo.h:14
LHCInfo::ENERGY
Definition: LHCInfo.h:34
LHCInfo::betaStar
const float betaStar() const
Definition: LHCInfo.cc:184
cond::serialization::equal
bool equal(const T &first, const T &second)
Definition: Equal.h:32
LHCInfo::createTime
const cond::Time_t createTime() const
Definition: LHCInfo.cc:200
LHCInfo::INST_LUMI
Definition: LHCInfo.h:42
LHCInfo::SSIZE
Definition: LHCInfo.h:47
LHCInfo::setLumiSection
void setLumiSection(unsigned int const &lumiSection)
Definition: LHCInfo.cc:352
LHCInfo::setBunchesInBeam2
void setBunchesInBeam2(unsigned short const &bunches)
Definition: LHCInfo.cc:274
LHCInfo::bunchesInBeam1
unsigned const short bunchesInBeam1() const
Definition: LHCInfo.cc:160
LHCInfo::ctppsStatus
std::string const & ctppsStatus() const
Definition: LHCInfo.cc:216
ZMuMuAnalysisNtupler_cff.prefix
prefix
Definition: ZMuMuAnalysisNtupler_cff.py:14
LHCInfo::FSIZE
Definition: LHCInfo.h:44
LHCInfo::setDelivLumi
void setDelivLumi(float const &delivLumi)
Definition: LHCInfo.cc:312