Go to the documentation of this file.
7 #ifndef CBMLITTRACKINGQAREPORT_H_
8 #define CBMLITTRACKINGQAREPORT_H_
71 Bool_t isPidEfficiency)
const;
90 const string& histNamePattern,
91 string (*labelFormatter)(
const string&, Double_t));
94 const string& histNamePattern,
95 string (*labelFormatter)(
const string&, Double_t));
103 const vector<Double_t>& efficiencies);
110 void DrawAccAndRec(
const string& canvasName,
const string& histNamePattern);
123 void DrawHitsHistos(
const string& canvasName,
const string& hist);
136 void DrawYPt(
const string& canvasName,
137 const string& effHistName,
138 Bool_t drawOnlyEfficiency =
false);
148 Double_t scale = 1.)
const;
159 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Double_t scale);
virtual ~CbmLitTrackingQaReport()
Destructor.
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).
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
Divide two histograms.
Create report for tracking QA.
CbmLitTrackingQaReport()
Constructor.
vector< string > fGlobalTrackVariants
string PrintNofObjects() const
Return string with number of objects statistics.
string PrintNofGhosts() const
Return string with number of ghosts statistics.
void FillGlobalTrackVariants()
void CalculateEfficiencyHistos()
Calculate efficiency histograms.
virtual void Create()
Inherited from CbmSimulationReport.
void CalculatePionSuppressionHistos()
void DrawYPt(const string &canvasName, const string &effHistName, Bool_t drawOnlyEfficiency=false)
Draw Rapidity-Pt histograms.
void DrawPionSuppression(const string &canvasName, const string &histNamePattern, string(*labelFormatter)(const string &, Double_t))
void DrawMeanEfficiencyLines(const vector< TH1 * > &histos, const vector< Double_t > &efficiencies)
Draw mean efficiency lines on histogram.
virtual void Draw()
Inherited from CbmSimulationReport.
void DrawYPtHistos()
Main function for drawing Rapidity-Pt histograms.
string PrintPionSuppression() const
Return string with pion suppression efficiency.
void DrawEfficiencyHistos()
Main function for drawing efficiency histograms.
Base class for simulation reports.
Base class for simulation reports.
void DrawAccAndRec(const string &canvasName, const string &histNamePattern)
Draw accepted and reconstructed tracks histograms.
void DrawEfficiency(const string &canvasName, const string &histNamePattern, string(*labelFormatter)(const string &, Double_t))
Draw efficiency histogram.
Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale=1.) const
Calculate efficiency for two histograms.
void DrawHitsHistos()
Draw histograms for hits.