BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
11
#include "
BmnGemStripStationSet.h
"
12
#include "
BmnGemStripStationSet_RunSpring2017.h
"
13
#include "
BmnSimulationReport.h
"
14
15
#include <string>
16
using
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
*/
24
class
BmnClusteringQaReport
:
public
BmnSimulationReport
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
81
void
ScaleAndShrinkHistograms
();
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
87
BmnGemStripStationSet
*
fGemDetector
;
88
89
Int_t
nStationsGEM
;
90
Int_t
nStationsSil
;
91
Int_t
nStationsDCH1
;
92
93
ClassDef
(
BmnClusteringQaReport
, 1)
94
};
95
96
#endif
/* BMNCLUSTERINGQAREPORT_H_ */
Int_t
int Int_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
BmnClusteringQaReport::ScaleAndShrinkHistograms
void ScaleAndShrinkHistograms()
Definition
BmnClusteringQaReport.cxx:400
BmnClusteringQaReport::Create
virtual void Create()
Inherited from CbmSimulationReport.
Definition
BmnClusteringQaReport.cxx:54
BmnClusteringQaReport::nStationsGEM
Int_t nStationsGEM
Definition
BmnClusteringQaReport.h:89
BmnClusteringQaReport::fGemDetector
BmnGemStripStationSet * fGemDetector
Definition
BmnClusteringQaReport.h:87
BmnClusteringQaReport::DrawPullYbyStation
void DrawPullYbyStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:231
BmnClusteringQaReport::DrawResYbyStation
void DrawResYbyStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:106
BmnClusteringQaReport::DivideHistos
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Double_t scale)
Definition
BmnClusteringQaReport.cxx:402
BmnClusteringQaReport::CalcEfficiency
static Double_t CalcEfficiency(const TH1 *histRec, const TH1 *histAcc, Double_t scale)
Definition
BmnClusteringQaReport.cxx:391
BmnClusteringQaReport::DrawSimXRecXbyStation
void DrawSimXRecXbyStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:124
BmnClusteringQaReport::DrawEventsInfo
void DrawEventsInfo(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:75
BmnClusteringQaReport::DrawOccupancyByStation
void DrawOccupancyByStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:160
BmnClusteringQaReport::DrawResidualsAndPulls
void DrawResidualsAndPulls(const string &detName)
Definition
BmnClusteringQaReport.cxx:354
BmnClusteringQaReport::DrawSimYRecYbyStation
void DrawSimYRecYbyStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:142
BmnClusteringQaReport::DrawResXbyStation
void DrawResXbyStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:88
BmnClusteringQaReport::DrawPullXbyStation
void DrawPullXbyStation(const string &canvasName)
Definition
BmnClusteringQaReport.cxx:188
BmnClusteringQaReport::nStationsDCH1
Int_t nStationsDCH1
Definition
BmnClusteringQaReport.h:91
BmnClusteringQaReport::PrintEventInfo
string PrintEventInfo()
Definition
BmnClusteringQaReport.cxx:64
BmnClusteringQaReport::DrawNofObjectsHistograms
void DrawNofObjectsHistograms(const string &detName, const string ¶meter)
Definition
BmnClusteringQaReport.cxx:334
BmnClusteringQaReport::BmnClusteringQaReport
BmnClusteringQaReport(Int_t nOfStationsGEM, Int_t nOfStationsSil)
Constructor.
Definition
BmnClusteringQaReport.cxx:43
BmnClusteringQaReport::~BmnClusteringQaReport
virtual ~BmnClusteringQaReport()
Destructor.
Definition
BmnClusteringQaReport.cxx:52
BmnClusteringQaReport::PrintNofObjects
string PrintNofObjects() const
Print number of objects table.
Definition
BmnClusteringQaReport.cxx:274
BmnClusteringQaReport::nStationsSil
Int_t nStationsSil
Definition
BmnClusteringQaReport.h:90
BmnClusteringQaReport::CalculateEfficiencyHistos
void CalculateEfficiencyHistos(const string &acc, const string &rec, const string &eff)
Definition
BmnClusteringQaReport.cxx:411
BmnClusteringQaReport::Draw
virtual void Draw()
Inherited from CbmSimulationReport.
Definition
BmnClusteringQaReport.cxx:288
BmnGemStripStationSet
Definition
BmnGemStripStationSet.h:15
BmnSimulationReport::BmnSimulationReport
BmnSimulationReport()
Constructor.
Definition
BmnSimulationReport.cxx:27
TH1
BmnGemStripStationSet.h
BmnGemStripStationSet_RunSpring2017.h
BmnSimulationReport.h
Base class for simulation reports.
install
include
BmnClusteringQaReport.h
Generated on
for BmnRoot by
1.17.0