Core class for CBM QA checker framework (declaration)
More...
#include <CbmQaCheckerCore.h>
|
| | Core () |
| | Default ctor.
|
| |
| | Core (const Core &)=delete |
| | Copy constructor.
|
| |
| | Core (Core &&)=delete |
| | Move constructor.
|
| |
| | ~Core ()=default |
| | Destructor.
|
| |
| Core & | operator= (const Core &)=delete |
| | Copy assignment operator.
|
| |
| Core & | operator= (Core &&)=delete |
| | Move assignment operator.
|
| |
| void | AddVersion (const char *label, const char *path) |
| | Adds a version of QA output for a comparison.
|
| |
| void | AddDataset (const char *datasetName) |
| | Adds a dataset name.
|
| |
| int | Process (Option_t *comparisonMethod="E") |
| | Runs checking routine.
|
| |
| void | RegisterOutFile (const char *filename) |
| | Registers root-file for storing output.
|
| |
| void | SetDefaultVersion (const char *defaultLabel) |
| | Sets default version label.
|
| |
| void | SetFromYAML (const char *configName) |
| | Sets checker configuration from YAML file.
|
| |
| void | SetInputRootPath (const char *pathName) |
| | Sets root path to input files.
|
| |
| void | SetPvalThreshold (double pVal) |
| | Sets P-value threshold.
|
| |
| void | SetRatioRange (double min, double max) |
| | Sets ratio accepted range.
|
| |
Core class for CBM QA checker framework (declaration)
Class CbmQaCheckerCore defines a core of the QA checker framework and provides a user interface for the comparison routine execution
Definition at line 30 of file CbmQaCheckerCore.h.
◆ Core() [1/3]
◆ Core() [2/3]
| cbm::qa::checker::Core::Core |
( |
const Core & | | ) |
|
|
delete |
◆ Core() [3/3]
| cbm::qa::checker::Core::Core |
( |
Core && | | ) |
|
|
delete |
◆ ~Core()
| cbm::qa::checker::Core::~Core |
( |
| ) |
|
|
default |
◆ AddDataset()
| void Core::AddDataset |
( |
const char * | datasetName | ) |
|
Adds a dataset name.
- Parameters
-
| datasetName | Name of dataset |
Definition at line 35 of file CbmQaCheckerCore.cxx.
◆ AddVersion()
| void Core::AddVersion |
( |
const char * | label, |
|
|
const char * | path ) |
Adds a version of QA output for a comparison.
- Parameters
-
| label | Label of the version |
| path | Path to the QA output directory for this version |
Definition at line 31 of file CbmQaCheckerCore.cxx.
◆ operator=() [1/2]
| Core & cbm::qa::checker::Core::operator= |
( |
const Core & | | ) |
|
|
delete |
Copy assignment operator.
◆ operator=() [2/2]
| Core & cbm::qa::checker::Core::operator= |
( |
Core && | | ) |
|
|
delete |
Move assignment operator.
◆ PrepareOutputFile()
| void Core::PrepareOutputFile |
( |
| ) |
|
|
private |
◆ Process()
| int Core::Process |
( |
Option_t * | comparisonMethod = "E" | ) |
|
Runs checking routine.
- Parameters
-
| opt | Option: "B": suppress canvas creation "C": forces canvas creation (even if there is no difference) "R": draw ratio on canvas "D": draw difference on canvas "E": enables exact comparison "S": enables statistical hypothesis test, where is possible "U": enables ratio comparison "O": enables storage of the comparsion result |
- Returns
- 0: All versions are identical
-
1: Some checks for some histograms did not pass, but the histograms are consistent
-
2: Some histograms are different
Definition at line 47 of file CbmQaCheckerCore.cxx.
◆ RegisterOutFile()
| void Core::RegisterOutFile |
( |
const char * | filename | ) |
|
◆ SetDefaultVersion()
| void cbm::qa::checker::Core::SetDefaultVersion |
( |
const char * | defaultLabel | ) |
|
|
inline |
Sets default version label.
- Parameters
-
| defaultLabel | Name of default label |
If the default version is not provided, the first version will be used as the default one.
Definition at line 83 of file CbmQaCheckerCore.h.
◆ SetFromYAML()
| void Core::SetFromYAML |
( |
const char * | configName | ) |
|
◆ SetInputRootPath()
| void cbm::qa::checker::Core::SetInputRootPath |
( |
const char * | pathName | ) |
|
|
inline |
Sets root path to input files.
- Parameters
-
| pathName | Relative or absolute root path to input the input directories |
Definition at line 91 of file CbmQaCheckerCore.h.
◆ SetPvalThreshold()
| void cbm::qa::checker::Core::SetPvalThreshold |
( |
double | pVal | ) |
|
|
inline |
◆ SetRatioRange()
| void cbm::qa::checker::Core::SetRatioRange |
( |
double | min, |
|
|
double | max ) |
|
inline |
Sets ratio accepted range.
- Parameters
-
| min | Lower boundary |
| max | Upper boundary |
Definition at line 100 of file CbmQaCheckerCore.h.
◆ fpObjDB
| std::shared_ptr<ObjectDB> cbm::qa::checker::Core::fpObjDB = nullptr |
|
private |
The documentation for this class was generated from the following files: