#include <TRTHistogramHasNonZeroEntries.h>
◆ TRTHistogramHasNonZeroEntries()
| dqm_algorithms::TRTHistogramHasNonZeroEntries::TRTHistogramHasNonZeroEntries |
( |
| ) |
|
◆ ~TRTHistogramHasNonZeroEntries()
| dqm_algorithms::TRTHistogramHasNonZeroEntries::~TRTHistogramHasNonZeroEntries |
( |
| ) |
|
|
virtual |
◆ clone()
| dqm_core::Algorithm * dqm_algorithms::TRTHistogramHasNonZeroEntries::clone |
( |
| ) |
|
|
virtual |
◆ execute()
| dqm_core::Result * dqm_algorithms::TRTHistogramHasNonZeroEntries::execute |
( |
const std::string & | name, |
|
|
const TObject & | object, |
|
|
const dqm_core::AlgorithmConfig & | config ) |
|
virtual |
Definition at line 44 of file TRTHistogramHasNonZeroEntries.cxx.
45{
47
48 if (
object.
IsA()->InheritsFrom(
"TH1")) {
51 throw dqm_core::BadConfig(ERS_HERE, name, "dimension > 3 ");
52 }
53 } else {
54 throw dqm_core::BadConfig(ERS_HERE, name, "does not inherit from TH1");
55 }
56
58
60
61 dqm_core::Result *
result =
new dqm_core::Result(dqm_core::Result::Undefined);
64 }
65
66 dqm_core::Result *
result =
new dqm_core::Result();
67
69 ERS_DEBUG(1,
"Histogram " <<
histogram->GetName() <<
" is Empty");
70 result->status_ = dqm_core::Result::Red;
72 } else {
73 ERS_DEBUG(1,
"Histogram " <<
histogram->GetName() <<
" is Not Empty");
74 result->status_ = dqm_core::Result::Green;
76 }
78}
#define IsA
Declare the TObject style functions.
◆ printDescription()
| void dqm_algorithms::TRTHistogramHasNonZeroEntries::printDescription |
( |
std::ostream & | out | ) |
|
|
virtual |
◆ m_name
| std::string dqm_algorithms::TRTHistogramHasNonZeroEntries::m_name |
|
private |
The documentation for this class was generated from the following files: