Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
IORawData
DTCommissioning
src
DTROS8FileReader.h
Go to the documentation of this file.
1
#ifndef DaqSource_DTROS8FileReader_h
2
#define DaqSource_DTROS8FileReader_h
3
12
#include <
IORawData/DaqSource/interface/DaqBaseReader.h
>
13
#include <
IORawData/DTCommissioning/src/RawFile.h
>
14
#include "
DataFormats/Provenance/interface/EventID.h
"
15
16
#include <fstream>
17
18
class
DTROS8FileReader
:
public
DaqBaseReader
{
19
public
:
21
DTROS8FileReader
(
const
edm::ParameterSet
& pset);
22
24
virtual
~DTROS8FileReader
();
25
27
virtual
int
fillRawData
(
edm::EventID
& eID,
28
edm::Timestamp
& tstamp,
29
FEDRawDataCollection
*&
data
);
30
31
virtual
bool
checkEndOfFile
();
32
33
private
:
34
35
RawFile
inputFile
;
36
37
edm::RunNumber_t
runNum
;
38
edm::EventNumber_t
eventNum
;
39
40
static
const
int
ros8WordLenght
= 4;
41
42
};
43
#endif
44
DaqBaseReader.h
DTROS8FileReader::eventNum
edm::EventNumber_t eventNum
Definition:
DTROS8FileReader.h:38
DTROS8FileReader::checkEndOfFile
virtual bool checkEndOfFile()
Definition:
DTROS8FileReader.cc:143
RawFile
Definition:
RawFile.h:14
EventID.h
edm::EventNumber_t
unsigned int EventNumber_t
Definition:
EventID.h:30
edm::EventID
Definition:
EventID.h:34
edm::Timestamp
Definition:
Timestamp.h:29
DaqBaseReader
Definition:
DaqBaseReader.h:23
DTROS8FileReader::inputFile
RawFile inputFile
Definition:
DTROS8FileReader.h:35
DTROS8FileReader::runNum
edm::RunNumber_t runNum
Definition:
DTROS8FileReader.h:37
DTROS8FileReader::~DTROS8FileReader
virtual ~DTROS8FileReader()
Destructor.
Definition:
DTROS8FileReader.cc:45
DTROS8FileReader::ros8WordLenght
static const int ros8WordLenght
Definition:
DTROS8FileReader.h:40
DTROS8FileReader
Definition:
DTROS8FileReader.h:18
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:21
DTROS8FileReader::DTROS8FileReader
DTROS8FileReader(const edm::ParameterSet &pset)
Constructor.
Definition:
DTROS8FileReader.cc:32
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
DTROS8FileReader::fillRawData
virtual int fillRawData(edm::EventID &eID, edm::Timestamp &tstamp, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
Definition:
DTROS8FileReader.cc:50
RawFile.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::RunNumber_t
unsigned int RunNumber_t
Definition:
EventRange.h:32
Generated for CMSSW Reference Manual by
1.8.5