CMS 3D CMS Logo

PixelSLinkDataInputSource.h
Go to the documentation of this file.
1 #ifndef IORawDataSiPixelInputSources_PixelSLinkDataInputSource_h
2 #define IORawDataSiPixelInputSources_PixelSLinkDataInputSource_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelInputSources
6 // Class: PixelSLinkDataInputSource
7 //
16 //
17 // Original Author: Freya Blekman
18 // Created: Fri Sep 7 15:46:34 CEST 2007
19 //
20 //
21 
22 #include <iomanip>
23 #include <iostream>
24 #include <vector>
25 
36 
38 
40 public:
42 
43  ~PixelSLinkDataInputSource() override;
44 
45 private:
47  void produce(edm::Event &event) override;
48  uint32_t synchronizeEvents();
49 
50  int m_fedid;
51  uint32_t m_fileindex;
52  std::unique_ptr<Storage> storage;
59  int getEventNumberFromFillWords(const std::vector<uint64_t> &data, uint32_t &totword);
60  std::unique_ptr<FEDRawDataCollection> buffers;
61 };
62 #endif
PixelSLinkDataInputSource(const edm::ParameterSet &pset, const edm::InputSourceDescription &desc)
void produce(edm::Event &event) override
unsigned long long TimeValue_t
Definition: Timestamp.h:28
std::unique_ptr< FEDRawDataCollection > buffers
unsigned long long uint64_t
Definition: Time.h:15
int getEventNumberFromFillWords(const std::vector< uint64_t > &data, uint32_t &totword)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time, edm::EventAuxiliary::ExperimentType &) override
std::unique_ptr< Storage > storage
Definition: event.py:1