1 #ifndef DataFormats_Luminosity_BeamCurrentInfo_h 2 #define DataFormats_Luminosity_BeamCurrentInfo_h 45 BeamCurrentInfo(
const std::vector<float>& beam1Intensities,
const std::vector<float>& beam2Intensities) {
71 void fillBeamIntensities(
const std::vector<float>& beam1Intensities,
const std::vector<float>& beam2Intensities);
73 void fill(
const std::vector<float>& beam1Intensities,
const std::vector<float>& beam2Intensities);
76 static void unpackData(
const std::vector<uint16_t>& packed, std::vector<float>& unpacked);
89 #endif // DataFormats_Luminosity_BeamCurrentInfo_h
const std::vector< float > & getBeam1Intensities() const
~BeamCurrentInfo()
destructor
static const float scaleFactor
std::ostream & operator<<(std::ostream &s, const BeamCurrentInfo &beamInfo)
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)
float getBeam2IntensityBX(int bx) const
const std::vector< uint16_t > & getBeam2IntensitiesPacked() const
float getBeam1IntensityBX(int bx) const
BeamCurrentInfo(const std::vector< float > &beam1Intensities, const std::vector< float > &beam2Intensities)
constructor with fill
BeamCurrentInfo()
default constructor
void fill(const std::vector< float > &beam1Intensities, const std::vector< float > &beam2Intensities)
std::vector< uint16_t > beam1IntensitiesPacked_
const std::vector< uint16_t > & getBeam1IntensitiesPacked() const
const std::vector< float > & getBeam2Intensities() const
bool isProductEqual(BeamCurrentInfo const &next) const
std::vector< uint16_t > beam2IntensitiesPacked_