1 #ifndef LikelihoodPdf_H
2 #define LikelihoodPdf_H
7 #include <TDirectory.h>
25 void split(std::map<std::string,float> splitFractions,
bool splitPdf =
false);
28 float getVal(
float x, std::string catName=
"NOSPLIT",
bool normalized =
true);
45 std::map<std::string,const PhysicsTools::Calibration::HistogramF*>
_splitPdf;
std::string getName()
get PDF name
std::map< std::string, const PhysicsTools::Calibration::HistogramF * > _splitPdf
std::string getSpecies()
get PDF species
void initFromDB(const ElectronLikelihoodCalibration *calibration)
initialize PDFs from CondDB
void split(std::map< std::string, float > splitFractions, bool splitPdf=false)
float getVal(float x, std::string catName="NOSPLIT", bool normalized=true)
get Value of pdf at point x for class catName
std::map< std::string, std::string > _splitRule
LikelihoodPdf(const LikelihoodPdf &pdf)