REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
|
A class to define the properties of a rule inside TRestDataQualityRules.
RESTsoft - Software for Rare Event Searches with TPCs
History of developments:
2020-May: First implementation and concept Javier Galan
Definition at line 31 of file TRestDataQualityRules.h.
#include <TRestDataQualityRules.h>
Public Member Functions | |
void | AddRule (TString type, TString value, TVector2 range, Int_t bit) |
void | ClearRules () |
Int_t | GetBit (unsigned int n) |
std::vector< Int_t > | GetBits () |
Int_t | GetNumberOfRules () const |
TVector2 | GetRange (unsigned int n) |
std::vector< TVector2 > | GetRanges () |
TString | GetType (unsigned int n) |
std::vector< TString > | GetTypes () |
TString | GetValue (unsigned int n) |
std::vector< TString > | GetValues () |
TRestDataQualityRules () | |
Default constructor. More... | |
~TRestDataQualityRules () | |
Default destructor. More... | |
Private Member Functions | |
Bool_t | EvaluateMetadataRule (TString value, TVector2 range) |
Private Attributes | |
std::vector< Int_t > | fBits |
The bit position for the corresponding rule. More... | |
std::vector< TVector2 > | fRanges |
The range where it should be found the value of the rule to enable the corresponding bit. More... | |
std::vector< TString > | fTypes |
The rule type. I.e. obsAverage, metadata, ... More... | |
std::vector< TString > | fValues |
The value of the rule. I.e. observable name, metadata member, ... More... | |
TRestDataQualityRules::TRestDataQualityRules | ( | ) |
Default constructor.
Definition at line 49 of file TRestDataQualityRules.cxx.
TRestDataQualityRules::~TRestDataQualityRules | ( | ) |
Default destructor.
Definition at line 54 of file TRestDataQualityRules.cxx.
|
inline |
Definition at line 48 of file TRestDataQualityRules.h.
|
inline |
Definition at line 55 of file TRestDataQualityRules.h.
|
private |
Definition at line 56 of file TRestDataQualityRules.cxx.
|
inline |
Definition at line 88 of file TRestDataQualityRules.h.
|
inline |
Definition at line 70 of file TRestDataQualityRules.h.
|
inline |
Definition at line 62 of file TRestDataQualityRules.h.
|
inline |
Definition at line 86 of file TRestDataQualityRules.h.
|
inline |
Definition at line 68 of file TRestDataQualityRules.h.
|
inline |
Definition at line 72 of file TRestDataQualityRules.h.
|
inline |
Definition at line 64 of file TRestDataQualityRules.h.
|
inline |
Definition at line 79 of file TRestDataQualityRules.h.
|
inline |
Definition at line 66 of file TRestDataQualityRules.h.
|
private |
The bit position for the corresponding rule.
Definition at line 43 of file TRestDataQualityRules.h.
|
private |
The range where it should be found the value of the rule to enable the corresponding bit.
Definition at line 40 of file TRestDataQualityRules.h.
|
private |
The rule type. I.e. obsAverage, metadata, ...
Definition at line 34 of file TRestDataQualityRules.h.
|
private |
The value of the rule. I.e. observable name, metadata member, ...
Definition at line 37 of file TRestDataQualityRules.h.