BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnPidQaReport.h
Go to the documentation of this file.
1/**
2 * \file BmnPidQaReport.h
3 * \brief Create report for tracking QA.
4 * \author Andrey Lebedev <andrey.lebedev@gsi.de>
5 * \date 2021
6 */
7#ifndef BMNPIDQAREPORT_H_
8#define BMNPIDQAREPORT_H_
9
10#include "BmnDrawOnline.h"
11#include "BmnSimulationReport.h"
12#include "TEfficiency.h"
13#include "TParticlePDG.h"
14
15#include <string>
16#include <unordered_map>
17#include <vector>
18using std::string;
19using std::unordered_map;
20using std::vector;
21class TH1;
22
23/**
24 * \class BmnPidQaReport
25 * \brief Create report for pid QA.
26
27 */
29{
30 public:
31 /**
32 * \brief Constructor.
33 */
35
36 /**
37 * \brief Constructor with parameters.
38 */
39 BmnPidQaReport(TString name, TString storageName, unordered_map<Double_t, string> massTable);
40
41 /**
42 * \brief Destructor.
43 */
44 virtual ~BmnPidQaReport();
45
46 protected:
47 virtual void Create();
48 /**
49 * \brief Inherited from BmnSimulationReport.
50 */
51 virtual void Draw();
52
53 void DrawOneH1(const TString canvasName, const TString name1, const TString drawOpt);
54 void DrawTwoH1(const TString canvasName, const TString name1, const TString name2, const TString drawOpt);
55 void DrawTwoH2(const TString canvasName, const TString name1, const TString name2);
56 void DrawThreeH2(const TString canvasName, const TString name1, const TString name2, const TString name3);
57 void DrawOneH2(const TString canvasName, const TString name1);
58 void DrawTwoBananas(const TString canvasName, const TString name1, const TString name2);
59 void DrawThreeH1(const TString canvasName, const TString name1, const TString name2, const TString name3);
60
61 void DrawEffCont(const TString canvasName, TEfficiency*, TEfficiency*);
62
63 vector<string> fGlobalTrackVariants;
64
65 //{Mass: Particle name}
66 unordered_map<Double_t, string> fMassTable;
67
70
71 private:
81
83};
84
85#endif /* BMNPIDQAREPORT_H_ */
#define ClassDef(name, id)
virtual void Draw()
Inherited from BmnSimulationReport.
TEfficiency * contTof700
void DrawTwoH2(const TString canvasName, const TString name1, const TString name2)
void DrawTwoH1(const TString canvasName, const TString name1, const TString name2, const TString drawOpt)
void DrawOneH1(const TString canvasName, const TString name1, const TString drawOpt)
TEfficiency * contHitsTof700
TEfficiency * effHitsTof700
void DrawTwoBananas(const TString canvasName, const TString name1, const TString name2)
TEfficiency * effTof400
TEfficiency * effHitsTof400
TEfficiency * contTof400
unordered_map< Double_t, string > fMassTable
TEfficiency * contHitsTof400
void DrawOneH2(const TString canvasName, const TString name1)
BmnDrawOnline * drawHist
void DrawThreeH1(const TString canvasName, const TString name1, const TString name2, const TString name3)
void DrawThreeH2(const TString canvasName, const TString name1, const TString name2, const TString name3)
TEfficiency * effTof700
BmnPidQaReport()
Constructor.
void DrawEffCont(const TString canvasName, TEfficiency *, TEfficiency *)
virtual ~BmnPidQaReport()
Destructor.
vector< string > fGlobalTrackVariants
virtual void Create()
Pure abstract function which is called from public Create() function.
BmnSimulationReport()
Constructor.