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