#include <TRTCheckPeakSimple.h>
Definition at line 20 of file TRTCheckPeakSimple.h.
◆ TRTCheckPeakSimple()
dqm_algorithms::TRTCheckPeakSimple::TRTCheckPeakSimple |
( |
| ) |
|
◆ ~TRTCheckPeakSimple()
dqm_algorithms::TRTCheckPeakSimple::~TRTCheckPeakSimple |
( |
| ) |
|
|
virtual |
◆ clone()
dqm_core::Algorithm * dqm_algorithms::TRTCheckPeakSimple::clone |
( |
| ) |
|
|
virtual |
◆ execute()
dqm_core::Result * dqm_algorithms::TRTCheckPeakSimple::execute |
( |
const std::string & |
name, |
|
|
const TObject & |
object, |
|
|
const dqm_core::AlgorithmConfig & |
config |
|
) |
| |
|
virtual |
Definition at line 45 of file TRTCheckPeakSimple.cxx.
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;
◆ printDescription()
void dqm_algorithms::TRTCheckPeakSimple::printDescription |
( |
std::ostream & |
out | ) |
|
|
virtual |
◆ m_name
std::string dqm_algorithms::TRTCheckPeakSimple::m_name |
|
private |
The documentation for this class was generated from the following files: