Go to the documentation of this file.
18 const float undef = -999;
23 std::stringstream
ss(
line);
31 <<
"wrong file format, file name " <<
filename_ << std::endl;
58 printf(
"EffectiveAreas: source file %s\n",
filename_.c_str());
59 printf(
" eta_min eta_max effective area\n");
71 <<
"found no effective area constans in the file " <<
filename_ << std::endl;
78 <<
"eta ranges improperly defined (min>max) in the file" <<
filename_ << std::endl;
85 <<
"eta ranges improperly defined (disjointed) in the file " <<
filename_ << std::endl;
92 <<
"effective area values are too large or negative in the file" <<
filename_ << std::endl;
EffectiveAreas(const std::string &filename)
std::vector< float > absEtaMax_
void printEffectiveAreas() const
std::vector< float > effectiveAreaValues_
std::vector< float > absEtaMin_
void checkConsistency() const
const float getEffectiveArea(float eta) const
const std::string filename_
Abs< T >::type abs(const T &t)