BmnRoot
Loading...
Searching...
No Matches
BmnClusteringQaReport.h
Go to the documentation of this file.
1
8#ifndef BMNCLUSTERINGQAREPORT_H_
9#define BMNCLUSTERINGQAREPORT_H_
10
11#include "BmnSimulationReport.h"
14#include <string>
15using std::string;
16
24public:
28 BmnClusteringQaReport(Int_t nOfStationsGEM, Int_t nOfStationsSil);
29
33 virtual ~BmnClusteringQaReport();
34
35 static Double_t CalcEfficiency(
36 const TH1* histRec,
37 const TH1* histAcc,
38 Double_t scale);
39
40private:
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 DrawResXbyStation(const string& canvasName);
61 void DrawResYbyStation(const string& canvasName);
62 void DrawSimXRecXbyStation(const string& canvasName);
63 void DrawSimYRecYbyStation(const string& canvasName);
64 void DrawOccupancyByStation(const string& canvasName);
65
66 void DrawPullXbyStation(const string& canvasName);
67 void DrawPullYbyStation(const string& canvasName);
68
69 // void DrawAccAndRec(
70 // const string& canvasName,
71 // const string& histNamePattern);
72
73 // void DrawEfficiency(
74 // const string& canvasName,
75 // const string& histNamePattern,
76 // string (*labelFormatter)(const string&, const CbmHistManager*));
77
78
79 void DrawEventsInfo(const string& canvasName);
80
81 string PrintEventInfo();
82
83 void ScaleAndShrinkHistograms();
84
85 void DivideHistos(
86 TH1* histo1,
87 TH1* histo2,
88 TH1* histo3,
89 Double_t scale);
90
91 void CalculateEfficiencyHistos(
92 const string& acc,
93 const string& rec,
94 const string& eff);
95
96 BmnGemStripStationSet* fGemDetector;
97
98 Int_t nStationsGEM;
99 Int_t nStationsSil;
100 Int_t nStationsDCH1;
101
102 ClassDef(BmnClusteringQaReport, 1)
103};
104
105#endif /* BMNCLUSTERINGQAREPORT_H_ */
Base class for simulation reports.
Simulation report for clustering QA.
static Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale)
virtual ~BmnClusteringQaReport()
Destructor.
Base class for simulation reports.