#include <BasicHistoCheckModuleStatus.h>
◆ BasicHistoCheckModuleStatus()
dqm_algorithms::BasicHistoCheckModuleStatus::BasicHistoCheckModuleStatus |
( |
const std::string & |
name | ) |
|
◆ clone()
◆ execute()
dqm_core::Result * dqm_algorithms::BasicHistoCheckModuleStatus::execute |
( |
const std::string & |
name, |
|
|
const TObject & |
object, |
|
|
const dqm_core::AlgorithmConfig & |
config |
|
) |
| |
Definition at line 41 of file BasicHistoCheckModuleStatus.cxx.
47 if(
object.
IsA()->InheritsFrom(
"TH1" ) ) {
50 throw dqm_core::BadConfig( ERS_HERE,
name,
"dimension > 3 " );
53 throw dqm_core::BadConfig( ERS_HERE,
name,
"does not inherit from TH1" );
66 if (
m_name ==
"ModuleStatus_All_Bins_Filled" ) {
67 unsigned int nbinsX_filled = 0;
68 const unsigned int binsx =
histogram->GetNbinsX();
71 for (
unsigned int i(1);
i <= binsx; ++
i ) {
84 if(
histogram->GetEffectiveEntries() == 0){
86 ERS_DEBUG(1,
"Histogram " <<
histogram->GetName()<<
" does not have all filled bins");
92 if(nbinsX_filled >0 && nbinsX_filled < binsx){
93 ERS_DEBUG(1,
"Histogram " <<
histogram->GetName()<<
" has empty bins");
98 ERS_DEBUG(1,
"Histogram " <<
histogram->GetName()<<
" has all filled bins");
◆ printDescription()
void dqm_algorithms::BasicHistoCheckModuleStatus::printDescription |
( |
std::ostream & |
out | ) |
|
Definition at line 111 of file BasicHistoCheckModuleStatus.cxx.
113 if (
m_name ==
"All_Bins_Filled"){
114 out<<
"All_Bins_Filled: Checks that all bins of histogram are filled\n"<<std::endl;
117 out<<
"Optional Parameter: MinStat: Minimum histogram statistics needed to perform Algorithm\n"<<std::endl;
◆ m_name
std::string dqm_algorithms::BasicHistoCheckModuleStatus::m_name |
|
private |
The documentation for this struct was generated from the following files: