1 #ifndef DataFormats_Luminosity_LumiDetails_h 2 #define DataFormats_Luminosity_LumiDetails_h 28 typedef std::pair<std::vector<float>::const_iterator, std::vector<float>::const_iterator>
ValueRange;
29 typedef std::pair<std::vector<float>::const_iterator, std::vector<float>::const_iterator>
ErrorRange;
30 typedef std::pair<std::vector<short>::const_iterator, std::vector<short>::const_iterator>
QualityRange;
44 std::vector<float>
const&
values,
45 std::vector<float>
const&
errors,
48 void fillBeamIntensities(std::vector<float>
const& beam1Intensities, std::vector<float>
const& beam2Intensities);
64 static std::vector<std::string>
const&
algoNames();
static std::vector< std::string > const & algoNames()
float lumiBeam2Intensity(unsigned int bx) const
std::pair< std::vector< float >::const_iterator, std::vector< float >::const_iterator > ValueRange
std::ostream & operator<<(std::ostream &s, LumiDetails const &lumiDetails)
void checkAlgo(AlgoType algo) const
std::vector< float > m_allErrors
std::pair< std::vector< float >::const_iterator, std::vector< float >::const_iterator > ErrorRange
bool isProductEqual(LumiDetails const &lumiDetails) const
float lumiBeam1Intensity(unsigned int bx) const
ValueRange lumiValuesForAlgo(AlgoType algo) const
std::vector< float > const & lumiBeam2Intensities() const
std::vector< float > m_beam2Intensities
static std::vector< std::string > const m_algoNames
void setLumiVersion(std::string const &lumiVersion)
std::string m_lumiVersion
std::pair< std::vector< short >::const_iterator, std::vector< short >::const_iterator > QualityRange
void fill(AlgoType algo, std::vector< float > const &values, std::vector< float > const &errors, std::vector< short > const &qualities)
std::string const & lumiVersion() const
std::vector< float > m_allValues
float lumiValue(AlgoType algo, unsigned int bx) const
const char * qualities[3]
ErrorRange lumiErrorsForAlgo(AlgoType algo) const
float lumiError(AlgoType algo, unsigned int bx) const
std::vector< float > const & lumiBeam1Intensities() const
void checkAlgoAndBX(AlgoType algo, unsigned int bx) const
std::vector< unsigned int > m_algoToFirstIndex
QualityRange lumiQualitiesForAlgo(AlgoType algo) const
static std::vector< std::string > const & dipalgoNames()
short lumiQuality(AlgoType algo, unsigned int bx) const
std::vector< short > m_allQualities
void fillBeamIntensities(std::vector< float > const &beam1Intensities, std::vector< float > const &beam2Intensities)
std::vector< float > m_beam1Intensities