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 
14 
15 #include<map>
16 #include<vector>
17 #include<iostream>
18 
19 
21 
22  public:
23 
29  bool enableTests(const std::map<std::string, std::map<std::string, std::string> >& tests, DQMStore * bei);
31  void disableTests(const std::vector<std::string>& testsOFFList, DQMStore * bei);
33  std::vector<std::string> testsReady(){return testsConfigured;}
34 
35  private:
36 
38  void EnableXRangeTest(std::string testName,
39  const std::map<std::string, std::string>& params,DQMStore * bei);
41 // void EnableXRangeASTest(std::string testName,
42 // std::map<std::string, std::string>params,DQMStore * bei);
44  void EnableYRangeTest(std::string testName,
45  const std::map<std::string, std::string>& params,DQMStore * bei);
47 // void EnableYRangeASTest(std::string testName,
48 // std::map<std::string, std::string>params,DQMStore * bei);
50  void EnableDeadChannelTest(std::string testName,
51  const std::map<std::string,std::string>& params,DQMStore * bei);
53  void EnableNoisyChannelTest(std::string testName,
54  const std::map<std::string,std::string>& params,DQMStore * bei);
57  const std::map<std::string,std::string>& params,DQMStore * bei);
58 
59  //===================== new quality tests in the parser =============================//
62  const std::map<std::string, std::string>& params,DQMStore * bei);
63 
65  void EnableComp2RefChi2Test(std::string testName,
66  const std::map<std::string, std::string>& params,DQMStore * bei);
67 
70  const std::map<std::string, std::string>& params,DQMStore * bei);
71 
72  /*
74  void EnableMostProbableLandauTest( const std::string &roTEST_NAME,
75  std::map<std::string, std::string> &roMParams, DQMStore *bei);
76  */
77 
80  const std::map<std::string,std::string>& params,DQMStore * bei);
81 
83 // void EnableContentsWithinExpectedASTest(std::string testName,
84 // std::map<std::string,std::string> params,DQMStore * bei);
85 
88  const std::map<std::string,std::string>& params,DQMStore * bei);
89 
91  void EnableCompareLastFilledBinTest(std::string testName, const std::map<std::string, std::string>& params, DQMStore *bei);
92 
95  const std::map<std::string,std::string>& params, DQMStore * bei);
96 
97  const char * findOrDefault(const std::map<std::string, std::string> &,
98  const char *,
99  const char *) const;
100 
101 
102  private:
103  std::vector<std::string> testsConfigured;
104 
105 
106 };
107 
108 
109 #endif
110 
dictionary tests
Definition: utils_v2.py:385
void EnableNoisyChannelTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates NoisyChannelROOT test.
void EnableYRangeTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates ContentsXRangeASROOT test.
std::vector< std::string > testsReady()
Returns the vector containing the names of the quality tests that have been created.
void EnableCompareToMedianTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates ContentsWithinRangeROOT test.
void EnableCheckVarianceTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates CheckVariance test.
QTestConfigure()
Constructor.
void disableTests(const std::vector< std::string > &testsOFFList, DQMStore *bei)
Disables the Quality Tests in the string list.
void EnableComp2RefEqualHTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates Comp2RefEqualH test.
std::vector< std::string > testsConfigured
void EnableXRangeTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates ContentsXRangeROOT test.
void EnableMeanWithinExpectedTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates MeanWithinExpectedROOT test.
const char * findOrDefault(const std::map< std::string, std::string > &, const char *, const char *) const
~QTestConfigure()
Destructor.
void EnableDeadChannelTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates ContentsYRangeASROOT test.
bool enableTests(const std::map< std::string, std::map< std::string, std::string > > &tests, DQMStore *bei)
Creates and defines quality tests.
void EnableComp2RefKolmogorovTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates EnableComp2RefKolmogorov test.
void EnableContentsWithinExpectedTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates ContentsWithinRangeROOT test.
void EnableCompareLastFilledBinTest(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates EnableCompareLastFilledBinTest test.
void EnableComp2RefChi2Test(std::string testName, const std::map< std::string, std::string > &params, DQMStore *bei)
Creates Comp2RefChi2 test.