A collection of tools for online QA object conversions.
More...
#include <CbmQaOnlineInterface.h>
|
| 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.
◆ AddSlice() [1/2]
| void OnlineInterface::AddSlice |
( |
const H1D & | src, |
|
|
double | value, |
|
|
TH2D * | dst ) |
|
static |
Fills a slice of a histogram of a higher dimension for a given value (....)
- Parameters
-
| src | 1D source histogram |
| value | Slice coordinate |
| dst | Destination 2D-histogram |
Definition at line 31 of file CbmQaOnlineInterface.cxx.
◆ AddSlice() [2/2]
| void OnlineInterface::AddSlice |
( |
const Prof1D & | src, |
|
|
double | value, |
|
|
TProfile2D * | dst ) |
|
static |
Fills a slice of a profile of a higher dimension for a given value (....)
- Parameters
-
| src | 1D source profile |
| value | Slice coordinate |
| dst | Destination 2D-profile |
Definition at line 39 of file CbmQaOnlineInterface.cxx.
◆ ConvertOutput()
| bool OnlineInterface::ConvertOutput |
( |
const std::string & | inFilename, |
|
|
std::string | outFilename = "" ) |
|
static |
Converts histograms from a .qa.out file from the online binary to the ROOT format and stores them into a ROOT file.
- Parameters
-
| inFilename | Name of input qa.out file |
| outFilename | Name of output ROOT file |
- Returns
- true Success
-
false Failure
- Note
- If outFilename is not specified, in will be defined as inFilename with extention set to ".root"
Definition at line 122 of file CbmQaOnlineInterface.cxx.
◆ ROOTHistogram() [1/4]
| TH1D * OnlineInterface::ROOTHistogram |
( |
const H1D & | hist | ) |
|
|
static |
Converts histogram H1D to ROOT histogram TH1D.
- Parameters
-
- Note
- Allocates memory on heap for the ROOT histogram
Definition at line 47 of file CbmQaOnlineInterface.cxx.
◆ ROOTHistogram() [2/4]
| TH2D * OnlineInterface::ROOTHistogram |
( |
const H2D & | hist | ) |
|
|
static |
Converts histogram H2D to ROOT histogram TH2D.
- Parameters
-
- Note
- Allocates memory on heap for the ROOT histogram
Definition at line 62 of file CbmQaOnlineInterface.cxx.
◆ ROOTHistogram() [3/4]
| TProfile * OnlineInterface::ROOTHistogram |
( |
const Prof1D & | prof | ) |
|
|
static |
Converts profile Prof1D to ROOT TProfile.
- Parameters
-
- Note
- Allocates memory on heap for the ROOT histogram
Definition at line 81 of file CbmQaOnlineInterface.cxx.
◆ ROOTHistogram() [4/4]
| TProfile2D * OnlineInterface::ROOTHistogram |
( |
const Prof2D & | prof | ) |
|
|
static |
The documentation for this class was generated from the following files: