20 #include "ExHEPUtils/BinnedFn.h"
24 #ifndef HEPDATAINCLUDEDIR
25 #define HEPDATAINCLUDEDIR ""
32 void readHEPDatacsv(std::string filename, vector<vector<double>> & datas);
48 Efficiency1D(std::string filename,
bool return_uncert=
false);
50 void readcsv(std::string filename,
bool return_uncert=
false);
52 double get_at(
double x);
69 Efficiency2D(std::string filename,
bool return_uncert=
false);
71 void readcsv(std::string filename,
bool return_uncert=
false);
73 double get_at(
double x,
double y);
86 map<std::string, HEP::BinnedFn1D<double>*> _1dhistos;
87 map<std::string, HEP::BinnedFn1D<double>*> _1dhistos_err;
89 map<std::string, HEP::BinnedFn2D<double>*> _2dhistos;
90 map<std::string, HEP::BinnedFn2D<double>*> _2dhistos_err;
97 void read(std::string filename);
99 double get_at(std::string histoname,
double x);
100 double get_at_err(std::string histoname,
double x);
101 double get_at(std::string histoname,
double x,
double y);
102 double get_at_err(std::string histoname,
double x,
double y);