Go to the documentation of this file.
8 #ifndef LRHelpFunctions_h
9 #define LRHelpFunctions_h
31 #include "TPaveText.h"
40 const std::vector<double>&,
41 const std::vector<double>&,
42 const std::vector<const char*>&);
61 double calcLRval(
const std::vector<double>&);
65 void setXlabels(
const std::vector<std::string>& xLabels);
66 void setYlabels(
const std::vector<std::string>& yLabels);
void normalizeSandBhists()
void recreateFitFct(const std::vector< int > &obsNr, const std::vector< const char * > &functions)
double calcPtdrLRval(const std::vector< double > &vals, bool useCorrelation=false)
void singlePlot(const TString &fname, int obsNbr, const TString &extension=TString("eps"))
void readObsHistsAndFits(const TString &, const std::vector< int > &, bool)
void makeAndFitPurityHists()
void fillLRBackgroundHist(double, double weight=1.0)
std::vector< TH2F * > hObsCorr
void setYlabels(const std::vector< std::string > &yLabels)
void fillToBackgroundHists(const std::vector< double > &, double weight=1.0)
void purityPlot(const TString &fname, const TString &extension=TString("eps"))
std::vector< TF1 * > fObsSoverSplusB
std::vector< TH1F * > hObsSoverSplusB
void storeControlPlots(const TString &)
void fillLRSignalHist(double, double weight=1.0)
std::vector< int > obsNumbers
void storeToROOTfile(const TString &)
std::vector< TH1F * > hObsB
std::vector< TH1F * > hObsS
void fillToSignalHists(const std::vector< double > &, double weight=1.0)
void setObsFitParameters(int obs, const std::vector< double > &)
void makeAndFitSoverSplusBHists()
void fillToSignalCorrelation(int obsNbr1, double obsVal1, int obsNbr2, double obsVal2, double weight)
Help functionalities to implement and evaluate LR ratio method.
void initLRHistsAndFits(int, double, double, const char *)
double calcLRval(const std::vector< double > &)
void setXlabels(const std::vector< std::string > &xLabels)