CMS 3D CMS Logo

DTROS8FileReader.h
Go to the documentation of this file.
1 #ifndef DaqSource_DTROS8FileReader_h
2 #define DaqSource_DTROS8FileReader_h
3 
18 
19 #include <fstream>
20 
22 public:
25 
27  ~DTROS8FileReader() override;
28 
30  virtual int fillRawData(edm::Event& e,
31  // edm::Timestamp& tstamp,
33 
34  void produce(edm::Event&, edm::EventSetup const&) override;
35 
36  virtual bool checkEndOfFile();
37 
38 private:
40 
43 
44  static const int ros8WordLenght = 4;
45 };
46 #endif
DTROS8FileReader::fillRawData
virtual int fillRawData(edm::Event &e, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
Definition: DTROS8FileReader.cc:46
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
EDProducer.h
DTROS8FileReader::eventNum
edm::EventNumber_t eventNum
Definition: DTROS8FileReader.h:42
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
DTROS8FileReader
Definition: DTROS8FileReader.h:21
RawFile.h
DTROS8FileReader::~DTROS8FileReader
~DTROS8FileReader() override
Destructor.
Definition: DTROS8FileReader.cc:44
EventID.h
DTROS8FileReader::produce
void produce(edm::Event &, edm::EventSetup const &) override
Definition: DTROS8FileReader.cc:135
edm::EventNumber_t
unsigned long long EventNumber_t
Definition: RunLumiEventNumber.h:12
edm::ParameterSet
Definition: ParameterSet.h:47
DTROS8FileReader::inputFile
RawFile inputFile
Definition: DTROS8FileReader.h:39
Event.h
DTROS8FileReader::ros8WordLenght
static const int ros8WordLenght
Definition: DTROS8FileReader.h:44
FEDRawDataCollection.h
edm::EventSetup
Definition: EventSetup.h:57
DTROS8FileReader::checkEndOfFile
virtual bool checkEndOfFile()
Definition: DTROS8FileReader.cc:143
DTROS8FileReader::DTROS8FileReader
DTROS8FileReader(const edm::ParameterSet &pset)
Constructor.
Definition: DTROS8FileReader.cc:31
DTROS8FileReader::runNum
edm::RunNumber_t runNum
Definition: DTROS8FileReader.h:41
EventSetup.h
edm::EDProducer
Definition: EDProducer.h:35
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
edm::Event
Definition: Event.h:73
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
RawFile
Definition: RawFile.h:14
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37