CbmRoot
Loading...
Searching...
No Matches
CbmAnaJpsiReport.h
Go to the documentation of this file.
1/* Copyright (C) 2015-2016 UGiessen, JINR-LIT
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Semen Lebedev [committer], Adrian Amatus Weber, Florian Uhlig */
4
5#ifndef CBMANAJPSIREPORT_H
6#define CBMANAJPSIREPORT_H
7
8#include "CbmAnaJpsiHist.h"
10
11#include "TSystem.h"
12
13#include <string>
14#include <vector>
15
17public:
22
26 virtual ~CbmAnaJpsiReport();
27
28protected:
32 virtual void Create();
33
37 virtual void Draw();
38
39 void DrawAnalysisStepsH2(const std::string& hName, bool DoDrawEfficiency);
40
41 void DrawAnalysisStepsH1(const std::string& hName, bool doScale, double min = -1., double max = -1.);
42
43 void DrawSourceTypesH1(const std::string& hName, bool doScale = false);
44
45 void DrawCutH1(const std::string& hName, double cutValue, bool doScale = false);
46
47 void Draw2DCut(const std::string& hist);
48
50
51 void DrawSignalMinv();
52
53 void DrawMinvMismatches(int step);
54
56
57 void DrawEfficiency(const std::string& h, const std::string& hMC);
58
59 void DrawPtYEfficiency(int step);
60
62
63 void SetAnalysisStepLabels(TH1* h);
64
65 double SignalOverBg(int step);
66
68
69 void DrawMinvSAndBg(int step);
70
72
73 void DrawMomEffAllSteps();
74
75 void DrawMomMcVsRec();
76
77 void DrawPairSourceAnaSteps(int step);
78
79 void DrawPairSource();
80
81 void DrawBgSource2D(const std::string& histName, const std::vector<std::string>& yLabels, const std::string& zTitle);
82
83
85};
86
87#endif /* CBMANAJPSIREPORT_H */
Base class for simulation reports.
void DrawBgSource2D(const std::string &histName, const std::vector< std::string > &yLabels, const std::string &zTitle)
CbmAnaJpsiReport()
Constructor.
void DrawMinvSAndBg(int step)
virtual void Create()
Inherited from CbmSimulationReport.
void DrawMinvMismatches(int step)
void DrawAnalysisStepsH2(const std::string &hName, bool DoDrawEfficiency)
void DrawCutH1(const std::string &hName, double cutValue, bool doScale=false)
void SetAnalysisStepLabels(TH1 *h)
virtual void Draw()
Inherited from CbmSimulationReport.
ClassDef(CbmAnaJpsiReport, 1)
void DrawAnalysisStepsH1(const std::string &hName, bool doScale, double min=-1., double max=-1.)
void DrawSourceTypesH1(const std::string &hName, bool doScale=false)
void Draw2DCut(const std::string &hist)
virtual ~CbmAnaJpsiReport()
Destructor.
double SignalOverBg(int step)
void DrawPairSourceAnaSteps(int step)
void DrawEfficiency(const std::string &h, const std::string &hMC)
void DrawPtYEfficiency(int step)
Base class for simulation reports.
Data class with information on a STS local track.