Go to the documentation of this file.00001 #ifndef QTestConfigure_H
00002 #define QTestConfigure_H
00003
00015 #include "DQMServices/Core/interface/DQMStore.h"
00016
00017 #include<map>
00018 #include<vector>
00019 #include<iostream>
00020
00021
00022 class QTestConfigure{
00023
00024 public:
00025
00027 QTestConfigure(){}
00029 ~QTestConfigure(){}
00031 bool enableTests(const std::map<std::string, std::map<std::string, std::string> >& tests, DQMStore * bei);
00033 void disableTests(const std::vector<std::string>& testsOFFList, DQMStore * bei);
00035 std::vector<std::string> testsReady(){return testsConfigured;}
00036
00037 private:
00038
00040 void EnableXRangeTest(std::string testName,
00041 const std::map<std::string, std::string>& params,DQMStore * bei);
00043
00044
00046 void EnableYRangeTest(std::string testName,
00047 const std::map<std::string, std::string>& params,DQMStore * bei);
00049
00050
00052 void EnableDeadChannelTest(std::string testName,
00053 const std::map<std::string,std::string>& params,DQMStore * bei);
00055 void EnableNoisyChannelTest(std::string testName,
00056 const std::map<std::string,std::string>& params,DQMStore * bei);
00058 void EnableMeanWithinExpectedTest(std::string testName,
00059 const std::map<std::string,std::string>& params,DQMStore * bei);
00060
00061
00063 void EnableComp2RefEqualHTest(std::string testName,
00064 const std::map<std::string, std::string>& params,DQMStore * bei);
00065
00067 void EnableComp2RefChi2Test(std::string testName,
00068 const std::map<std::string, std::string>& params,DQMStore * bei);
00069
00071 void EnableComp2RefKolmogorovTest(std::string testName,
00072 const std::map<std::string, std::string>& params,DQMStore * bei);
00073
00074
00076
00077
00078
00079
00081 void EnableContentsWithinExpectedTest(std::string testName,
00082 const std::map<std::string,std::string>& params,DQMStore * bei);
00083
00085
00086
00087
00089 void EnableCompareToMedianTest(std::string testName,
00090 const std::map<std::string,std::string>& params,DQMStore * bei);
00091
00093 void EnableCompareLastFilledBinTest(std::string testName, const std::map<std::string, std::string>& params, DQMStore *bei);
00094
00095 const char * findOrDefault(const std::map<std::string, std::string> &,
00096 const char *,
00097 const char *) const;
00098
00099
00100 private:
00101 std::vector<std::string> testsConfigured;
00102
00103
00104 };
00105
00106
00107 #endif
00108