BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnClusteringQaReport.h
Go to the documentation of this file.
1/**
2 * \file BmnClusteringQaReport.h
3 * \brief Simulation report for clustering QA.
4 * \author Andrey Lebedev <andrey.lebedev@gsi.de>
5 * \date 2011
6 */
7
8#ifndef BMNCLUSTERINGQAREPORT_H_
9#define BMNCLUSTERINGQAREPORT_H_
10
13#include "BmnSimulationReport.h"
14
15#include <string>
16using std::string;
17
18/**
19 * \class BmnClusteringQaReport
20 * \brief Simulation report for clustering QA.
21 * \author Andrey Lebedev <andrey.lebedev@gsi.de>
22 * \date 2011
23 */
25{
26 public:
27 /**
28 * \brief Constructor.
29 */
30 BmnClusteringQaReport(Int_t nOfStationsGEM, Int_t nOfStationsSil);
31
32 /**
33 * \brief Destructor.
34 */
35 virtual ~BmnClusteringQaReport();
36
37 static Double_t CalcEfficiency(const TH1* histRec, const TH1* histAcc, Double_t scale);
38
39 private:
40 /**
41 * \brief Inherited from CbmSimulationReport.
42 */
43 virtual void Create();
44
45 /**
46 * \brief Inherited from CbmSimulationReport.
47 */
48 virtual void Draw();
49
50 /**
51 * \brief Print number of objects table.
52 */
53 string PrintNofObjects() const;
54
55 void DrawNofObjectsHistograms(const string& detName, const string& parameter);
56
57 void DrawResidualsAndPulls(const string& detName);
58
59 void DrawResXbyStation(const string& canvasName);
60 void DrawResYbyStation(const string& canvasName);
61 void DrawSimXRecXbyStation(const string& canvasName);
62 void DrawSimYRecYbyStation(const string& canvasName);
63 void DrawOccupancyByStation(const string& canvasName);
64
65 void DrawPullXbyStation(const string& canvasName);
66 void DrawPullYbyStation(const string& canvasName);
67
68 // void DrawAccAndRec(
69 // const string& canvasName,
70 // const string& histNamePattern);
71
72 // void DrawEfficiency(
73 // const string& canvasName,
74 // const string& histNamePattern,
75 // string (*labelFormatter)(const string&, const CbmHistManager*));
76
77 void DrawEventsInfo(const string& canvasName);
78
79 string PrintEventInfo();
80
82
83 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Double_t scale);
84
85 void CalculateEfficiencyHistos(const string& acc, const string& rec, const string& eff);
86
88
92
94};
95
96#endif /* BMNCLUSTERINGQAREPORT_H_ */
int Int_t
double Double_t
#define ClassDef(name, id)
virtual void Create()
Inherited from CbmSimulationReport.
BmnGemStripStationSet * fGemDetector
void DrawPullYbyStation(const string &canvasName)
void DrawResYbyStation(const string &canvasName)
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
static Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale)
void DrawSimXRecXbyStation(const string &canvasName)
void DrawEventsInfo(const string &canvasName)
void DrawOccupancyByStation(const string &canvasName)
void DrawResidualsAndPulls(const string &detName)
void DrawSimYRecYbyStation(const string &canvasName)
void DrawResXbyStation(const string &canvasName)
void DrawPullXbyStation(const string &canvasName)
void DrawNofObjectsHistograms(const string &detName, const string &parameter)
BmnClusteringQaReport(Int_t nOfStationsGEM, Int_t nOfStationsSil)
Constructor.
virtual ~BmnClusteringQaReport()
Destructor.
string PrintNofObjects() const
Print number of objects table.
void CalculateEfficiencyHistos(const string &acc, const string &rec, const string &eff)
virtual void Draw()
Inherited from CbmSimulationReport.
BmnSimulationReport()
Constructor.
Base class for simulation reports.