CbmRoot
CbmLitClusteringQaReport.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITCLUSTERINGQAREPORT_H_
9 #define CBMLITCLUSTERINGQAREPORT_H_
10 
11 #include "CbmSimulationReport.h"
12 #include <string>
13 using std::string;
14 
22 public:
27 
31  virtual ~CbmLitClusteringQaReport();
32 
33  static Double_t
34  CalcEfficiency(const TH1* histRec, const TH1* histAcc, Double_t scale);
35 
36 private:
40  virtual void Create();
41 
45  virtual void Draw();
46 
50  string PrintNofObjects() const;
51 
52  void DrawNofObjectsHistograms(const string& detName, const string& parameter);
53 
54  void DrawResidualsAndPulls(const string& detName);
55 
56  // void DrawAccAndRec(
57  // const string& canvasName,
58  // const string& histNamePattern);
59 
60  // void DrawEfficiency(
61  // const string& canvasName,
62  // const string& histNamePattern,
63  // string (*labelFormatter)(const string&, const CbmHistManager*));
64 
66 
67  void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Double_t scale);
68 
69  void CalculateEfficiencyHistos(const string& acc,
70  const string& rec,
71  const string& eff);
72 
73  ClassDef(CbmLitClusteringQaReport, 1)
74 };
75 
76 #endif /* CBMLITCLUSTERINGQAREPORT_H_ */
CbmLitClusteringQaReport
Simulation report for clustering QA.
Definition: CbmLitClusteringQaReport.h:21
CbmLitClusteringQaReport::~CbmLitClusteringQaReport
virtual ~CbmLitClusteringQaReport()
Destructor.
Definition: CbmLitClusteringQaReport.cxx:57
CbmLitClusteringQaReport::PrintNofObjects
string PrintNofObjects() const
Print number of objects table.
Definition: CbmLitClusteringQaReport.cxx:73
CbmLitClusteringQaReport::DivideHistos
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
Definition: CbmLitClusteringQaReport.cxx:238
CbmLitClusteringQaReport::CbmLitClusteringQaReport
CbmLitClusteringQaReport()
Constructor.
Definition: CbmLitClusteringQaReport.cxx:53
CbmLitClusteringQaReport::CalculateEfficiencyHistos
void CalculateEfficiencyHistos(const string &acc, const string &rec, const string &eff)
Definition: CbmLitClusteringQaReport.cxx:249
CbmLitClusteringQaReport::DrawResidualsAndPulls
void DrawResidualsAndPulls(const string &detName)
Definition: CbmLitClusteringQaReport.cxx:161
CbmLitClusteringQaReport::DrawNofObjectsHistograms
void DrawNofObjectsHistograms(const string &detName, const string &parameter)
Definition: CbmLitClusteringQaReport.cxx:133
CbmLitClusteringQaReport::Draw
virtual void Draw()
Inherited from CbmSimulationReport.
Definition: CbmLitClusteringQaReport.cxx:87
CbmSimulationReport.h
Base class for simulation reports.
CbmLitClusteringQaReport::CalcEfficiency
static Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale)
Definition: CbmLitClusteringQaReport.cxx:200
CbmSimulationReport
Base class for simulation reports.
Definition: CbmSimulationReport.h:28
CbmLitClusteringQaReport::Create
virtual void Create()
Inherited from CbmSimulationReport.
Definition: CbmLitClusteringQaReport.cxx:59
CbmLitClusteringQaReport::ScaleAndShrinkHistograms
void ScaleAndShrinkHistograms()
Definition: CbmLitClusteringQaReport.cxx:211