1 #ifndef DataFormats_Luminosity_LumiDetails_h
2 #define DataFormats_Luminosity_LumiDetails_h
35 typedef std::pair<std::vector<float>::const_iterator, std::vector<float>::const_iterator>
ValueRange;
36 typedef std::pair<std::vector<float>::const_iterator, std::vector<float>::const_iterator>
ErrorRange;
37 typedef std::pair<std::vector<short>::const_iterator, std::vector<short>::const_iterator>
QualityRange;
51 std::vector<float>
const&
values,
52 std::vector<float>
const&
errors,
53 std::vector<short>
const& qualities);
56 std::vector<float>
const& beam2Intensities);
72 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
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
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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