CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DaqBaseReader Class Referenceabstract

#include <DaqBaseReader.h>

Inheritance diagram for DaqBaseReader:
CSCFileReader DTDDUFileReader DTROS25FileReader DTROS8FileReader DTSpyReader FUShmReader

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 More...
 
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.

29 {}
virtual DaqBaseReader::~DaqBaseReader ( )
inlinevirtual

Definition at line 30 of file DaqBaseReader.h.

30 {}

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 CSCFileReader, DTSpyReader, DTDDUFileReader, DTROS25FileReader, FUShmReader, and DTROS8FileReader.

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

virtual void DaqBaseReader::setRunNumber ( edm::RunNumber_t  runNumber)
inlinevirtual

set the run number

Reimplemented in FUShmReader.

Definition at line 37 of file DaqBaseReader.h.

Referenced by edm::DaqSource::DaqSource(), and edm::DaqSource::setRun().

37 {}