#include <GraphPrint.h>
Definition at line 17 of file GraphPrint.h.
◆ GraphPrint()
dqm_algorithms::GraphPrint::GraphPrint |
( |
| ) |
|
◆ ~GraphPrint()
dqm_algorithms::GraphPrint::~GraphPrint |
( |
| ) |
|
|
virtual |
◆ clone()
◆ execute()
Definition at line 31 of file GraphPrint.cxx.
36 if (
obj.IsA()->InheritsFrom(
"TGraph") )
38 ERS_DEBUG(2,
"Got TGraph called: "<<
obj.GetName()<<
" of type:"<<
obj.IsA()->GetName());
39 graph =
static_cast<const TGraph*
>(&
obj);
43 throw dqm_core::BadConfig(ERS_HERE,
name,
"Object is not a TGraph ");
51 Double_t
x = 0,
y = 0;
52 graph->GetPoint(
bin,
x,
y);
54 ERS_DEBUG(3,
"Looking at point "<<
bin<<
" and I see x = " <<
x <<
" and y = " <<
y);
55 std::string binname = Form(
"Candidate %d in LB %.0f, Event",
bin,
x);
57 result->tags_[binname.c_str()] =
y;
◆ printDescription()
void dqm_algorithms::GraphPrint::printDescription |
( |
std::ostream & |
out | ) |
|
Definition at line 65 of file GraphPrint.cxx.
67 out <<
" Just dump all the bin contents of a TGraph!" << std::endl;
The documentation for this class was generated from the following files: