CMS 3D CMS Logo

Public Member Functions

DaqBaseReader Class Reference

#include <DaqBaseReader.h>

Inheritance diagram for DaqBaseReader:
DTDDUFileReader DTROS25FileReader DTROS8FileReader DTSpyReader FUShmReader

List of all members.

Public Member Functions

 DaqBaseReader ()
virtual int fillRawData (edm::EventID &eID, edm::Timestamp &tstamp, FEDRawDataCollection *&data)=0
virtual void setRunNumber (edm::RunNumber_t runNumber)
 set the run number
virtual ~DaqBaseReader ()

Detailed Description

Base class for a "data reader" for the DaqSource.

Derived classes must have a constructor accepting a parameter (const edm::ParameterSet& pset).

Date:
2010/01/11 16:14:25
Revision:
1.7
Author:
N. Amapane - CERN

Definition at line 23 of file DaqBaseReader.h.


Constructor & Destructor Documentation

DaqBaseReader::DaqBaseReader ( ) [inline]

Definition at line 29 of file DaqBaseReader.h.

{}
virtual DaqBaseReader::~DaqBaseReader ( ) [inline, virtual]

Definition at line 30 of file DaqBaseReader.h.

{}

Member Function Documentation

virtual int DaqBaseReader::fillRawData ( edm::EventID eID,
edm::Timestamp tstamp,
FEDRawDataCollection *&  data 
) [pure virtual]

overload to fill the fed collection to be put in the transient event store. NOTE: the FEDRawDataCollection data must be created (with new) within the method; ownership is passed to the caller.

Implemented in FUShmReader, DTDDUFileReader, DTROS25FileReader, DTROS8FileReader, and DTSpyReader.

virtual void DaqBaseReader::setRunNumber ( edm::RunNumber_t  runNumber) [inline, virtual]

set the run number

Reimplemented in FUShmReader.

Definition at line 37 of file DaqBaseReader.h.

Referenced by edm::DaqSource::DaqSource().

{}