Public Member Functions | |
SpectrumMaker (const std::string &name=GetDefaultName()) | |
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 evt) |
Process a single event. Must be overridden. Return 0 if no error. | |
Static Public Member Functions | |
static std::string | GetDefaultName () |
Private Attributes | |
TH1 * | _histo |
Underlying histogram object. | |
TCanvas * | _canvas |
Canvas on which the histogram is drawn. | |
TTree * | _tree |
Dummy tree used to parse variables. | |
TBranch * | _branch |
TTreeFormula * | _xform |
TTreeFormula * | _yform |
TTreeFormula * | _cutform |
std::string | _draw_cmd |
actual draw command passed to tree | |
phrase | _cut |
cut determines whether to draw | |
phrase | _xvar |
What to plot on the x axis? | |
int | _nbinsx |
Number of bins on the x axis. | |
double | _xmin |
Minimum range of histogram. | |
double | _xmax |
Maximum range of histogram. | |
phrase | _yvar |
What to plot on the y axis? | |
int | _nbinsy |
Number of bins on the y axis. | |
double | _ymin |
Minimum range of histogram. | |
double | _ymax |
Maximum range of histogram. | |
phrase | _title |
Title of the histogram. | |
phrase | _xtitle |
Title of x axis. | |
phrase | _ytitle |
Title of y axis. | |
bool | _logy |
Should we use logararithmic y axis? | |
bool | _logx |
Should we use logarithmic x axis? |
Definition at line 14 of file SpectrumMaker.hh.