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 //
15 //
16 // Original Author: Freya Blekman
17 // Created: Fri Sep 7 15:46:34 CEST 2007
18 //
19 //
20 
21 #include <iostream>
22 #include <iomanip>
23 #include <vector>
24 
35 
37 
39 
40 public:
41 
43  const edm::InputSourceDescription& desc);
44 
46 
47 private:
48 
50  virtual void produce(edm::Event& event);
51  uint32_t synchronizeEvents();
52 
53  int m_fedid;
54  uint32_t m_fileindex;
55  std::unique_ptr<Storage> storage;
62  int getEventNumberFromFillWords(const std::vector<uint64_t>& data, uint32_t &totword);
63  std::unique_ptr<FEDRawDataCollection> buffers;
64 };
65 #endif
virtual bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time, edm::EventAuxiliary::ExperimentType &)
virtual void produce(edm::Event &event)
PixelSLinkDataInputSource(const edm::ParameterSet &pset, const edm::InputSourceDescription &desc)
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
std::unique_ptr< Storage > storage
Definition: event.py:1