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