|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "dqm_core/exceptions.h"
11 #include "dqm_core/AlgorithmConfig.h"
12 #include "dqm_core/AlgorithmManager.h"
13 #include "dqm_core/Result.h"
49 if (
object.
IsA()->InheritsFrom(
"TH1")) {
52 throw dqm_core::BadConfig(ERS_HERE,
name,
"dimension > 2 ");
55 throw dqm_core::BadConfig(ERS_HERE,
name,
"does not inherit from TH1");
69 ERS_DEBUG(1,
"Histogram " <<
histogram->GetName() <<
" is filled with zeroes!");
100 if (binsum > maxbinsum) {
102 if (maxbinsum != 0) {
112 result->tags_[
"Weighted_mean"] = wmean;
113 result->tags_[
"PeakBin"] = peakbin;
114 result->tags_[
"PeakPosition"] = peakpos;
117 else if (peakpos > rthreshold)
result->status_ = dqm_core::Result::Yellow;
124 out <<
m_name <<
": Checks on the most probable value (peak) in the histogram." << std::endl;
virtual dqm_core::Result * execute(const std::string &, const TObject &, const dqm_core::AlgorithmConfig &)
virtual void printDescription(std::ostream &out)
#define IsA
Declare the TObject style functions.
virtual dqm_core::Algorithm * clone()
ICscStripFitter::Result Result
virtual ~TRTCheckPeakSimple()