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,
46 std::vector<short>
const& qualities);
48 void fillBeamIntensities(std::vector<float>
const& beam1Intensities, std::vector<float>
const& beam2Intensities);
64 static std::vector<std::string>
const&
algoNames();
float lumiBeam2Intensity(unsigned int bx) const
std::vector< float > const & lumiBeam2Intensities() const
std::pair< std::vector< float >::const_iterator, std::vector< float >::const_iterator > ValueRange
ValueRange lumiValuesForAlgo(AlgoType algo) const
std::ostream & operator<<(std::ostream &s, LumiDetails const &lumiDetails)
void checkAlgoAndBX(AlgoType algo, unsigned int bx) const
std::vector< float > m_allErrors
std::pair< std::vector< float >::const_iterator, std::vector< float >::const_iterator > ErrorRange
std::vector< float > const & lumiBeam1Intensities() const
float lumiValue(AlgoType algo, unsigned int bx) const
std::vector< float > m_beam2Intensities
float lumiBeam1Intensity(unsigned int bx) const
static std::vector< std::string > const m_algoNames
short lumiQuality(AlgoType algo, unsigned int bx) const
void setLumiVersion(std::string const &lumiVersion)
std::string m_lumiVersion
std::pair< std::vector< short >::const_iterator, std::vector< short >::const_iterator > QualityRange
ErrorRange lumiErrorsForAlgo(AlgoType algo) const
void fill(AlgoType algo, std::vector< float > const &values, std::vector< float > const &errors, std::vector< short > const &qualities)
static std::vector< std::string > const & dipalgoNames()
std::vector< float > m_allValues
static std::vector< std::string > const & algoNames()
void checkAlgo(AlgoType algo) const
std::vector< unsigned int > m_algoToFirstIndex
QualityRange lumiQualitiesForAlgo(AlgoType algo) const
float lumiError(AlgoType algo, unsigned int bx) const
std::vector< short > m_allQualities
void fillBeamIntensities(std::vector< float > const &beam1Intensities, std::vector< float > const &beam2Intensities)
std::string const & lumiVersion() const
bool isProductEqual(LumiDetails const &lumiDetails) const
std::vector< float > m_beam1Intensities