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(const std::map<std::string, std::map<std::string, std::string> >& tests, DQMStore * bei);
33  void disableTests(const 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  const 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  const 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  const std::map<std::string,std::string>& params,DQMStore * bei);
55  void EnableNoisyChannelTest(std::string testName,
56  const std::map<std::string,std::string>& params,DQMStore * bei);
59  const std::map<std::string,std::string>& params,DQMStore * bei);
60 
61  //===================== new quality tests in the parser =============================//
64  const std::map<std::string, std::string>& params,DQMStore * bei);
65 
67  void EnableComp2RefChi2Test(std::string testName,
68  const std::map<std::string, std::string>& params,DQMStore * bei);
69 
72  const 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 
82  const 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 
90  const std::map<std::string,std::string>& params,DQMStore * bei);
91 
93  void EnableCompareLastFilledBinTest(std::string testName, const std::map<std::string, std::string>& params, DQMStore *bei);
94 
95  const char * findOrDefault(const std::map<std::string, std::string> &,
96  const char *,
97  const char *) const;
98 
99 
100  private:
101  std::vector<std::string> testsConfigured;
102 
103 
104 };
105 
106 
107 #endif
108 
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.
dictionary map
Definition: Association.py:205
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.