Plots raw waveforms and some processed results for each channel. More...
#include <ProcessedPlotter.hh>
Public Member Functions | |
int | Initialize () |
Initialize the module before starting a run. Return 0 if no error. | |
int | Finalize () |
Finalize state after a run has processed. Return 0 if no error. | |
int | Process (EventPtr event) |
Process a single event. Must be overridden. Return 0 if no error. | |
void | Pause () |
Skip processing new events until unpaused. | |
void | Unpause () |
Resume processing events as they come in. | |
void | TogglePause () |
Toggle the paused state. | |
const TCanvas * | GetCanvas (int i=0) const |
Get the main drawing canvas. | |
Static Public Member Functions | |
static const std::string | GetDefaultName () |
Public Attributes | |
int | chans_per_pad |
How many channels on a single pad? | |
bool | overlay_analysis |
draw the analysis output on the raw pulses? | |
bool | multi_color |
Use different colors? | |
bool | draw_legend |
Include a legend? | |
bool | draw_title |
Draw the title on the pulse plot? | |
bool | autoscalex |
automatically scale the x axis? | |
bool | autoscaley |
automatically scale the y axis? | |
double | xmin |
Minimum value on the x axis to plot. | |
double | xmax |
Maximum value on the x axis to plot. | |
double | ymin |
Minimum value on the y axis to plot. | |
double | ymax |
Maximum value on the y axis to plot. | |
bool | subtract_baseline |
Show the raw data or after baseline subtraction? | |
int | downsample |
factor by which to downsample waveform | |
bool | drawpulses |
Display the plot of raw pulses? | |
bool | drawpmtweights |
Display the plot of PMT weights? | |
bool | scale_pmts_sum |
Scale PMT weights to sum or max value? | |
Private Types | |
enum | CANVASES { PULSES = 0, PMTWEIGHTS = 1, NCANVASES } |
Private Attributes | |
TCanvas * | _canvas [NCANVASES] |
RootGraphix * | _graphix |
bool | _paused |
Plots raw waveforms and some processed results for each channel.
Definition at line 27 of file ProcessedPlotter.hh.