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

marlin::TestProcessor Class Reference

Simple processor for testing. More...

#include <TestProcessor.h>

Inheritance diagram for marlin::TestProcessor:

marlin::Processor List of all members.

Public Member Functions

virtual ProcessornewProcessor ()
 Return a new instance of the processor.

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)
 Called for every event - the working horse.

virtual void check (LCEvent *evt)
 Called for every event - right after processEvent() has been called for this processor.

virtual void end ()
 Called after data processing for clean up.


Protected Member Functions

void printEndMessage () const
 Test method for const.


Protected Attributes

int _nRun
int _nEvt
bool _doCalibration
int _nLoops

Detailed Description

Simple processor for testing.

Writes something to stdout for every callbackmethod.

Input - Prerequisites

none

Output

none

Author:
F. Gaede, DESY
Version:
Id
TestProcessor.h,v 1.7 2007/05/23 13:12:21 gaede Exp


Member Function Documentation

void marlin::TestProcessor::check LCEvent *  evt  )  [virtual]
 

Called for every event - right after processEvent() has been called for this processor.

Use to check processing and/or produce check plots.

Reimplemented from marlin::Processor.

void marlin::TestProcessor::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.

virtual Processor* marlin::TestProcessor::newProcessor  )  [inline, virtual]
 

Return a new instance of the processor.

Has to be implemented by subclasses.

Implements marlin::Processor.


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