1 #ifndef DataFormats_Luminosity_BeamCurrentInfo_h
2 #define DataFormats_Luminosity_BeamCurrentInfo_h
46 const std::vector<float>& beam2Intensities) {
73 const std::vector<float>& beam2Intensities);
75 void fill(
const std::vector<float>& beam1Intensities,
76 const std::vector<float>& beam2Intensities);
80 static void unpackData(
const std::vector<uint16_t>& packed, std::vector<float>& unpacked);
93 #endif // DataFormats_Luminosity_BeamCurrentInfo_h
const std::vector< float > & getBeam1Intensities() const
~BeamCurrentInfo()
destructor
static const float scaleFactor
float getBeam1IntensityBX(int bx) const
std::vector< float > beam2IntensitiesUnpacked_
std::vector< float > beam1IntensitiesUnpacked_
static const unsigned int numBX
void fillBeamIntensities(const std::vector< float > &beam1Intensities, const std::vector< float > &beam2Intensities)
bool isProductEqual(BeamCurrentInfo const &next) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
float getBeam2IntensityBX(int bx) const
BeamCurrentInfo(const std::vector< float > &beam1Intensities, const std::vector< float > &beam2Intensities)
constructor with fill
const std::vector< uint16_t > & getBeam1IntensitiesPacked() const
BeamCurrentInfo()
default constructor
void fill(const std::vector< float > &beam1Intensities, const std::vector< float > &beam2Intensities)
std::vector< uint16_t > beam1IntensitiesPacked_
const std::vector< float > & getBeam2Intensities() const
const std::vector< uint16_t > & getBeam2IntensitiesPacked() const
std::vector< uint16_t > beam2IntensitiesPacked_