CbmRoot
Loading...
Searching...
No Matches
CbmLitClusteringQaReport.h
Go to the documentation of this file.
1/* Copyright (C) 2011-2013 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
12#ifndef CBMLITCLUSTERINGQAREPORT_H_
13#define CBMLITCLUSTERINGQAREPORT_H_
14
15#include "CbmSimulationReport.h"
16
17#include <string>
18using std::string;
19
27 public:
32
37
38 static Double_t CalcEfficiency(const TH1* histRec, const TH1* histAcc, Double_t scale);
39
40 private:
44 virtual void Create();
45
49 virtual void Draw();
50
54 string PrintNofObjects() const;
55
56 void DrawNofObjectsHistograms(const string& detName, const string& parameter);
57
58 void DrawResidualsAndPulls(const string& detName);
59
60 // void DrawAccAndRec(
61 // const string& canvasName,
62 // const string& histNamePattern);
63
64 // void DrawEfficiency(
65 // const string& canvasName,
66 // const string& histNamePattern,
67 // string (*labelFormatter)(const string&, const CbmHistManager*));
68
70
71 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Double_t scale);
72
73 void CalculateEfficiencyHistos(const string& acc, const string& rec, const string& eff);
74
75 ClassDef(CbmLitClusteringQaReport, 1)
76};
77
78#endif /* CBMLITCLUSTERINGQAREPORT_H_ */
Base class for simulation reports.
Simulation report for clustering QA.
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
virtual void Create()
Inherited from CbmSimulationReport.
void CalculateEfficiencyHistos(const string &acc, const string &rec, const string &eff)
virtual ~CbmLitClusteringQaReport()
Destructor.
virtual void Draw()
Inherited from CbmSimulationReport.
void DrawResidualsAndPulls(const string &detName)
string PrintNofObjects() const
Print number of objects table.
static Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale)
void DrawNofObjectsHistograms(const string &detName, const string &parameter)
Base class for simulation reports.