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

marlin::DataSourceProcessor Class Reference

Base class for data source handlers that can read arbitrary non-LCIO input files and create LCIO events and run headers from that. More...

#include <DataSourceProcessor.h>

Inheritance diagram for marlin::DataSourceProcessor:

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

Public Member Functions

 DataSourceProcessor (const std::string &typeName)
virtual void readDataSource (int numEvents)=0
 User call back to read the data source and create the LCIO event and run header.


Detailed Description

Base class for data source handlers that can read arbitrary non-LCIO input files and create LCIO events and run headers from that.

If a user subclass is defined as active processor in the steering file _and_ there are no LCIO input files defined than this class is called to generate the LCIO data stream.

Author:
F. Gaede, DESY
Version:
Id
DataSourceProcessor.h,v 1.3 2005/10/11 12:56:28 gaede Exp


Member Function Documentation

virtual void marlin::DataSourceProcessor::readDataSource int  numEvents  )  [pure virtual]
 

User call back to read the data source and create the LCIO event and run header.

The user needs to call ProcessMgr::processRunHeader(LCRunHeader* rhdr) and ProcessMgr::processEvent(LCEvent* evt) in order to call the relevant Processor methods in readDataSource().

Parameters:
numEvents The number of events the DataSourceProcessor should generate.

Implemented in marlin::StdHepReader.


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