CbmRoot
CbmLitTrackingQaReport Class Reference

Create report for tracking QA. More...

#include <CbmLitTrackingQaReport.h>

Inheritance diagram for CbmLitTrackingQaReport:
[legend]
Collaboration diagram for CbmLitTrackingQaReport:
[legend]

Public Member Functions

 CbmLitTrackingQaReport ()
 Constructor. More...
 
virtual ~CbmLitTrackingQaReport ()
 Destructor. More...
 
void Create (CbmHistManager *histManager, const std::string &outputDir)
 Main function which creates report data. More...
 
void Create (const std::string &fileName, const std::string &outputDir)
 Main function which creates report data. More...
 
TH1 * H1 (const std::string &name) const
 Return pointer to TH1 histogram. More...
 
TH2 * H2 (const std::string &name) const
 Return pointer to TH2 histogram. More...
 
TH3 * H3 (const std::string &name) const
 Return pointer to TH3 histogram. More...
 
CbmHistManagerHM () const
 Return pointer to Histogram manager. More...
 
void DrawH1ByPattern (const std::string &histNamePattern)
 Select by pattern TH1 histograms and draw each histogram on separate canvas. More...
 
void DrawH1ByPattern (const std::string &histNamePattern, std::string(*labelFormatter)(const std::string &, const CbmHistManager *))
 Select by pattern TH1 histograms and draw all histograms on the same canvas. More...
 
void DrawH2ByPattern (const std::string &histNamePattern, HistScale logx=kLinear, HistScale logy=kLinear, HistScale logz=kLinear, const std::string &drawOpt="")
 Select by pattern TH2 histograms and draw each histogram on separate canvas. More...
 
const CbmReportElementR () const
 Accessor to CbmReportElement object. User has to write the report using available tags from CbmReportElement class. More...
 
std::ostream & Out () const
 All text output goes to this stream. More...
 
void SetReportName (const std::string &name)
 
void SetReportTitle (const std::string &title)
 
void SetOutputDir (const std::string &outputDir)
 
const std::string & GetReportName () const
 
const std::string & GetReportTitle () const
 
const std::string & GetOutputDir () const
 

Protected Member Functions

virtual void Create ()
 Inherited from CbmSimulationReport. More...
 
virtual void Draw ()
 Inherited from CbmSimulationReport. More...
 
string PrintNofObjects () const
 Return string with number of objects statistics. More...
 
string PrintTrackHits () const
 Return string with hits histogram statistics (nof all, true, fake hits in track/ring). More...
 
string PrintNofGhosts () const
 Return string with number of ghosts statistics. More...
 
string PrintTrackingEfficiency (Bool_t includeRich, Bool_t isPidEfficiency) const
 Return string with tracking efficiency. More...
 
string PrintPionSuppression () const
 Return string with pion suppression efficiency. More...
 
void DrawEfficiencyHistos ()
 Main function for drawing efficiency histograms. More...
 
void DrawEfficiency (const string &canvasName, const string &histNamePattern, string(*labelFormatter)(const string &, Double_t))
 Draw efficiency histogram. More...
 
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. More...
 
void DrawAccAndRec (const string &canvasName, const string &histNamePattern)
 Draw accepted and reconstructed tracks histograms. More...
 
void DrawHitsHistos ()
 Draw histograms for hits. More...
 
void DrawHitsHistos (const string &canvasName, const string &hist)
 Draw histograms for hits. This function automatically check the existence of histograms. More...
 
void DrawYPtHistos ()
 Main function for drawing Rapidity-Pt histograms. More...
 
void DrawYPt (const string &canvasName, const string &effHistName, Bool_t drawOnlyEfficiency=false)
 Draw Rapidity-Pt histograms. More...
 
Double_t CalcEfficiency (const TH1 *histRec, const TH1 *histAcc, Double_t scale=1.) const
 Calculate efficiency for two histograms. More...
 
void FillGlobalTrackVariants ()
 
void DivideHistos (TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
 Divide two histograms. More...
 
void CalculateEfficiencyHistos ()
 Calculate efficiency histograms. More...
 
void CalculatePionSuppressionHistos ()
 
void Draw (Option_t *)
 Inherited from TObject. This method is implemented in order to avoid warnings. More...
 
void CreateReports ()
 Create all available report types. More...
 
TCanvas * CreateCanvas (const char *name, const char *title, Int_t ww, Int_t wh)
 Create canvas and put it to vector of TCanvases. Canvases created with this function will be automatically saved to image and printed in the report. More...
 
void SaveCanvasesAsImages () const
 Save all canvases to images. More...
 
void WriteCanvases () const
 Write canvases to file. More...
 
void PrintCanvases () const
 Print images created from canvases in the report. More...
 

Protected Attributes

vector< string > fGlobalTrackVariants
 

Private Member Functions

void CreateReportElement (ReportType reportType)
 Create concrete CbmReportElement instance based on report type. More...
 
void DeleteReportElement ()
 Delete report element. Normally should be called at the end of Create function. More...
 

Private Attributes

CbmHistManagerfHM
 
std::string fReportName
 
std::string fReportTitle
 
std::string fOutputDir
 
ReportType fReportType
 
CbmReportElementfR
 
std::ostream * fOut
 
std::vector< TCanvas * > fCanvases
 

Detailed Description

Create report for tracking QA.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2011

Definition at line 23 of file CbmLitTrackingQaReport.h.

Constructor & Destructor Documentation

◆ CbmLitTrackingQaReport()

CbmLitTrackingQaReport::CbmLitTrackingQaReport ( )

Constructor.

Definition at line 49 of file CbmLitTrackingQaReport.cxx.

References CbmReport::SetReportName().

◆ ~CbmLitTrackingQaReport()

CbmLitTrackingQaReport::~CbmLitTrackingQaReport ( )
virtual

Destructor.

Definition at line 54 of file CbmLitTrackingQaReport.cxx.

Member Function Documentation

◆ CalcEfficiency()

Double_t CbmLitTrackingQaReport::CalcEfficiency ( const TH1 *  histRec,
const TH1 *  histAcc,
Double_t  scale = 1. 
) const
protected

Calculate efficiency for two histograms.

Parameters
[in]histRecoReconstruction histogram.
[in]histAccAcceptance histogram.
[in]scaleScaling factor for efficiency.

Definition at line 563 of file CbmLitTrackingQaReport.cxx.

Referenced by DrawEfficiency(), and DrawPionSuppression().

◆ CalculateEfficiencyHistos()

void CbmLitTrackingQaReport::CalculateEfficiencyHistos ( )
protected

Calculate efficiency histograms.

Definition at line 597 of file CbmLitTrackingQaReport.cxx.

References DivideHistos(), Cbm::FindAndReplace(), CbmSimulationReport::H1(), CbmHistManager::H1Vector(), and CbmSimulationReport::HM().

Referenced by Draw().

◆ CalculatePionSuppressionHistos()

void CbmLitTrackingQaReport::CalculatePionSuppressionHistos ( )
protected

◆ Create() [1/3]

◆ Create() [2/3]

void CbmSimulationReport::Create ( CbmHistManager histManager,
const std::string &  outputDir 
)
inherited

Main function which creates report data.

Non virtual interface pattern is used here. User always creates simulation report using this public non virtual method. In order to configure concrete report generation class user has to implement protected Create() method.

Parameters
[in]histManagerPointer to histogram manager for which report is created.
[in]outputDirPath to directory for output results.

Referenced by CbmStsDigitizeQa::Finish(), CbmLitRadLengthQa::Finish(), CbmLitClusteringQa::Finish(), CbmLitTrackingQa::Finish(), CbmLitTofQa::Finish(), CbmLitFitQa::Finish(), CbmLitFieldQa::Init(), and CbmLitFieldApproximationQa::Init().

◆ Create() [3/3]

void CbmSimulationReport::Create ( const std::string &  fileName,
const std::string &  outputDir 
)
inherited

Main function which creates report data.

Same pattern is used here.

Parameters
[in]fileNameName of the file with histograms.
[in]outputDirPath to directory for output results.

◆ CreateCanvas()

TCanvas * CbmReport::CreateCanvas ( const char *  name,
const char *  title,
Int_t  ww,
Int_t  wh 
)
protectedinherited

Create canvas and put it to vector of TCanvases. Canvases created with this function will be automatically saved to image and printed in the report.

Definition at line 82 of file CbmReport.cxx.

References CbmReport::fCanvases.

Referenced by CbmAnaJpsiReport::Draw(), CbmAnaJpsiSuperEventReport::Draw(), CbmAnaJpsiReport::Draw2DCut(), CbmStsDigitizeQaReport::Draw2dHistograms(), DrawAccAndRec(), CbmLitTrackingQaStudyReport::DrawAccAndRec(), CbmAnaJpsiReport::DrawAnalysisStepsH1(), CbmAnaJpsiReport::DrawAnalysisStepsH2(), CbmLitFieldApproximationQaReport::DrawApr(), CbmAnaDielectronStudyReportAll::DrawBgMinv(), CbmAnaJpsiReport::DrawBgSource2D(), CbmAnaJpsiSuperEventReport::DrawComparison(), CbmAnaJpsiReport::DrawCutH1(), CbmLitRadLengthQaReport::DrawDetector(), DrawEfficiency(), CbmLitTrackingQaStudyReport::DrawEfficiency(), DrawEfficiencyHistos(), CbmSimulationReport::DrawH2ByPattern(), CbmStsDigitizeQaReport::DrawHistograms(), DrawHitsHistos(), CbmStsDigitizeQaReport::DrawLogHistograms(), CbmAnaJpsiSuperEventReport::DrawMinvDiffPtBins(), CbmAnaJpsiReport::DrawMinvMismatchesAll(), CbmAnaJpsiSuperEventReport::DrawMinvMismatchPt(), CbmAnaJpsiReport::DrawMinvSAndBgAllSteps(), CbmAnaJpsiSuperEventReport::DrawMinvSignalBg(), CbmAnaJpsiReport::DrawMomEffAllSteps(), CbmAnaJpsiReport::DrawMomMcVsRec(), CbmStsDigitizeQaReport::DrawNofObjectsHistograms(), CbmLitClusteringQaReport::DrawNofObjectsHistograms(), CbmAnaJpsiSuperEventReport::DrawPairSource(), CbmAnaJpsiReport::DrawPairSource(), DrawPionSuppression(), CbmAnaJpsiReport::DrawPtYEfficiencyAll(), CbmLitFitQaReport::DrawResidualAndPullHistograms(), CbmLitClusteringQaReport::DrawResidualsAndPulls(), CbmAnaDielectronStudyReportAll::DrawSBgMinv(), CbmAnaJpsiReport::DrawSignalMinv(), CbmLitFieldApproximationQaReport::DrawSlices(), CbmLitFitQaReport::DrawTrackMomentumAtVertex(), CbmLitFitQaReport::DrawTrackParams(), CbmLitFitQaStudyReport::DrawTrackParamsAtVertex(), CbmLitFitQaReport::DrawTrackParamsAtVertex(), DrawYPt(), CbmLitTofQaReport::FitHistograms(), CbmAnaJpsiSuperEventReport::SignalOverBgAllSteps(), and CbmAnaJpsiReport::SignalOverBgAllSteps().

◆ CreateReportElement()

void CbmReport::CreateReportElement ( ReportType  reportType)
privateinherited

Create concrete CbmReportElement instance based on report type.

Parameters
[in]reportTypeType of the report to be produced.

Definition at line 36 of file CbmReport.cxx.

References CbmReport::fOut, CbmReport::fR, CbmReport::fReportName, CbmReport::fReportType, CbmReport::GetOutputDir(), kCoutReport, kHtmlReport, kLatexReport, and kTextReport.

Referenced by CbmReport::CreateReports().

◆ CreateReports()

void CbmReport::CreateReports ( )
protectedinherited

◆ DeleteReportElement()

void CbmReport::DeleteReportElement ( )
privateinherited

Delete report element. Normally should be called at the end of Create function.

Definition at line 55 of file CbmReport.cxx.

Referenced by CbmReport::CreateReports().

◆ DivideHistos()

void CbmLitTrackingQaReport::DivideHistos ( TH1 *  histo1,
TH1 *  histo2,
TH1 *  histo3,
Double_t  scale 
)
protected

Divide two histograms.

Parameters
[in]histo1Numerator.
[in]histo2Denominator.
[out]histo3Output histogram.
[in]scaleScaling factor.

Definition at line 586 of file CbmLitTrackingQaReport.cxx.

Referenced by CalculateEfficiencyHistos(), and CalculatePionSuppressionHistos().

◆ Draw() [1/2]

void CbmLitTrackingQaReport::Draw ( )
protectedvirtual

◆ Draw() [2/2]

void CbmReport::Draw ( Option_t *  )
inlineprotectedinherited

Inherited from TObject. This method is implemented in order to avoid warnings.

Definition at line 87 of file CbmReport.h.

◆ DrawAccAndRec()

void CbmLitTrackingQaReport::DrawAccAndRec ( const string &  canvasName,
const string &  histNamePattern 
)
protected

Draw accepted and reconstructed tracks histograms.

Parameters
[in]canvasNameName of canvas.
[in]histNamePatternHistogram name pattern.

Definition at line 429 of file CbmLitTrackingQaReport.cxx.

References CbmReport::CreateCanvas(), DrawH1(), CbmHistManager::H1(), CbmHistManager::H1Vector(), CbmSimulationReport::HM(), kLinear, Cbm::Split(), and split().

Referenced by DrawEfficiencyHistos().

◆ DrawEfficiency()

void CbmLitTrackingQaReport::DrawEfficiency ( const string &  canvasName,
const string &  histNamePattern,
string(*)(const string &, Double_t)  labelFormatter 
)
protected

Draw efficiency histogram.

Parameters
[in]canvasNameName of canvas.
[in]histNamePatternHistogram name pattern.

Definition at line 356 of file CbmLitTrackingQaReport.cxx.

References CalcEfficiency(), CbmReport::CreateCanvas(), DrawH1(), DrawMeanEfficiencyLines(), Cbm::FindAndReplace(), CbmSimulationReport::H1(), CbmHistManager::H1Vector(), CbmSimulationReport::HM(), and kLinear.

Referenced by DrawEfficiencyHistos().

◆ DrawEfficiencyHistos()

◆ DrawH1ByPattern() [1/2]

void CbmSimulationReport::DrawH1ByPattern ( const std::string &  histNamePattern)
inherited

Select by pattern TH1 histograms and draw each histogram on separate canvas.

Parameters
[in]histNamePatternName pattern for histogram.

Referenced by CbmStsDigitizeQaReport::Draw(), CbmLitTofQaReport::Draw(), CbmLitClusteringQaReport::Draw(), and CbmLitRadLengthQaReport::DrawDetectorStation().

◆ DrawH1ByPattern() [2/2]

void CbmSimulationReport::DrawH1ByPattern ( const std::string &  histNamePattern,
std::string(*)(const std::string &, const CbmHistManager *)  labelFormatter 
)
inherited

Select by pattern TH1 histograms and draw all histograms on the same canvas.

Parameters
[in]histNamePatternName pattern for histogram.

◆ DrawH2ByPattern()

void CbmSimulationReport::DrawH2ByPattern ( const std::string &  histNamePattern,
HistScale  logx = kLinear,
HistScale  logy = kLinear,
HistScale  logz = kLinear,
const std::string &  drawOpt = "" 
)
inherited

Select by pattern TH2 histograms and draw each histogram on separate canvas.

Parameters
[in]histNamePatternName pattern for histogram.
[in]logxSpecify logarithmic or linear scale for X axis.
[in]logySpecify logarithmic or linear scale for Y axis.
[in]logzSpecify logarithmic or linear scale for Z axis.
[in]drawOptOther drawing options (see ROOT documentation for details).

Definition at line 81 of file CbmSimulationReport.cxx.

References CbmReport::CreateCanvas(), DrawH2(), CbmReport::GetReportName(), CbmHistManager::H2Vector(), and CbmSimulationReport::HM().

Referenced by CbmLitTofQaReport::Draw(), CbmLitClusteringQaReport::Draw(), CbmLitRadLengthQaReport::DrawDetectorStation(), and CbmLitClusteringQaReport::DrawResidualsAndPulls().

◆ DrawHitsHistos() [1/2]

void CbmLitTrackingQaReport::DrawHitsHistos ( )
protected

Draw histograms for hits.

Definition at line 510 of file CbmLitTrackingQaReport.cxx.

References CbmSimulationReport::HM(), and CbmHistManager::ShrinkEmptyBinsH1ByPattern().

Referenced by Draw().

◆ DrawHitsHistos() [2/2]

void CbmLitTrackingQaReport::DrawHitsHistos ( const string &  canvasName,
const string &  hist 
)
protected

Draw histograms for hits. This function automatically check the existence of histograms.

Parameters
[in]canvasNameName of canvas.
[in]histmain name of hits histograms.

Definition at line 519 of file CbmLitTrackingQaReport.cxx.

References CbmReport::CreateCanvas(), DrawH1(), CbmHistManager::H1(), CbmSimulationReport::HM(), kLinear, and kLog.

◆ DrawMeanEfficiencyLines()

void CbmLitTrackingQaReport::DrawMeanEfficiencyLines ( const vector< TH1 * > &  histos,
const vector< Double_t > &  efficiencies 
)
protected

Draw mean efficiency lines on histogram.

Parameters
[in]histosVector of histograms.
[in]efficienciesVector of efficiency numbers.

Definition at line 412 of file CbmLitTrackingQaReport.cxx.

Referenced by DrawEfficiency(), and DrawPionSuppression().

◆ DrawPionSuppression()

void CbmLitTrackingQaReport::DrawPionSuppression ( const string &  canvasName,
const string &  histNamePattern,
string(*)(const string &, Double_t)  labelFormatter 
)
protected

◆ DrawYPt()

void CbmLitTrackingQaReport::DrawYPt ( const string &  canvasName,
const string &  effHistName,
Bool_t  drawOnlyEfficiency = false 
)
protected

Draw Rapidity-Pt histograms.

Parameters
[in]canvasNameName of canvas.
[in]effHistNameName of the efficiency histogram.
[in]drawOnlyEfficiencySpecify whether you want to draw only efficiency histo or including distributions.

Definition at line 475 of file CbmLitTrackingQaReport.cxx.

References CbmReport::CreateCanvas(), DrawH2(), Cbm::FindAndReplace(), CbmHistManager::H2(), and CbmSimulationReport::HM().

Referenced by DrawEfficiencyHistos(), and DrawYPtHistos().

◆ DrawYPtHistos()

void CbmLitTrackingQaReport::DrawYPtHistos ( )
protected

Main function for drawing Rapidity-Pt histograms.

Definition at line 455 of file CbmLitTrackingQaReport.cxx.

References DrawYPt(), fGlobalTrackVariants, and i.

Referenced by Draw().

◆ FillGlobalTrackVariants()

void CbmLitTrackingQaReport::FillGlobalTrackVariants ( )
protected

◆ GetOutputDir()

const std::string& CbmReport::GetOutputDir ( ) const
inlineinherited

◆ GetReportName()

◆ GetReportTitle()

const std::string& CbmReport::GetReportTitle ( ) const
inlineinherited

Definition at line 65 of file CbmReport.h.

References CbmReport::fReportTitle.

◆ H1()

◆ H2()

TH2* CbmSimulationReport::H2 ( const std::string &  name) const
inlineinherited

◆ H3()

TH3* CbmSimulationReport::H3 ( const std::string &  name) const
inlineinherited

Return pointer to TH3 histogram.

Parameters
[in]nameName of histogram.
Returns
pointer to TH3 histogram.

Definition at line 87 of file CbmSimulationReport.h.

References CbmHistManager::H3(), and CbmSimulationReport::HM().

◆ HM()

CbmHistManager* CbmSimulationReport::HM ( ) const
inlineinherited

Return pointer to Histogram manager.

Definition at line 92 of file CbmSimulationReport.h.

References CbmSimulationReport::fHM.

Referenced by CbmLitClusteringQaReport::CalculateEfficiencyHistos(), CalculateEfficiencyHistos(), CalculatePionSuppressionHistos(), CbmStsDigitizeQaReport::Create(), Create(), CbmLitClusteringQaReport::Create(), CbmAnaJpsiReport::Draw(), CbmLitTofQaReport::Draw(), CbmStsDigitizeQaReport::Draw2dHistograms(), DrawAccAndRec(), CbmLitFieldApproximationQaReport::DrawApr(), CbmLitRadLengthQaReport::DrawDetector(), DrawEfficiency(), DrawEfficiencyHistos(), CbmSimulationReport::DrawH2ByPattern(), CbmStsDigitizeQaReport::DrawHistograms(), DrawHitsHistos(), CbmStsDigitizeQaReport::DrawLogHistograms(), CbmStsDigitizeQaReport::DrawNofObjectsHistograms(), CbmLitClusteringQaReport::DrawNofObjectsHistograms(), DrawPionSuppression(), CbmLitFitQaReport::DrawResidualAndPullHistograms(), CbmLitClusteringQaReport::DrawResidualsAndPulls(), CbmLitFieldApproximationQaReport::DrawSlices(), CbmLitFitQaReport::DrawTrackMomentumAtVertex(), CbmLitFitQaReport::DrawTrackParams(), CbmLitFitQaReport::DrawTrackParamsAtVertex(), DrawYPt(), FillGlobalTrackVariants(), CbmLitTofQaReport::FitHistograms(), CbmSimulationReport::H1(), CbmSimulationReport::H2(), CbmSimulationReport::H3(), PrintNofGhosts(), CbmLitClusteringQaReport::PrintNofObjects(), PrintNofObjects(), PrintPionSuppression(), CbmLitFitQaReport::PrintResAndPullRow(), PrintTrackHits(), PrintTrackingEfficiency(), CbmLitClusteringQaReport::ScaleAndShrinkHistograms(), CbmStsDigitizeQaReport::ScaleHistograms(), and CbmAnaJpsiReport::SignalOverBgAllSteps().

◆ Out()

◆ PrintCanvases()

◆ PrintNofGhosts()

string CbmLitTrackingQaReport::PrintNofGhosts ( ) const
protected

Return string with number of ghosts statistics.

Returns
String with number of ghosts statistics.

Definition at line 116 of file CbmLitTrackingQaReport.cxx.

References CbmHistManager::H1(), CbmHistManager::H1Vector(), CbmSimulationReport::HM(), CbmReport::R(), Cbm::Split(), CbmReportElement::TableBegin(), CbmReportElement::TableEnd(), and CbmReportElement::TableRow().

Referenced by Create().

◆ PrintNofObjects()

string CbmLitTrackingQaReport::PrintNofObjects ( ) const
protected

Return string with number of objects statistics.

Returns
String with number of objects statistics.

Definition at line 78 of file CbmLitTrackingQaReport.cxx.

References CbmHistManager::H1Vector(), CbmSimulationReport::HM(), CbmReport::R(), Cbm::Split(), CbmReportElement::TableBegin(), CbmReportElement::TableEnd(), and CbmReportElement::TableRow().

Referenced by Create().

◆ PrintPionSuppression()

string CbmLitTrackingQaReport::PrintPionSuppression ( ) const
protected

Return string with pion suppression efficiency.

Returns
String with pion suppression efficiency.

Definition at line 197 of file CbmLitTrackingQaReport.cxx.

References Cbm::FindAndReplace(), CbmHistManager::H1(), CbmHistManager::H1Vector(), CbmSimulationReport::HM(), CbmReport::R(), Cbm::Split(), split(), CbmReportElement::TableBegin(), CbmReportElement::TableEnd(), and CbmReportElement::TableRow().

Referenced by Create().

◆ PrintTrackHits()

string CbmLitTrackingQaReport::PrintTrackHits ( ) const
protected

Return string with hits histogram statistics (nof all, true, fake hits in track/ring).

Returns
String with hits histogram statistics (nof all, true, fake hits in track/ring).

Definition at line 92 of file CbmLitTrackingQaReport.cxx.

References Cbm::FindAndReplace(), CbmSimulationReport::H1(), CbmHistManager::H1Vector(), CbmSimulationReport::HM(), CbmReport::R(), Cbm::Split(), CbmReportElement::TableBegin(), CbmReportElement::TableEnd(), and CbmReportElement::TableRow().

Referenced by Create().

◆ PrintTrackingEfficiency()

string CbmLitTrackingQaReport::PrintTrackingEfficiency ( Bool_t  includeRich,
Bool_t  isPidEfficiency 
) const
protected

Return string with tracking efficiency.

Parameters
[in]includeRichTrue if RICH detector is included in the tracking efficiency table.
[in]isPidEfficiencyTrue if PID efficiency is plotted.
Returns
String with tracking efficiency.

Definition at line 132 of file CbmLitTrackingQaReport.cxx.

References Cbm::FindAndReplace(), CbmHistManager::H1(), CbmHistManager::H1Vector(), CbmSimulationReport::HM(), CbmReport::R(), Cbm::Split(), split(), CbmReportElement::TableBegin(), CbmReportElement::TableEnd(), and CbmReportElement::TableRow().

Referenced by Create().

◆ R()

◆ SaveCanvasesAsImages()

void CbmReport::SaveCanvasesAsImages ( ) const
protectedinherited

Save all canvases to images.

Definition at line 91 of file CbmReport.cxx.

References CbmReport::fCanvases, CbmReport::GetOutputDir(), i, and Cbm::SaveCanvasAsImage().

Referenced by CbmReport::CreateReports().

◆ SetOutputDir()

void CbmReport::SetOutputDir ( const std::string &  outputDir)
inlineinherited

Definition at line 61 of file CbmReport.h.

References CbmReport::fOutputDir.

◆ SetReportName()

◆ SetReportTitle()

void CbmReport::SetReportTitle ( const std::string &  title)
inlineinherited

◆ WriteCanvases()

void CbmReport::WriteCanvases ( ) const
protectedinherited

Write canvases to file.

Definition at line 101 of file CbmReport.cxx.

References CbmReport::fCanvases, CbmReport::GetOutputDir(), and i.

Member Data Documentation

◆ fCanvases

std::vector<TCanvas*> CbmReport::fCanvases
privateinherited

◆ fGlobalTrackVariants

vector<string> CbmLitTrackingQaReport::fGlobalTrackVariants
protected

◆ fHM

CbmHistManager* CbmSimulationReport::fHM
privateinherited

Definition at line 123 of file CbmSimulationReport.h.

Referenced by CbmSimulationReport::HM().

◆ fOut

std::ostream* CbmReport::fOut
mutableprivateinherited

Definition at line 135 of file CbmReport.h.

Referenced by CbmReport::CreateReportElement(), and CbmReport::Out().

◆ fOutputDir

std::string CbmReport::fOutputDir
privateinherited

Definition at line 132 of file CbmReport.h.

Referenced by CbmReport::GetOutputDir(), and CbmReport::SetOutputDir().

◆ fR

CbmReportElement* CbmReport::fR
privateinherited

Definition at line 134 of file CbmReport.h.

Referenced by CbmReport::CreateReportElement(), and CbmReport::R().

◆ fReportName

std::string CbmReport::fReportName
privateinherited

◆ fReportTitle

std::string CbmReport::fReportTitle
privateinherited

Definition at line 131 of file CbmReport.h.

Referenced by CbmReport::GetReportTitle(), and CbmReport::SetReportTitle().

◆ fReportType

ReportType CbmReport::fReportType
privateinherited

Definition at line 133 of file CbmReport.h.

Referenced by CbmReport::CreateReportElement().


The documentation for this class was generated from the following files: