|
CbmRoot
|
A collection of tools for online QA object conversions. More...
#include <CbmQaOnlineInterface.h>
Static Public Member Functions | |
| static void | AddSlice (const H1D &src, double value, TH2D *dst) |
| Fills a slice of a histogram of a higher dimension for a given value (....) | |
| static void | AddSlice (const Prof1D &src, double value, TProfile2D *dst) |
| Fills a slice of a profile of a higher dimension for a given value (....) | |
| static TH1D * | ROOTHistogram (const H1D &hist) |
| Converts histogram H1D to ROOT histogram TH1D. | |
| static TH2D * | ROOTHistogram (const H2D &hist) |
| Converts histogram H2D to ROOT histogram TH2D. | |
| static TProfile * | ROOTHistogram (const Prof1D &prof) |
| Converts profile Prof1D to ROOT TProfile. | |
| static TProfile2D * | ROOTHistogram (const Prof2D &prof) |
| Converts profile Prof2D to ROOT TProfile2D. | |
| static bool | ConvertOutput (const std::string &inFilename, std::string outFilename="") |
| Converts histograms from a .qa.out file from the online binary to the ROOT format and stores them into a ROOT file. | |
A collection of tools for online QA object conversions.
Definition at line 64 of file CbmQaOnlineInterface.h.
|
static |
Fills a slice of a histogram of a higher dimension for a given value (....)
| src | 1D source histogram |
| value | Slice coordinate |
| dst | Destination 2D-histogram |
Definition at line 31 of file CbmQaOnlineInterface.cxx.
References cbm::qa::RootHistogramAccessor< RootHistogram >::AddSliceFromQaHistogram().
Referenced by cbm::services::histserv::Application::ReadHistogramExtendedTsId().
|
static |
Fills a slice of a profile of a higher dimension for a given value (....)
| src | 1D source profile |
| value | Slice coordinate |
| dst | Destination 2D-profile |
Definition at line 39 of file CbmQaOnlineInterface.cxx.
References cbm::qa::RootHistogramAccessor< RootHistogram >::AddSliceFromQaHistogram().
|
static |
Converts histograms from a .qa.out file from the online binary to the ROOT format and stores them into a ROOT file.
| inFilename | Name of input qa.out file |
| outFilename | Name of output ROOT file |
Definition at line 122 of file CbmQaOnlineInterface.cxx.
References ROOTHistogram().
|
static |
Converts histogram H1D to ROOT histogram TH1D.
| hist | 1D-histogram |
Definition at line 47 of file CbmQaOnlineInterface.cxx.
References cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMaxX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMinX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetName(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetNbinsX(), and cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetTitle().
Referenced by ConvertOutput(), and cbm::services::histserv::Application::ReadHistogram().
|
static |
Converts histogram H2D to ROOT histogram TH2D.
| hist | 1D-histogram |
Definition at line 62 of file CbmQaOnlineInterface.cxx.
References cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMaxX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMaxY(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMinX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMinY(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetName(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetNbinsX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetNbinsY(), and cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetTitle().
|
static |
Converts profile Prof1D to ROOT TProfile.
| prof | 1D-profile |
Definition at line 81 of file CbmQaOnlineInterface.cxx.
References cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMaxX(), cbm::algo::qa::Prof1D::GetMaxY(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMinX(), cbm::algo::qa::Prof1D::GetMinY(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetName(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetNbinsX(), and cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetTitle().
|
static |
Converts profile Prof2D to ROOT TProfile2D.
| prof | 2D-profile |
Definition at line 100 of file CbmQaOnlineInterface.cxx.
References cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMaxX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMaxY(), cbm::algo::qa::Prof2D::GetMaxZ(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMinX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetMinY(), cbm::algo::qa::Prof2D::GetMinZ(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetName(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetNbinsX(), cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetNbinsY(), and cbm::algo::qa::Histogram< Axes, Storage, TotalSums >::GetTitle().