CbmRoot
CbmAnaJpsiReport.h
Go to the documentation of this file.
1 
2 #ifndef CBMANAJPSIREPORT_H
3 #define CBMANAJPSIREPORT_H
4 
5 #include "CbmAnaJpsiHist.h"
6 #include "CbmSimulationReport.h"
7 
8 #include "TSystem.h"
9 
10 #include <string>
11 #include <vector>
12 
14 public:
19 
23  virtual ~CbmAnaJpsiReport();
24 
25 protected:
29  virtual void Create();
30 
34  virtual void Draw();
35 
36  void DrawAnalysisStepsH2(const std::string& hName, bool DoDrawEfficiency);
37 
38  void DrawAnalysisStepsH1(const std::string& hName,
39  bool doScale,
40  double min = -1.,
41  double max = -1.);
42 
43  void DrawSourceTypesH1(const std::string& hName, bool doScale = false);
44 
45  void
46  DrawCutH1(const std::string& hName, double cutValue, bool doScale = false);
47 
48  void Draw2DCut(const std::string& hist);
49 
50  void DrawCutDistributions();
51 
52  void DrawSignalMinv();
53 
54  void DrawMinvMismatches(int step);
55 
56  void DrawMinvMismatchesAll();
57 
58  void DrawEfficiency(const std::string& h, const std::string& hMC);
59 
60  void DrawPtYEfficiency(int step);
61 
62  void DrawPtYEfficiencyAll();
63 
64  void SetAnalysisStepLabels(TH1* h);
65 
66  double SignalOverBg(int step);
67 
68  void SignalOverBgAllSteps();
69 
70  void DrawMinvSAndBg(int step);
71 
73 
74  void DrawMomEffAllSteps();
75 
76  void DrawMomMcVsRec();
77 
78  void DrawPairSourceAnaSteps(int step);
79 
80  void DrawPairSource();
81 
82  void DrawBgSource2D(const std::string& histName,
83  const std::vector<std::string>& yLabels,
84  const std::string& zTitle);
85 
86 
88 };
89 
90 #endif /* CBMANAJPSIREPORT_H */
CbmAnaJpsiReport::DrawCutH1
void DrawCutH1(const std::string &hName, double cutValue, bool doScale=false)
Definition: CbmAnaJpsiReport.cxx:227
CbmAnaJpsiReport::DrawMinvMismatches
void DrawMinvMismatches(int step)
Definition: CbmAnaJpsiReport.cxx:292
CbmAnaJpsiReport::DrawPtYEfficiencyAll
void DrawPtYEfficiencyAll()
Definition: CbmAnaJpsiReport.cxx:368
CbmAnaJpsiReport::DrawMinvSAndBgAllSteps
void DrawMinvSAndBgAllSteps()
Definition: CbmAnaJpsiReport.cxx:484
CbmAnaJpsiReport::DrawSourceTypesH1
void DrawSourceTypesH1(const std::string &hName, bool doScale=false)
Definition: CbmAnaJpsiReport.cxx:210
CbmAnaJpsiReport::DrawPairSource
void DrawPairSource()
Definition: CbmAnaJpsiReport.cxx:594
CbmAnaJpsiReport::DrawMomEffAllSteps
void DrawMomEffAllSteps()
Definition: CbmAnaJpsiReport.cxx:502
CbmAnaJpsiReport::SetAnalysisStepLabels
void SetAnalysisStepLabels(TH1 *h)
Definition: CbmAnaJpsiReport.cxx:379
CbmAnaJpsiReport::DrawMinvSAndBg
void DrawMinvSAndBg(int step)
Definition: CbmAnaJpsiReport.cxx:445
CbmAnaJpsiReport::DrawMomMcVsRec
void DrawMomMcVsRec()
Definition: CbmAnaJpsiReport.cxx:558
CbmAnaJpsiReport::Draw
virtual void Draw()
Inherited from CbmSimulationReport.
Definition: CbmAnaJpsiReport.cxx:48
min
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: L1/vectors/P4_F32vec4.h:33
CbmAnaJpsiReport::DrawBgSource2D
void DrawBgSource2D(const std::string &histName, const std::vector< std::string > &yLabels, const std::string &zTitle)
Definition: CbmAnaJpsiReport.cxx:605
CbmAnaJpsiHist.h
CbmAnaJpsiReport::SignalOverBgAllSteps
void SignalOverBgAllSteps()
Definition: CbmAnaJpsiReport.cxx:423
CbmAnaJpsiReport::Create
virtual void Create()
Inherited from CbmSimulationReport.
Definition: CbmAnaJpsiReport.cxx:38
CbmAnaJpsiReport::DrawPtYEfficiency
void DrawPtYEfficiency(int step)
Definition: CbmAnaJpsiReport.cxx:358
h
Data class with information on a STS local track.
CbmAnaJpsiReport::DrawEfficiency
void DrawEfficiency(const std::string &h, const std::string &hMC)
Definition: CbmAnaJpsiReport.cxx:344
CbmAnaJpsiReport::SignalOverBg
double SignalOverBg(int step)
Definition: CbmAnaJpsiReport.cxx:388
CbmAnaJpsiReport::DrawAnalysisStepsH1
void DrawAnalysisStepsH1(const std::string &hName, bool doScale, double min=-1., double max=-1.)
Definition: CbmAnaJpsiReport.cxx:188
CbmAnaJpsiReport::Draw2DCut
void Draw2DCut(const std::string &hist)
Definition: CbmAnaJpsiReport.cxx:239
CbmAnaJpsiReport::DrawCutDistributions
void DrawCutDistributions()
Definition: CbmAnaJpsiReport.cxx:250
CbmAnaJpsiReport::DrawSignalMinv
void DrawSignalMinv()
Definition: CbmAnaJpsiReport.cxx:267
CbmAnaJpsiReport
Definition: CbmAnaJpsiReport.h:13
CbmAnaJpsiReport::ClassDef
ClassDef(CbmAnaJpsiReport, 1)
CbmAnaJpsiReport::~CbmAnaJpsiReport
virtual ~CbmAnaJpsiReport()
Destructor.
Definition: CbmAnaJpsiReport.cxx:36
CbmAnaJpsiReport::DrawMinvMismatchesAll
void DrawMinvMismatchesAll()
Definition: CbmAnaJpsiReport.cxx:328
CbmSimulationReport.h
Base class for simulation reports.
CbmAnaJpsiReport::DrawAnalysisStepsH2
void DrawAnalysisStepsH2(const std::string &hName, bool DoDrawEfficiency)
Definition: CbmAnaJpsiReport.cxx:171
CbmSimulationReport
Base class for simulation reports.
Definition: CbmSimulationReport.h:28
CbmAnaJpsiReport::DrawPairSourceAnaSteps
void DrawPairSourceAnaSteps(int step)
Definition: CbmAnaJpsiReport.cxx:564
CbmAnaJpsiReport::CbmAnaJpsiReport
CbmAnaJpsiReport()
Constructor.
Definition: CbmAnaJpsiReport.cxx:32
max
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: L1/vectors/P4_F32vec4.h:36