CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QTestConfigure.h
Go to the documentation of this file.
1 #ifndef QTestConfigure_H
2 #define QTestConfigure_H
3 
16 
17 #include<map>
18 #include<vector>
19 #include<iostream>
20 
21 
23 
24  public:
25 
31  bool enableTests(std::map<std::string, std::map<std::string, std::string> > tests, DQMStore * bei);
33  void disableTests(std::vector<std::string> testsOFFList, DQMStore * bei);
35  std::vector<std::string> testsReady(){return testsConfigured;}
36 
37  private:
38 
40  void EnableXRangeTest(std::string testName,
41  std::map<std::string, std::string>params,DQMStore * bei);
43 // void EnableXRangeASTest(std::string testName,
44 // std::map<std::string, std::string>params,DQMStore * bei);
46  void EnableYRangeTest(std::string testName,
47  std::map<std::string, std::string>params,DQMStore * bei);
49 // void EnableYRangeASTest(std::string testName,
50 // std::map<std::string, std::string>params,DQMStore * bei);
52  void EnableDeadChannelTest(std::string testName,
53  std::map<std::string,std::string> params,DQMStore * bei);
55  void EnableNoisyChannelTest(std::string testName,
56  std::map<std::string,std::string> params,DQMStore * bei);
58  void EnableMeanWithinExpectedTest(std::string testName,
59  std::map<std::string,std::string> params,DQMStore * bei);
60 
61  //===================== new quality tests in the parser =============================//
63  void EnableComp2RefEqualHTest(std::string testName,
64  std::map<std::string, std::string>params,DQMStore * bei);
65 
67  void EnableComp2RefChi2Test(std::string testName,
68  std::map<std::string, std::string>params,DQMStore * bei);
69 
71  void EnableComp2RefKolmogorovTest(std::string testName,
72  std::map<std::string, std::string>params,DQMStore * bei);
73 
74  /*
76  void EnableMostProbableLandauTest( const std::string &roTEST_NAME,
77  std::map<std::string, std::string> &roMParams, DQMStore *bei);
78  */
79 
81  void EnableContentsWithinExpectedTest(std::string testName,
82  std::map<std::string,std::string> params,DQMStore * bei);
83 
85 // void EnableContentsWithinExpectedASTest(std::string testName,
86 // std::map<std::string,std::string> params,DQMStore * bei);
87 
89  void EnableCompareToMedianTest(std::string testName,
90  std::map<std::string,std::string> params,DQMStore * bei);
91 
93  void EnableCompareLastFilledBinTest(std::string testName, std::map<std::string, std::string> params, DQMStore *bei);
94 
95  private:
96  std::vector<std::string> testsConfigured;
97 
98 
99 };
100 
101 
102 #endif
103 
void EnableComp2RefKolmogorovTest(std::string testName, std::map< std::string, std::string >params, DQMStore *bei)
Creates EnableComp2RefKolmogorov test.
dictionary tests
Definition: utils_v2.py:385
void disableTests(std::vector< std::string > testsOFFList, DQMStore *bei)
Disables the Quality Tests in the string list.
bool enableTests(std::map< std::string, std::map< std::string, std::string > > tests, DQMStore *bei)
Creates and defines quality tests.
void EnableNoisyChannelTest(std::string testName, std::map< std::string, std::string > params, DQMStore *bei)
Creates NoisyChannelROOT test.
std::vector< std::string > testsReady()
Returns the vector containing the names of the quality tests that have been created.
void EnableDeadChannelTest(std::string testName, std::map< std::string, std::string > params, DQMStore *bei)
Creates ContentsYRangeASROOT test.
void EnableComp2RefEqualHTest(std::string testName, std::map< std::string, std::string >params, DQMStore *bei)
Creates Comp2RefEqualH test.
void EnableCompareToMedianTest(std::string testName, std::map< std::string, std::string > params, DQMStore *bei)
Creates ContentsWithinRangeROOT test.
QTestConfigure()
Constructor.
std::vector< std::string > testsConfigured
void EnableCompareLastFilledBinTest(std::string testName, std::map< std::string, std::string > params, DQMStore *bei)
Creates EnableCompareLastFilledBinTest test.
void EnableComp2RefChi2Test(std::string testName, std::map< std::string, std::string >params, DQMStore *bei)
Creates Comp2RefChi2 test.
void EnableYRangeTest(std::string testName, std::map< std::string, std::string >params, DQMStore *bei)
Creates ContentsXRangeASROOT test.
~QTestConfigure()
Destructor.
void EnableMeanWithinExpectedTest(std::string testName, std::map< std::string, std::string > params, DQMStore *bei)
Creates MeanWithinExpectedROOT test.
void EnableXRangeTest(std::string testName, std::map< std::string, std::string >params, DQMStore *bei)
Creates ContentsXRangeROOT test.
void EnableContentsWithinExpectedTest(std::string testName, std::map< std::string, std::string > params, DQMStore *bei)
Creates ContentsWithinRangeROOT test.