Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

marlin::AIDAProcessor Class Reference

Provides access to AIDA histograms, ntuples, etc. More...

#include <AIDAProcessor.h>

Inheritance diagram for marlin::AIDAProcessor:

marlin::Processor List of all members.

Public Member Functions

virtual ProcessornewProcessor ()
 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

Detailed Description

Provides access to AIDA histograms, ntuples, etc.

This module creates an AIDA file and histogram and tuple factories that can be used in all processors of a Marlin application.

Input - Prerequisites

No input needed for this processor. Make sure it is included in the list of active processors before any processor that books/fills histograms.

Output

none

Parameters:
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)
Author:
F. Gaede, DESY
Version:
Id
AIDAProcessor.h,v 1.7 2008/04/15 10:12:28 gaede Exp


Member Function Documentation

AIDA::IDataPointSetFactory * marlin::AIDAProcessor::dataPointSetFactory const Processor proc  )  [static]
 

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.

AIDA::IAnalysisFactory * marlin::AIDAProcessor::GetIAnalysisFactory const Processor proc  )  [static]
 

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.

AIDA::IHistogramFactory * marlin::AIDAProcessor::histogramFactory const Processor proc  )  [static]
 

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.

void marlin::AIDAProcessor::init  )  [virtual]
 

Called at the begin of the job before anything is read.

Use to initialize the processor, e.g. book histograms.

Reimplemented from marlin::Processor.

AIDA::ITree * marlin::AIDAProcessor::tree const Processor proc  )  [static]
 

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.

AIDA::ITupleFactory * marlin::AIDAProcessor::tupleFactory const Processor proc  )  [static]
 

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.


The documentation for this class was generated from the following files:
Generated on Mon Jan 12 09:48:55 2009 for Marlin by doxygen 1.3.5