A Class to handle outputting things into ROOT.
More...
#include <RootProcessor.hpp>
|
virtual void | plot (int dammId, double val1, double val2=-1, double val3=-1, const char *name="h") |
| Implementation of the plot command to interface with the DAMM routines. More...
|
|
virtual void | DeclareHistogram1D (int dammId, int xSize, const char *title) |
| Declares a 1D histogram calls the C++ wrapper for DAMM. More...
|
|
virtual void | DeclareHistogram2D (int dammId, int xSize, int ySize, const char *title) |
| Declares a 2D histogram calls the C++ wrapper for DAMM. More...
|
|
std::string | name |
| Name of the Processor. More...
|
|
std::set< std::string > | associatedTypes |
| Set of associated types for Processor. More...
|
|
bool | initDone |
| True if the initialization has finished. More...
|
|
bool | didProcess |
| True if the process finished. More...
|
|
std::map< std::string, const DetectorSummary * > | sumMap |
| Map of associated detector summary. More...
|
|
Plots | histo |
|
A Class to handle outputting things into ROOT.
Definition at line 25 of file RootProcessor.hpp.
§ RootProcessor()
RootProcessor::RootProcessor |
( |
const char * |
fileName, |
|
|
const char * |
treeName |
|
) |
| |
Constructor taking arguments for file and tree creation
- Parameters
-
[in] | fileName | : the file name for the root file |
[in] | treeName | : the name of the tree to save to the root file |
§ ~RootProcessor()
virtual RootProcessor::~RootProcessor |
( |
| ) |
|
|
virtual |
§ Init()
virtual bool RootProcessor::Init |
( |
RawEvent & |
rawev | ) |
|
|
virtual |
Initializes the processor
- Parameters
-
[in] | rawev | : the raw event to analyze |
- Returns
- true if the initialization was successful
Reimplemented from EventProcessor.
§ Process()
virtual bool RootProcessor::Process |
( |
RawEvent & |
event | ) |
|
|
virtual |
Performs the main processsing, which may depend on other processors
- Parameters
-
[in] | event | : the event to process |
- Returns
- true if processing was successful
Reimplemented from EventProcessor.
§ file
TFile* RootProcessor::file |
|
private |
§ tree
TTree* RootProcessor::tree |
|
private |
§ vecProcess
The documentation for this class was generated from the following file: