Check the sigma of each bin against the rest of the chamber by a factor of tolerance/. More...
#include <QTest.h>
Public Member Functions | |
ContentSigma (const std::string &name) | |
float | runTest (const MonitorElement *me) override |
void | setDead (bool dead) |
void | setNoisy (bool noisy) |
void | setNumNeighborsX (unsigned ncx) |
void | setNumNeighborsY (unsigned ncy) |
void | setNumXblocks (unsigned ncx) |
void | setNumYblocks (unsigned ncy) |
void | setToleranceDead (float factorDead) |
void | setToleranceNoisy (float factorNoisy) |
void | setXMax (unsigned xMax) |
void | setXMin (unsigned xMin) |
void | setYMax (unsigned yMax) |
void | setYMin (unsigned yMin) |
Public Member Functions inherited from SimpleTest | |
std::vector< DQMChannel > | getBadChannels () const override |
get vector of channels that failed test (not always relevant!) More... | |
void | setMinimumEntries (unsigned n) |
set minimum # of entries needed More... | |
SimpleTest (const std::string &name, bool keepBadChannels=false) | |
Public Member Functions inherited from QCriterion | |
std::string | algoName () const |
get algorithm name More... | |
std::string | getMessage () const |
get message attached to test More... | |
std::string | getName () const |
get name of quality test More... | |
int | getStatus () const |
(class should be created by DQMStore class) More... | |
void | setErrorProb (float prob) |
void | setWarningProb (float prob) |
set probability limit for warning and error (default: 90% and 50%) More... | |
Static Public Member Functions | |
static std::string | getAlgoName () |
Protected Member Functions | |
double | getNeighborSigma (double average, unsigned groupx, unsigned groupy, unsigned Xblocks, unsigned Yblocks, unsigned neighborsX, unsigned neighborsY, const TH1 *h) const |
double | getNeighborSum (unsigned groupx, unsigned groupy, unsigned Xblocks, unsigned Yblocks, unsigned neighborsX, unsigned neighborsY, const TH1 *h) const |
for each bin get sum of the surrounding neighbors More... | |
Protected Member Functions inherited from SimpleTest | |
void | setMessage () override |
set status & message after test has run More... | |
Protected Member Functions inherited from QCriterion | |
void | init () |
initialize values More... | |
QCriterion (std::string qtname) | |
float | runTest (const MonitorElement *me, QReport &qr, DQMNet::QValue &qv) |
void | setAlgoName (std::string name) |
set algorithm name More... | |
void | setVerbose (int verbose) |
probability limits for warnings, errors More... | |
virtual | ~QCriterion ()=default |
Protected Attributes | |
bool | dead_ |
bool | noisy_ |
unsigned | numNeighborsX_ |
unsigned | numNeighborsY_ |
unsigned | numXblocks_ |
unsigned | numYblocks_ |
bool | rangeInitialized_ |
float | toleranceDead_ |
float | toleranceNoisy_ |
unsigned | xMax_ |
unsigned | xMin_ |
unsigned | yMax_ |
unsigned | yMin_ |
Protected Attributes inherited from SimpleTest | |
std::vector< DQMChannel > | badChannels_ |
bool | keepBadChannels_ |
unsigned | minEntries_ |
Protected Attributes inherited from QCriterion | |
std::string | algoName_ |
name of quality test More... | |
float | errorProb_ |
std::string | message_ |
quality test status More... | |
float | prob_ |
name of algorithm More... | |
std::string | qtname_ |
int | status_ |
int | verbose_ |
float | warningProb_ |
message attached to test More... | |
Check the sigma of each bin against the rest of the chamber by a factor of tolerance/.
|
inline |
Definition at line 385 of file QTest.h.
References QCriterion::setAlgoName().
|
inlinestatic |
Definition at line 394 of file QTest.h.
References QCriterion::runTest().
Referenced by QTestConfigure::EnableContentSigmaTest(), and QTestConfigure::enableTests().
|
protected |
Definition at line 1379 of file QTest.cc.
References anotherprimaryvertexanalyzer_cfi::xMax, anotherprimaryvertexanalyzer_cfi::xMin, CMSBoostedTauSeedingParameters_cfi::yMax, and CMSBoostedTauSeedingParameters_cfi::yMin.
|
protected |
for each bin get sum of the surrounding neighbors
Definition at line 1306 of file QTest.cc.
References anotherprimaryvertexanalyzer_cfi::xMax, anotherprimaryvertexanalyzer_cfi::xMin, CMSBoostedTauSeedingParameters_cfi::yMax, and CMSBoostedTauSeedingParameters_cfi::yMin.
|
overridevirtual |
Reimplemented from QCriterion.
Definition at line 1093 of file QTest.cc.
References funct::abs(), gather_cfg::cout, MonitorElement::DQM_KIND_TH1D, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH1S, MonitorElement::DQM_KIND_TH2D, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TH2S, cmsPerfPublish::fail(), MonitorElement::getFullname(), MonitorElement::getRootObject(), MonitorElement::getTH1D(), MonitorElement::getTH1F(), MonitorElement::getTH1S(), MonitorElement::getTH2D(), MonitorElement::getTH2F(), MonitorElement::getTH2S(), MonitorElement::kind(), mathSSE::sqrt(), anotherprimaryvertexanalyzer_cfi::xMax, anotherprimaryvertexanalyzer_cfi::xMin, CMSBoostedTauSeedingParameters_cfi::yMax, and CMSBoostedTauSeedingParameters_cfi::yMin.
|
inline |
Definition at line 431 of file QTest.h.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
Definition at line 428 of file QTest.h.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
|
inline |
|
inline |
set # of neighboring channels for calculating average to be used for comparison with channel under consideration; use 1 for considering bin+1 and bin-1 (default), use 2 for considering bin+1,bin-1, bin+2,bin-2, etc; Will use rollover when bin+i or bin-i is beyond histogram limits (e.g. for histogram with N bins, bin N+1 corresponds to bin 1, and bin -1 corresponds to bin N)
Definition at line 404 of file QTest.h.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
|
inline |
|
inline |
set factor tolerance for considering a channel noisy or dead; eg. if tolerance = 1, channel will be noisy if (content - 1 x sigma) > chamber_avg or channel will be dead if (content - 1 x sigma) < chamber_avg
Definition at line 412 of file QTest.h.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
Definition at line 438 of file QTest.h.
References anotherprimaryvertexanalyzer_cfi::xMax.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
Definition at line 435 of file QTest.h.
References anotherprimaryvertexanalyzer_cfi::xMin.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
Definition at line 444 of file QTest.h.
References CMSBoostedTauSeedingParameters_cfi::yMax.
Referenced by QTestConfigure::EnableContentSigmaTest().
|
inline |
Definition at line 441 of file QTest.h.
References CMSBoostedTauSeedingParameters_cfi::yMin.
Referenced by QTestConfigure::EnableContentSigmaTest().