CbmRoot
Loading...
Searching...
No Matches
cbm::qa::checker Namespace Reference

Classes

class  Core
 Core class for CBM QA checker framework (declaration) More...
 
class  FileHandler
 Handler for single files, created from different QA versions. More...
 
class  Hist1DHandler
 Handler for 1D-histograms. More...
 
class  Hist2DHandler
 Specification of the handler for TProfile class. More...
 
class  ObjectDB
 A data base class for processed objects. More...
 
class  ObjectHandler
 Base abstract class for object handler. More...
 
class  Profile1DHandler
 Specification of the handler for TProfile class. More...
 

Typedefs

using MapStrToStr_t = std::unordered_map<std::string, std::string>
 
using MapStrToStrVect_t = std::unordered_map<std::string, std::vector<std::string>>
 
template<class T >
using VectRange_t = boost::iterator_range<typename std::vector<T>::iterator>
 

Enumerations

enum class  ECmpMethod : uint8_t { Exact , Ratio , Chi2 , END }
 Comparison method. More...
 
enum class  ECmpInference : uint8_t { StronglyEqual = 0 , WeaklyEqual , Different }
 The object comparison inference. More...
 

Functions

std::string ToString (ECmpInference inference)
 String representation of the ECmpInference enum.
 

Variables

constexpr double kLegendSize [2] = {.3, .05}
 width and height in % of the pad size
 
constexpr float kRatioMin = 0.95
 Minimal acceptable ratio.
 
constexpr float kRatioMax = 1.05
 Maximal acceptable ratio.
 
constexpr float kPvalThrsh = 0.05
 P-value threshold.
 

Typedef Documentation

◆ MapStrToStr_t

using cbm::qa::checker::MapStrToStr_t = std::unordered_map<std::string, std::string>

Definition at line 55 of file CbmQaCheckerTypedefs.h.

◆ MapStrToStrVect_t

using cbm::qa::checker::MapStrToStrVect_t = std::unordered_map<std::string, std::vector<std::string>>

Definition at line 56 of file CbmQaCheckerTypedefs.h.

◆ VectRange_t

template<class T >
using cbm::qa::checker::VectRange_t = boost::iterator_range<typename std::vector<T>::iterator>

Definition at line 59 of file CbmQaCheckerTypedefs.h.

Enumeration Type Documentation

◆ ECmpInference

enum class cbm::qa::checker::ECmpInference : uint8_t
strong

The object comparison inference.

Note
The sequence of the elements is important, please, do not shuffle!
Enumerator
StronglyEqual 

All the comparison methods gave equality.

WeaklyEqual 

At least one of the comparison methods showed equality.

Different 

Neither of the comparison methods showed equality.

Definition at line 36 of file CbmQaCheckerTypedefs.h.

◆ ECmpMethod

enum class cbm::qa::checker::ECmpMethod : uint8_t
strong

Comparison method.

Enumerator
Exact 

exact equality (point-by-point, error-by-error)

Ratio 

ratio equality (max and min ratios do not exceed a required range)

Chi2 

equality within a chi2 hypothesis test

END 

end of enumeration

Definition at line 25 of file CbmQaCheckerTypedefs.h.

Function Documentation

◆ ToString()

std::string cbm::qa::checker::ToString ( ECmpInference inference)
inline

String representation of the ECmpInference enum.

Definition at line 44 of file CbmQaCheckerTypedefs.h.

References Different, StronglyEqual, and WeaklyEqual.

Referenced by cbm::qa::checker::Hist1DHandler::Compare(), and cbm::qa::checker::Core::Process().

Variable Documentation

◆ kLegendSize

double cbm::qa::checker::kLegendSize[2] = {.3, .05}
constexpr

width and height in % of the pad size

Definition at line 62 of file CbmQaCheckerTypedefs.h.

◆ kPvalThrsh

float cbm::qa::checker::kPvalThrsh = 0.05
constexpr

P-value threshold.

Definition at line 65 of file CbmQaCheckerTypedefs.h.

◆ kRatioMax

float cbm::qa::checker::kRatioMax = 1.05
constexpr

Maximal acceptable ratio.

Definition at line 64 of file CbmQaCheckerTypedefs.h.

◆ kRatioMin

float cbm::qa::checker::kRatioMin = 0.95
constexpr

Minimal acceptable ratio.

Definition at line 63 of file CbmQaCheckerTypedefs.h.