#include <AIDAProcessor.h>
Inheritance diagram for marlin::AIDAProcessor:
Public Member Functions | |
virtual Processor * | newProcessor () |
AIDAProcessor needs to be a singleton. | |
virtual void | init () |
Called at the begin of the job before anything is read. | |
virtual void | processRunHeader (LCRunHeader *run) |
Called for every run. | |
virtual void | processEvent (LCEvent *evt) |
nothing processed here | |
virtual void | check (LCEvent *evt) |
Fills plot with processing time. | |
virtual void | end () |
Called after data processing for clean up. | |
Static Public Member Functions | |
AIDA::IHistogramFactory * | histogramFactory (const Processor *proc) |
Returns an AIDA histogram factory for the given processor with the current directory set to the processor's name. | |
AIDA::ITupleFactory * | tupleFactory (const Processor *proc) |
Returns an AIDA tuple factory for the given processor with the current directory set to the processor's name. | |
AIDA::ITree * | tree (const Processor *proc) |
Returns an AIDA treefor the given processor with the current directory set to the processor's name. | |
AIDA::IDataPointSetFactory * | dataPointSetFactory (const Processor *proc) |
Returns an AIDA dataPointSet factory for the given processor with the current directory set to the processor's name. | |
AIDA::IAnalysisFactory * | GetIAnalysisFactory (const Processor *proc) |
Returns an AIDA analysis factory for the given processor with the current directory set to the processor's name. | |
Protected Attributes | |
AIDA::IAnalysisFactory * | _analysisFactory |
AIDA::ITreeFactory * | _treeFactory |
AIDA::ITree * | _tree |
AIDA::IHistogramFactory * | _histoFactory |
AIDA::ITupleFactory * | _tupleFactory |
AIDA::IDataPointSetFactory * | _dataPointSetFactory |
std::string | _fileType |
std::string | _fileName |
int | _compress |
This module creates an AIDA file and histogram and tuple factories that can be used in all processors of a Marlin application.
No input needed for this processor. Make sure it is included in the list of active processors before any processor that books/fills histograms.
none
Compress | compression of output file 0: false >0: true (default) |
FileName | filename without extension |
FileType | type of output file xml (default) or root ( only OpenScientist) |
|
Returns an AIDA dataPointSet factory for the given processor with the current directory set to the processor's name. Call right before using the factory to create dataPointSets. |
|
Returns an AIDA analysis factory for the given processor with the current directory set to the processor's name. Call right before using the factory. |
|
Returns an AIDA histogram factory for the given processor with the current directory set to the processor's name. Call right before using the factory to create histograms. |
|
Called at the begin of the job before anything is read. Use to initialize the processor, e.g. book histograms. Reimplemented from marlin::Processor. |
|
Returns an AIDA treefor the given processor with the current directory set to the processor's name. can be used to create subdirectories for a processor. |
|
Returns an AIDA tuple factory for the given processor with the current directory set to the processor's name. Call right before using the factory to create tuples. |