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
Definition: PixelSLinkDataInputSource.h:39
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
edm::InputSourceDescription
Definition: InputSourceDescription.h:20
Storage.h
PixelSLinkDataInputSource::m_globaleventnumber
uint32_t m_globaleventnumber
Definition: PixelSLinkDataInputSource.h:57
PixelSLinkDataInputSource::m_fedid
int m_fedid
Definition: PixelSLinkDataInputSource.h:50
PixelSLinkDataInputSource::m_eventnumber_shift
int32_t m_eventnumber_shift
Definition: PixelSLinkDataInputSource.h:58
PixelSLinkDataInputSource::m_currenttriggernumber
uint32_t m_currenttriggernumber
Definition: PixelSLinkDataInputSource.h:56
PixelSLinkDataInputSource::~PixelSLinkDataInputSource
~PixelSLinkDataInputSource() override
Definition: PixelSLinkDataInputSource.cc:251
StorageAccount.h
PixelSLinkDataInputSource::synchronizeEvents
uint32_t synchronizeEvents()
Definition: PixelSLinkDataInputSource.cc:357
standard.h
PixelSLinkDataInputSource::produce
void produce(edm::Event &event) override
Definition: PixelSLinkDataInputSource.cc:350
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
PixelSLinkDataInputSource::storage
std::unique_ptr< Storage > storage
Definition: PixelSLinkDataInputSource.h:52
StorageFactory.h
PixelSLinkDataInputSource::buffers
std::unique_ptr< FEDRawDataCollection > buffers
Definition: PixelSLinkDataInputSource.h:60
PixelSLinkDataInputSource::PixelSLinkDataInputSource
PixelSLinkDataInputSource(const edm::ParameterSet &pset, const edm::InputSourceDescription &desc)
Definition: PixelSLinkDataInputSource.cc:193
InputSourceMacros.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
PluginManager.h
Frameworkfwd.h
edm::ProducerSourceFromFiles
Definition: ProducerSourceFromFiles.h:17
PixelSLinkDataInputSource::m_fileindex
uint32_t m_fileindex
Definition: PixelSLinkDataInputSource.h:51
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition: EventAuxiliary.h:18
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
PixelSLinkDataInputSource::m_data
uint64_t m_data
Definition: PixelSLinkDataInputSource.h:54
PixelSLinkDataInputSource::m_runnumber
int m_runnumber
Definition: PixelSLinkDataInputSource.h:53
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
PixelSLinkDataInputSource::setRunAndEventInfo
bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time, edm::EventAuxiliary::ExperimentType &) override
Definition: PixelSLinkDataInputSource.cc:253
PixelSLinkDataInputSource::m_currenteventnumber
uint32_t m_currenteventnumber
Definition: PixelSLinkDataInputSource.h:55
ParameterSet.h
ntuplemaker.time
time
Definition: ntuplemaker.py:310
event
Definition: event.py:1
edm::EventID
Definition: EventID.h:31
edm::Event
Definition: Event.h:73
PixelSLinkDataInputSource::getEventNumberFromFillWords
int getEventNumberFromFillWords(const std::vector< uint64_t > &data, uint32_t &totword)
Definition: PixelSLinkDataInputSource.cc:34
ProducerSourceFromFiles.h
edm::TimeValue_t
unsigned long long TimeValue_t
Definition: Timestamp.h:28
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27