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

marlin::StdHepReader Class Reference

Reads binary StdHep files. More...

#include <StdHepReader.h>

Inheritance diagram for marlin::StdHepReader:

marlin::DataSourceProcessor marlin::Processor List of all members.

Public Member Functions

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

virtual void readDataSource (int numEvents)
 Creates events with MCParticle collections from the StdHep input file and calls all active processors' processEvent() and processRunHeader Method.

virtual void init ()
 Called at the begin of the job before anything is read.

virtual void end ()
 Called after data processing for clean up in the inverse order of the init() method so that resources allocated in the first processor also will be available for all following processors.


Protected Attributes

std::string _fileName

Detailed Description

Reads binary StdHep files.

Example processor for reading non-LCIO input files - creates events with MCParticle collections from binary StdHep files. Has to be the first active processor and requires that no LCIO input collection is used (parameter LCIOInputFiles).

Input - Prerequisites

StdHep file.

Output

LCEvent with MCParticle collection.

Parameters:
StdHepFileName name of input file
Author:
F. Gaede, DESY
Version:
Id
StdHepReader.h,v 1.3 2005/10/11 12:56:28 gaede Exp


Member Function Documentation

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

StdHepReader * marlin::StdHepReader::newProcessor  )  [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