#include <emcTracedFEMPlotter.h>
Definition at line 12 of file emcTracedFEMPlotter.h.
Public Member Functions | |
emcTracedFEMPlotter (const emcTracedFEM &tf, time_t tics0) | |
ctor from a tracedFEM. | |
emcTracedFEMPlotter (const emcTracedFEM &tf, int tics0) | |
ctor from a tracedFEM with a plain int instead of time_t. | |
emcTracedFEMPlotter (const emcTracedFEM &tf) | |
TGraph * | CopyGraph (int ichannel) |
Returns a copy graph for a given channel. | |
~emcTracedFEMPlotter () | |
dtor. | |
bool | Draw (int ichannel, const char *option="") |
Draw a given channel of the tracedFEM. | |
bool | Write (int ichannel, const char *name) |
Write a given channel graphical representation into a ROOT file. | |
Private Member Functions | |
emcTracedFEMPlotter (const emcTracedFEMPlotter &) | |
Make it private so we can not call it. | |
void | MakeGraph (int ichannel) |
Create a TGraph for this channel. | |
bool | ValidChannel (int ichannel) const |
Test if ichannel is within bounds. | |
Private Attributes | |
emcTracedFEM * | fTracedFEM |
std::vector< TGraph * > | fGraphs |
time_t | fTics0 |
|
ctor from a tracedFEM.
Definition at line 13 of file emcTracedFEMPlotter.C. References fGraphs, fTracedFEM, and emcCalFEM::size(). |
|
ctor from a tracedFEM with a plain int instead of time_t. (mainly for CINT). Definition at line 21 of file emcTracedFEMPlotter.C. References fGraphs, fTracedFEM, and emcCalFEM::size(). |
|
Definition at line 29 of file emcTracedFEMPlotter.C. References fGraphs, fTracedFEM, and emcCalFEM::size(). |
|
dtor.
Definition at line 36 of file emcTracedFEMPlotter.C. References fGraphs. |
|
Make it private so we can not call it.
|
|
Returns a copy graph for a given channel. The returned pointer is yours. Definition at line 47 of file emcTracedFEMPlotter.C. References fGraphs, MakeGraph(), and ValidChannel(). Referenced by emcChannelEvolution::graph(), and testTracedFEMMerger(). |
|
Draw a given channel of the tracedFEM.
Definition at line 63 of file emcTracedFEMPlotter.C. References fGraphs, MakeGraph(), and ValidChannel(). |
|
Create a TGraph for this channel.
Definition at line 80 of file emcTracedFEMPlotter.C. References emcTracedFEM::FirstItem(), fTics0, fTracedFEM, emcTracedValue::GetConstant(), emcTracedValue::getValue(), emcTracedValue::GetX(), emcCalFEM::GetXmax(), emcCalFEM::GetXmin(), and emcTracedFEM::NextItem(). Referenced by CopyGraph(), Draw(), and Write(). |
|
Test if ichannel is within bounds.
Definition at line 126 of file emcTracedFEMPlotter.C. References fGraphs. Referenced by CopyGraph(), Draw(), and Write(). |
|
Write a given channel graphical representation into a ROOT file. A ROOT file must be opened. Definition at line 140 of file emcTracedFEMPlotter.C. References fGraphs, MakeGraph(), and ValidChannel(). |
|
Definition at line 53 of file emcTracedFEMPlotter.h. Referenced by CopyGraph(), Draw(), emcTracedFEMPlotter(), ValidChannel(), Write(), and ~emcTracedFEMPlotter(). |
|
Definition at line 54 of file emcTracedFEMPlotter.h. Referenced by MakeGraph(). |
|
Definition at line 52 of file emcTracedFEMPlotter.h. Referenced by emcTracedFEMPlotter(), and MakeGraph(). |