#include <BasicGraphCheck.h>
Definition at line 18 of file BasicGraphCheck.h.
◆ BasicGraphCheck()
dqm_algorithms::BasicGraphCheck::BasicGraphCheck |
( |
const std::string & |
name | ) |
|
◆ clone()
◆ execute()
Definition at line 41 of file BasicGraphCheck.cxx.
47 if(
object.
IsA()->InheritsFrom(
"TGraph" ) ) {
48 graph =
static_cast<const TGraph*
>(&
object);
50 throw dqm_core::BadConfig( ERS_HERE,
name,
"does not inherit from TGraph" );
55 if (graph->GetN() < minstat ) {
57 result->tags_[
"InsufficientN"] = graph->GetN();
61 if (
m_name ==
"Graph_Not_Empty") {
62 if (graph->GetN() != 0) {
63 ERS_DEBUG(1,
"Graph " <<graph->GetName()<<
" is Not Empty");
66 ERS_DEBUG(1,
"Graph " <<graph->GetName()<<
" is Empty");
69 }
else if (
m_name ==
"Graph_Empty") {
70 if (graph->GetN() == 0) {
71 ERS_DEBUG(1,
"Graph " <<graph->GetName()<<
" is Empty");
74 ERS_DEBUG(1,
"Graph " <<graph->GetName()<<
" is Not Empty");
◆ printDescription()
void dqm_algorithms::BasicGraphCheck::printDescription |
( |
std::ostream & |
out | ) |
|
Definition at line 85 of file BasicGraphCheck.cxx.
87 if (
m_name ==
"Graph_Not_Empty"){
88 out<<
"Graph_Not_Empty: Checks that graph is not empty\n"<<std::endl;
89 }
else if (
m_name ==
"Graph_Empty"){
90 out<<
"Graph_Empty: Checks that graph is empty\n"<<std::endl;
93 out<<
"Optional Parameter: MinStat: Minimum graph statistics needed to perform Algorithm\n"<<std::endl;
◆ m_name
std::string dqm_algorithms::BasicGraphCheck::m_name |
|
private |
The documentation for this struct was generated from the following files: