#include <QTestConfigure.h>
Public Member Functions | |
void | disableTests (const std::vector< std::string > &testsOFFList, DQMStore *bei) |
Disables the Quality Tests in the string list. More... | |
bool | enableTests (const std::map< std::string, std::map< std::string, std::string > > &tests, DQMStore *bei) |
Creates and defines quality tests. More... | |
QTestConfigure () | |
Constructor. More... | |
std::vector< std::string > | testsReady () |
Returns the vector containing the names of the quality tests that have been created. More... | |
~QTestConfigure () | |
Destructor. More... | |
Private Member Functions | |
void | EnableCheckVarianceTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates CheckVariance test. More... | |
void | EnableComp2Ref2DChi2Test (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates Comp2Ref2DChi2 test. More... | |
void | EnableComp2RefChi2Test (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates Comp2RefChi2 test. More... | |
void | EnableComp2RefEqualHTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates Comp2RefEqualH test. More... | |
void | EnableComp2RefKolmogorovTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates EnableComp2RefKolmogorov test. More... | |
void | EnableCompareLastFilledBinTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates EnableCompareLastFilledBinTest test. More... | |
void | EnableCompareToMedianTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates ContentsWithinRangeROOT test. More... | |
void | EnableContentsWithinExpectedTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates ContentsWithinRangeROOT test. More... | |
void | EnableDeadChannelTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates ContentsYRangeASROOT test. More... | |
void | EnableMeanWithinExpectedTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates MeanWithinExpectedROOT test. More... | |
void | EnableNoisyChannelTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates NoisyChannelROOT test. More... | |
void | EnableXRangeTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates ContentsXRangeROOT test. More... | |
void | EnableYRangeTest (std::string testName, const std::map< std::string, std::string > ¶ms, DQMStore *bei) |
Creates ContentsXRangeASROOT test. More... | |
const char * | findOrDefault (const std::map< std::string, std::string > &, const char *, const char *) const |
Private Attributes | |
std::vector< std::string > | testsConfigured |
Class that creates and defined quality tests based on the xml configuration file parsed by QTestConfigurationParser.
Definition at line 20 of file QTestConfigure.h.
|
inline |
|
inline |
Destructor.
Definition at line 27 of file QTestConfigure.h.
References disableTests(), enableTests(), genParticles_cff::map, AlCaHLTBitMon_QueryRunRegistry::string, and utils_v2::tests.
void QTestConfigure::disableTests | ( | const std::vector< std::string > & | testsOFFList, |
DQMStore * | bei | ||
) |
Disables the Quality Tests in the string list.
Referenced by ~QTestConfigure().
|
private |
Creates CheckVariance test.
Definition at line 379 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), CheckVariance::getAlgoName(), DQMStore::getQCriterion(), QCriterion::setErrorProb(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates Comp2Ref2DChi2 test.
Definition at line 103 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), Comp2Ref2DChi2::getAlgoName(), DQMStore::getQCriterion(), QCriterion::setErrorProb(), SimpleTest::setMinimumEntries(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates Comp2RefChi2 test.
Definition at line 86 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), Comp2RefChi2::getAlgoName(), DQMStore::getQCriterion(), QCriterion::setErrorProb(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates Comp2RefEqualH test.
Definition at line 69 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), Comp2RefEqualH::getAlgoName(), DQMStore::getQCriterion(), QCriterion::setErrorProb(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates EnableComp2RefKolmogorov test.
Definition at line 123 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), Comp2RefKolmogorov::getAlgoName(), DQMStore::getQCriterion(), QCriterion::setErrorProb(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates EnableCompareLastFilledBinTest test.
Definition at line 356 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), CompareLastFilledBin::getAlgoName(), DQMStore::getQCriterion(), CompareLastFilledBin::setAverage(), QCriterion::setErrorProb(), CompareLastFilledBin::setMax(), CompareLastFilledBin::setMin(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates ContentsWithinRangeROOT test.
Creates CompareToMedian test
Definition at line 268 of file QTestConfigure.cc.
References DQMStore::createQTest(), findOrDefault(), CompareToMedian::getAlgoName(), DQMStore::getQCriterion(), CompareToMedian::setEmptyBins(), QCriterion::setErrorProb(), CompareToMedian::setMax(), CompareToMedian::setMaxMedian(), CompareToMedian::setMin(), CompareToMedian::setMinMedian(), CompareToMedian::setStatCut(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates ContentsWithinRangeROOT test.
Definition at line 319 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), ContentsWithinExpected::getAlgoName(), DQMStore::getQCriterion(), createfilelist::int, QCriterion::setErrorProb(), ContentsWithinExpected::setMeanRange(), ContentsWithinExpected::setMeanTolerance(), SimpleTest::setMinimumEntries(), ContentsWithinExpected::setRMSRange(), ContentsWithinExpected::setUseEmptyBins(), QCriterion::setWarningProb(), and testsConfigured.
Referenced by enableTests(), and testsReady().
|
private |
Creates ContentsYRangeASROOT test.
Creates DeadChannelROOT test
Definition at line 182 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), DeadChannel::getAlgoName(), DQMStore::getQCriterion(), createfilelist::int, QCriterion::setErrorProb(), DeadChannel::setThreshold(), QCriterion::setWarningProb(), testsConfigured, and electronIdCutBased_cfi::threshold.
Referenced by enableTests(), and testsReady().
|
private |
Creates MeanWithinExpectedROOT test.
Definition at line 222 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), MeanWithinExpected::getAlgoName(), DQMStore::getQCriterion(), RecoTauDiscriminantConfiguration::mean, QCriterion::setErrorProb(), MeanWithinExpected::setExpectedMean(), SimpleTest::setMinimumEntries(), QCriterion::setWarningProb(), testsConfigured, MeanWithinExpected::useRange(), MeanWithinExpected::useRMS(), MeanWithinExpected::useSigma(), TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by enableTests(), and testsReady().
|
private |
Creates NoisyChannelROOT test.
Definition at line 201 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), NoisyChannel::getAlgoName(), DQMStore::getQCriterion(), createfilelist::int, QCriterion::setErrorProb(), NoisyChannel::setNumNeighbors(), NoisyChannel::setTolerance(), QCriterion::setWarningProb(), testsConfigured, and RecoTauCleanerPlugins::tolerance.
Referenced by enableTests(), and testsReady().
bool QTestConfigure::enableTests | ( | const std::map< std::string, std::map< std::string, std::string > > & | tests, |
DQMStore * | bei | ||
) |
Creates and defines quality tests.
Definition at line 28 of file QTestConfigure.cc.
References EnableCheckVarianceTest(), EnableComp2Ref2DChi2Test(), EnableComp2RefChi2Test(), EnableComp2RefEqualHTest(), EnableComp2RefKolmogorovTest(), EnableCompareLastFilledBinTest(), EnableCompareToMedianTest(), EnableContentsWithinExpectedTest(), EnableDeadChannelTest(), EnableMeanWithinExpectedTest(), EnableNoisyChannelTest(), EnableXRangeTest(), EnableYRangeTest(), Comp2RefEqualH::getAlgoName(), Comp2RefChi2::getAlgoName(), Comp2Ref2DChi2::getAlgoName(), Comp2RefKolmogorov::getAlgoName(), ContentsXRange::getAlgoName(), ContentsYRange::getAlgoName(), DeadChannel::getAlgoName(), NoisyChannel::getAlgoName(), ContentsWithinExpected::getAlgoName(), MeanWithinExpected::getAlgoName(), CompareToMedian::getAlgoName(), CompareLastFilledBin::getAlgoName(), CheckVariance::getAlgoName(), AlCaHLTBitMon_QueryRunRegistry::string, utils_v2::tests, and testsConfigured.
Referenced by QTestHandle::configureTests(), and ~QTestConfigure().
|
private |
Creates ContentsXRangeROOT test.
Definition at line 140 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), ContentsXRange::getAlgoName(), DQMStore::getQCriterion(), ContentsXRange::setAllowedXRange(), QCriterion::setErrorProb(), QCriterion::setWarningProb(), testsConfigured, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by enableTests(), and testsReady().
|
private |
Creates ContentsXRangeASROOT test.
Creates ContentsYRangeROOT test
Definition at line 160 of file QTestConfigure.cc.
References DQMStore::createQTest(), relativeConstraints::error, findOrDefault(), ContentsYRange::getAlgoName(), DQMStore::getQCriterion(), createfilelist::int, ContentsYRange::setAllowedYRange(), QCriterion::setErrorProb(), ContentsYRange::setUseEmptyBins(), QCriterion::setWarningProb(), testsConfigured, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
Referenced by enableTests(), and testsReady().
|
private |
Definition at line 15 of file QTestConfigure.cc.
References LogDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EnableCheckVarianceTest(), EnableComp2Ref2DChi2Test(), EnableComp2RefChi2Test(), EnableComp2RefEqualHTest(), EnableComp2RefKolmogorovTest(), EnableCompareLastFilledBinTest(), EnableCompareToMedianTest(), EnableContentsWithinExpectedTest(), EnableDeadChannelTest(), EnableMeanWithinExpectedTest(), EnableNoisyChannelTest(), EnableXRangeTest(), EnableYRangeTest(), and testsReady().
|
inline |
Returns the vector containing the names of the quality tests that have been created.
Definition at line 33 of file QTestConfigure.h.
References EnableCheckVarianceTest(), EnableComp2Ref2DChi2Test(), EnableComp2RefChi2Test(), EnableComp2RefEqualHTest(), EnableComp2RefKolmogorovTest(), EnableCompareLastFilledBinTest(), EnableCompareToMedianTest(), EnableContentsWithinExpectedTest(), EnableDeadChannelTest(), EnableMeanWithinExpectedTest(), EnableNoisyChannelTest(), EnableXRangeTest(), EnableYRangeTest(), findOrDefault(), AlCaHLTBitMon_QueryRunRegistry::string, and testsConfigured.
|
private |
Definition at line 107 of file QTestConfigure.h.
Referenced by EnableCheckVarianceTest(), EnableComp2Ref2DChi2Test(), EnableComp2RefChi2Test(), EnableComp2RefEqualHTest(), EnableComp2RefKolmogorovTest(), EnableCompareLastFilledBinTest(), EnableCompareToMedianTest(), EnableContentsWithinExpectedTest(), EnableDeadChannelTest(), EnableMeanWithinExpectedTest(), EnableNoisyChannelTest(), enableTests(), EnableXRangeTest(), EnableYRangeTest(), and testsReady().