Go to the documentation of this file.
7 #ifndef CBMLITTRACKINGQASTUDYREPORT_H_
8 #define CBMLITTRACKINGQASTUDYREPORT_H_
60 const string& pattern,
61 string (*rowNameFormatter)(
const string&),
62 string (*cellFormatter)(
const TH1*, Int_t))
const;
71 const string& pattern)
const;
80 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Double_t scale);
97 void DrawEfficiency(
const string& canvasName,
const string& histName);
105 const std::vector<Double_t>& efficiencies);
112 void DrawAccAndRec(
const string& canvasName,
const string& histName);
122 Double_t scale = 1.)
const;
void DrawMeanEfficiencyLines(const std::vector< TH1 * > &histos, const std::vector< Double_t > &efficiencies)
Draw mean efficiency lines on histogram.
string PrintTable(const string &tableName, const string &pattern, string(*rowNameFormatter)(const string &), string(*cellFormatter)(const TH1 *, Int_t)) const
Return formated string with table of numbers.
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
Divide two histograms.
Base class for study reports.
void DrawEfficiencyHistos()
Main function for drawing efficiency histograms.
void CalculateEfficiencyHistos()
Calculate efficiency histograms.
void DrawEfficiency(const string &canvasName, const string &histName)
Draw efficiency histogram.
CbmLitTrackingQaStudyReport()
Constructor.
string PrintEfficiencyTable(const string &tableName, const string &pattern) const
Return formated string with table of efficiency numbers.
Creates study report for tracking QA.
void DrawAccAndRec(const string &canvasName, const string &histName)
Draw accepted and reconstructed tracks histograms.
virtual ~CbmLitTrackingQaStudyReport()
Destructor.
Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale=1.) const
Calculate efficiency for two histograms.
Base class for study reports.
void Draw()
Inherited from CbmLitStudyReport.
void Create()
Inherited from CbmLitStudyReport.