CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripDigiToRaw.h
Go to the documentation of this file.
1 
2 #ifndef EventFilter_SiStripRawToDigi_SiStripDigiToRaw_H
3 #define EventFilter_SiStripRawToDigi_SiStripDigiToRaw_H
4 
9 #include "boost/cstdint.hpp"
10 #include <string>
11 
13 
14 class SiStripFedCabling;
16 class SiStripDigi;
17 class SiStripRawDigi;
18 
19 namespace sistrip {
20 
29 
30  public: // ----- public interface -----
31 
32  DigiToRaw( FEDReadoutMode, bool use_fed_key );
33  ~DigiToRaw();
34 
35  void createFedBuffers( edm::Event&,
38  std::auto_ptr<FEDRawDataCollection>& buffers );
39  void createFedBuffers( edm::Event&,
42  std::auto_ptr<FEDRawDataCollection>& buffers);
43 
44  inline void fedReadoutMode( FEDReadoutMode mode ) { mode_ = mode; }
45 
46  private: // ----- private data members -----
47 
48  template<class Digi_t>
49  void createFedBuffers_( edm::Event&,
52  std::auto_ptr<FEDRawDataCollection>& buffers,
53  bool zeroSuppressed);
56 
58  bool useFedKey_;
60 
61  };
62 
63 }
64 
65 
66 #endif // EventFilter_SiStripRawToDigi_SiStripDigiToRaw_H
67 
#define dso_hidden
void fedReadoutMode(FEDReadoutMode mode)
Input: edm::DetSetVector&lt;SiStripDigi&gt;. Output: FEDRawDataCollection.
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
FEDReadoutMode mode_
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
#define begin
Definition: vmac.h:30
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
FEDBufferGenerator bufferGenerator_