11#ifndef CBMLITTRACKINGQAREPORT_H_
12#define CBMLITTRACKINGQAREPORT_H_
93 void DrawEfficiency(
const string& canvasName,
const string& histNamePattern,
94 string (*labelFormatter)(
const string&, Double_t));
97 string (*labelFormatter)(
const string&, Double_t));
111 void DrawAccAndRec(
const string& canvasName,
const string& histNamePattern);
124 void DrawHitsHistos(
const string& canvasName,
const string& hist);
137 void DrawYPt(
const string& canvasName,
const string& effHistName, Bool_t drawOnlyEfficiency =
false);
145 Double_t
CalcEfficiency(
const TH1* histRec,
const TH1* histAcc, Double_t scale = 1.)
const;
156 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Double_t scale);
Base class for simulation reports.
Create report for tracking QA.
void CalculateEfficiencyHistos()
Calculate efficiency histograms.
void DrawYPt(const string &canvasName, const string &effHistName, Bool_t drawOnlyEfficiency=false)
Draw Rapidity-Pt histograms.
virtual void Draw()
Inherited from CbmSimulationReport.
void DrawPionSuppression(const string &canvasName, const string &histNamePattern, string(*labelFormatter)(const string &, Double_t))
vector< string > fGlobalTrackVariants
string PrintNofGhosts() const
Return string with number of ghosts statistics.
virtual ~CbmLitTrackingQaReport()
Destructor.
virtual void Create()
Inherited from CbmSimulationReport.
void DrawMeanEfficiencyLines(const vector< TH1 * > &histos, const vector< Double_t > &efficiencies)
Draw mean efficiency lines on histogram.
void DrawYPtHistos()
Main function for drawing Rapidity-Pt histograms.
string PrintNofObjects() const
Return string with number of objects statistics.
Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale=1.) const
Calculate efficiency for two histograms.
void CalculatePionSuppressionHistos()
void DrawEfficiency(const string &canvasName, const string &histNamePattern, string(*labelFormatter)(const string &, Double_t))
Draw efficiency histogram.
string PrintTrackingEfficiency(Bool_t includeRich, Bool_t isPidEfficiency) const
Return string with tracking efficiency.
string PrintTrackHits() const
Return string with hits histogram statistics (nof all, true, fake hits in track/ring).
CbmLitTrackingQaReport()
Constructor.
void DrawAccAndRec(const string &canvasName, const string &histNamePattern)
Draw accepted and reconstructed tracks histograms.
void FillGlobalTrackVariants()
string PrintPionSuppression() const
Return string with pion suppression efficiency.
void DrawEfficiencyHistos()
Main function for drawing efficiency histograms.
void DrawHitsHistos()
Draw histograms for hits.
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
Divide two histograms.
Base class for simulation reports.