CbmRoot
Loading...
Searching...
No Matches
CbmQaUtil.h
Go to the documentation of this file.
1/* Copyright (C) 2023 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergey Gorbunov [committer] */
4
9
10#ifndef CbmQaUtil_h
11#define CbmQaUtil_h 1
12
13#include <tuple>
14class TH1;
15class TPaveStats;
16
18namespace cbm::qa::util
19{
20
24 TPaveStats* GetHistStats(TH1* pHist);
25
28 std::tuple<double, double> FitKaniadakisGaussian(TH1* pHist);
29
32 void SetLargeStats(TH1* pHist);
33
34} // namespace cbm::qa::util
35
36#endif // CbmQaUtil_h
namespace cbm::qa::util contains useful utilities for CBM QA tasks
Definition CbmQaUtil.cxx:24
TPaveStats * GetHistStats(TH1 *pHist)
Finds/Creates stats window for a histogram.
Definition CbmQaUtil.cxx:28
std::tuple< double, double > FitKaniadakisGaussian(TH1 *pHist)
Fit a histogram with Kaniadakis Gaussian Distribution.
Definition CbmQaUtil.cxx:88
void SetLargeStats(TH1 *pHist)
Set large stat. window.