CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: PixelSLinkDataInputSource.h,v 1.9 2008/02/25 21:12:09 fblekman Exp $
19 //
20 //
21 
27 #include <iostream>
28 #include <iomanip>
34 
36 
37 public:
38 
39  explicit PixelSLinkDataInputSource(const edm::ParameterSet& pset,
40  const edm::InputSourceDescription& desc);
41 
43 
44  bool produce(edm::Event& event);
45 
46 
47 private:
48 
49  int m_fedid;
50  uint32_t m_fileindex;
51  std::auto_ptr<Storage> storage;
58  int getEventNumberFromFillWords(std::vector<uint64_t> data, uint32_t &totword);
59  uint32_t synchronizeEvents();
60 };
61 #endif
int getEventNumberFromFillWords(std::vector< uint64_t > data, uint32_t &totword)
PixelSLinkDataInputSource(const edm::ParameterSet &pset, const edm::InputSourceDescription &desc)
unsigned long long uint64_t
Definition: Time.h:15
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::auto_ptr< Storage > storage