Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
IORawData
DTCommissioning
plugins
DTROS8FileReader.h
Go to the documentation of this file.
1
#ifndef DaqSource_DTROS8FileReader_h
2
#define DaqSource_DTROS8FileReader_h
3
12
#include "
FWCore/Framework/interface/EDProducer.h
"
13
#include <
IORawData/DTCommissioning/plugins/RawFile.h
>
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
DataFormats/Provenance/interface/EventID.h
"
17
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
18
19
#include <fstream>
20
21
class
DTROS8FileReader
:
public
edm::EDProducer
{
22
public
:
24
DTROS8FileReader
(
const
edm::ParameterSet
&
pset
);
25
27
virtual
~DTROS8FileReader
();
28
30
virtual
int
fillRawData
(
edm::Event
&
e
,
31
// edm::Timestamp& tstamp,
32
FEDRawDataCollection
*&
data
);
33
34
virtual
void
produce
(
edm::Event
&,
edm::EventSetup
const
&);
35
36
virtual
bool
checkEndOfFile
();
37
38
private
:
39
40
RawFile
inputFile
;
41
42
edm::RunNumber_t
runNum
;
43
edm::EventNumber_t
eventNum
;
44
45
static
const
int
ros8WordLenght
= 4;
46
47
};
48
#endif
49
DTROS8FileReader::eventNum
edm::EventNumber_t eventNum
Definition:
DTROS8FileReader.h:43
DTROS8FileReader::checkEndOfFile
virtual bool checkEndOfFile()
Definition:
DTROS8FileReader.cc:156
DTROS8FileReader::produce
virtual void produce(edm::Event &, edm::EventSetup const &)
Definition:
DTROS8FileReader.cc:148
RawFile
Definition:
RawFile.h:14
EventID.h
DTROS8FileReader::fillRawData
virtual int fillRawData(edm::Event &e, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
Definition:
DTROS8FileReader.cc:55
Event.h
EventSetup.h
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:374
edm::EventNumber_t
unsigned long long EventNumber_t
Definition:
RunLumiEventNumber.h:12
FEDRawDataCollection.h
edm::EDProducer
Definition:
EDProducer.h:35
DTROS8FileReader::inputFile
RawFile inputFile
Definition:
DTROS8FileReader.h:40
DTROS8FileReader::runNum
edm::RunNumber_t runNum
Definition:
DTROS8FileReader.h:42
edm::EventSetup
Definition:
EventSetup.h:45
DTROS8FileReader::~DTROS8FileReader
virtual ~DTROS8FileReader()
Destructor.
Definition:
DTROS8FileReader.cc:50
EDProducer.h
DTROS8FileReader::ros8WordLenght
static const int ros8WordLenght
Definition:
DTROS8FileReader.h:45
DTROS8FileReader
Definition:
DTROS8FileReader.h:21
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:19
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
DTROS8FileReader::DTROS8FileReader
DTROS8FileReader(const edm::ParameterSet &pset)
Constructor.
Definition:
DTROS8FileReader.cc:33
RawFile.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::RunNumber_t
unsigned int RunNumber_t
Definition:
RunLumiEventNumber.h:14
edm::Event
Definition:
Event.h:65
AlCaHLTBitMon_QueryRunRegistry.data
tuple data
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:288
Generated for CMSSW Reference Manual by
1.8.5