|
CbmRoot
|
Automatic checker of QA results. More...
#include <CbmLitResultChecker.h>
Public Member Functions | |
| CbmLitResultChecker () | |
| Constructor. | |
| virtual | ~CbmLitResultChecker () |
| Destructor. | |
| void | DoCheck (const string &qaFile, const string &idealFile, const string &checkFile) |
| Check QA results based on predefined values. | |
| void | DoCheck (const ptree &qa, const ptree &ideal, ptree &out) |
| Check reconstruction quality results. | |
Private Member Functions | |
| void | PropertyTreeToMap (const string &path, const ptree &pt, map< string, Double_t > &mymap) const |
| Build recursively map out of property tree. | |
Automatic checker of QA results.
Checking procedure compares two property trees: "quality" property tree obtained from QA procedure vs. "ideal" property tree containing predefined limits for each value. Results are stored in the third property tree as "0" - "1" if value was compared to ideal result or "-1" if value was not compared.
Definition at line 39 of file CbmLitResultChecker.h.
| CbmLitResultChecker::CbmLitResultChecker | ( | ) |
Constructor.
Definition at line 22 of file CbmLitResultChecker.cxx.
|
virtual |
Destructor.
Definition at line 24 of file CbmLitResultChecker.cxx.
| void CbmLitResultChecker::DoCheck | ( | const ptree & | qa, |
| const ptree & | ideal, | ||
| ptree & | out ) |
Check reconstruction quality results.
| [in] | qa | Reconstruction quality results stored as property tree. |
| [in] | ideal | Ideal reconstruction quality results as property tree. |
| [out] | out | Output property tree. |
Definition at line 54 of file CbmLitResultChecker.cxx.
References PropertyTreeToMap(), and v.
| void CbmLitResultChecker::DoCheck | ( | const string & | qaFile, |
| const string & | idealFile, | ||
| const string & | checkFile ) |
Check QA results based on predefined values.
| [in] | qaFile | File name of QA results. |
| [in] | idealFile | File name of predefined values. |
| [out] | checkFile | File name for output results. |
Definition at line 26 of file CbmLitResultChecker.cxx.
References DoCheck().
Referenced by DoCheck().
|
private |
Build recursively map out of property tree.
| [in] | path | Initial path. Must be "". |
| [in] | pt | Input property tree. |
| [out] | mymap | Output map<"property name", "value">. |
Definition at line 88 of file CbmLitResultChecker.cxx.
References PropertyTreeToMap(), and v.
Referenced by DoCheck(), and PropertyTreeToMap().