#include <DTROS8FileReader.h>
Public Member Functions | |
virtual bool | checkEndOfFile () |
DTROS8FileReader (const edm::ParameterSet &pset) | |
Constructor. More... | |
virtual int | fillRawData (edm::EventID &eID, edm::Timestamp &tstamp, FEDRawDataCollection *&data) |
Generate and fill FED raw data for a full event. More... | |
virtual | ~DTROS8FileReader () |
Destructor. More... | |
Public Member Functions inherited from DaqBaseReader | |
DaqBaseReader () | |
virtual void | setRunNumber (edm::RunNumber_t runNumber) |
set the run number More... | |
virtual | ~DaqBaseReader () |
Private Attributes | |
edm::EventNumber_t | eventNum |
RawFile | inputFile |
edm::RunNumber_t | runNum |
Static Private Attributes | |
static const int | ros8WordLenght = 4 |
Read DT ROS8 raw data files
Definition at line 18 of file DTROS8FileReader.h.
DTROS8FileReader::DTROS8FileReader | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 32 of file DTROS8FileReader.cc.
References edm::hlt::Exception, RawFile::fail(), lut2db_cfg::filename, edm::ParameterSet::getParameter(), inputFile, and RawFile::open().
|
virtual |
Destructor.
Definition at line 45 of file DTROS8FileReader.cc.
References RawFile::close(), and inputFile.
|
virtual |
Definition at line 143 of file DTROS8FileReader.cc.
References RawFile::eof(), and inputFile.
Referenced by fillRawData().
|
virtual |
Generate and fill FED raw data for a full event.
Implements DaqBaseReader.
Definition at line 50 of file DTROS8FileReader.cc.
References checkEndOfFile(), filterCSVwithJSON::copy, gather_cfg::cout, FEDRawData::data(), data, FEDRawDataCollection::FEDData(), i, inputFile, FEDNumbering::MINDTFEDID, RawFile::read(), FEDRawData::resize(), and ros8WordLenght.
|
private |
Definition at line 38 of file DTROS8FileReader.h.
|
private |
Definition at line 35 of file DTROS8FileReader.h.
Referenced by checkEndOfFile(), DTROS8FileReader(), fillRawData(), and ~DTROS8FileReader().
|
staticprivate |
Definition at line 40 of file DTROS8FileReader.h.
Referenced by fillRawData().
|
private |
Definition at line 37 of file DTROS8FileReader.h.