CbmRoot
CbmLitResultChecker.h
Go to the documentation of this file.
1 
7 #ifndef CBMLITRESULTCHECKER_H_
8 #define CBMLITRESULTCHECKER_H_
9 
10 #include "TObject.h"
11 #include <boost/property_tree/ptree.hpp>
12 #include <map>
13 #include <string>
14 using boost::property_tree::ptree;
15 using std::map;
16 using std::string;
17 
34 public:
39 
43  virtual ~CbmLitResultChecker();
44 
51  void DoCheck(const string& qaFile,
52  const string& idealFile,
53  const string& checkFile);
54 
61  void DoCheck(const ptree& qa, const ptree& ideal, ptree& out);
62 
63 private:
70  void PropertyTreeToMap(const string& path,
71  const ptree& pt,
72  map<string, Double_t>& mymap) const;
73 };
74 
75 #endif /* CBMLITRESULTCHECKER_H_ */
CbmLitResultChecker
Automatic checker of QA results.
Definition: CbmLitResultChecker.h:33
CbmLitResultChecker::PropertyTreeToMap
void PropertyTreeToMap(const string &path, const ptree &pt, map< string, Double_t > &mymap) const
Build recursively map out of property tree.
Definition: CbmLitResultChecker.cxx:74
CbmLitResultChecker::~CbmLitResultChecker
virtual ~CbmLitResultChecker()
Destructor.
Definition: CbmLitResultChecker.cxx:15
CbmLitResultChecker::DoCheck
void DoCheck(const string &qaFile, const string &idealFile, const string &checkFile)
Check QA results based on predefined values.
Definition: CbmLitResultChecker.cxx:17
CbmLitResultChecker::CbmLitResultChecker
CbmLitResultChecker()
Constructor.
Definition: CbmLitResultChecker.cxx:13