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