Go to the documentation of this file.
7 #ifndef CBM_ANA_DIELECTRON_TASK_DRAW_H
8 #define CBM_ANA_DIELECTRON_TASK_DRAW_H
42 const std::string& outputDir =
"",
44 Bool_t drawSig =
true);
68 TH1D*
H1(
const std::string& name);
74 TH2D*
H2(
const std::string& name);
100 const std::string& name,
101 const std::string& option);
108 const std::string& name,
109 const std::string& title);
179 const std::string& sigOption,
180 double cutValue = -999999.);
187 double cutCrossX = -999999.,
188 double cutCrossY = -999999.);
205 Bool_t logy =
false);
228 const std::string& histName,
229 const std::vector<std::string>& yLabels,
231 const std::string& zTitle);
void DrawPtYDistribution(int step, bool drawAnaStep=true)
void DrawMismatchesAndGhosts()
ClassDef(CbmAnaDielectronTaskDraw, 1)
void DrawSourcesBgPairsEpEm(int step, bool inPercent, bool drawAnaStep=true)
void DrawRapidityDistributionAll()
void DrawPtYEfficiencyAll()
void SOverBg(CbmLmvmAnalysisSteps step)
Fit signal histogram using Fit("gaus"). Calculate S/BG ratio in 2 sigma region. Print summary table o...
void Draw1DHistoForEachAnalysisStep(const std::string &hist, Bool_t logy=false)
TH2D * CreateSignificanceH2D(TH2D *signal, TH2D *bg, const std::string &name, const std::string &title)
void DrawBgSource2D(const std::string &canvasName, const std::string &histName, const std::vector< std::string > &yLabels, double scale, const std::string &zTitle)
void DrawBgSourceTracks()
void SaveCanvasToImage()
Save all created canvases to images.
virtual ~CbmAnaDielectronTaskDraw()
void Draw1DCut(const std::string &hName, const std::string &sigOption, double cutValue=-999999.)
void DrawMinvSandBg(int step)
void SetAnalysisStepLabels(TH1 *h)
Set labels of X axis usinf analysis steps names.
TH1D * H1(const std::string &name)
Return TH1D* pointer to the specified histogram.
Data class with information on a STS local track.
void DrawEfficiencyOnHist(TH1 *h1, TH1 *h2, Double_t xPos, Double_t yPos)
Draw an integrated efficiency on a histogram (100.*h1->GetEntries()/h2->GetEntries())....
void DrawPPAngleMCSignal()
void Draw2DCut(const std::string &hist, double cutCrossX=-999999., double cutCrossY=-999999.)
TH2D * H2(const std::string &name)
Return TH2D* pointer to the specified histogram.
void Draw1DSourceTypes(const std::string &hName, bool doScale=true)
CbmAnaDielectronTaskDraw(const CbmAnaDielectronTaskDraw &)
void DrawMinvForEachAnalysisStep()
void DrawSourcesBgPairsAll()
CbmAnaDielectronTaskDraw & operator=(const CbmAnaDielectronTaskDraw &)
void DrawMomentumEfficiencyAll()
void DrawBgSourcesVsMomentum()
void DrawMinvSource(int step, bool drawAnaStep=true)
void DrawCutDistributions()
void DrawHistFromFile(const std::string &fileName, const std::string &outputDir="", Bool_t useMvd=true, Bool_t drawSig=true)
Implement functionality of drawing histograms in the macro from the specified file,...
void Draw2DCutTriangle(double xCross, double yCross)
void DrawMomentumDistributionAll()
TH1D * CreateSignificanceH1D(TH1D *s, TH1D *bg, const std::string &name, const std::string &option)
void DrawPtYDistributionAll()
void RebinMinvHist()
Rebin minv histograms for better drawing. Should be called after calculation of S/BG ratios.
void DrawPtYEfficiency(int step, bool drawAnaStep=true)
Draw efficiency in dependence on Pt and Rapidity. Efficiency is normalized to the previous step.
CbmAnaDielectronTaskDraw()