CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTDDUUnpacker.h
Go to the documentation of this file.
1 #ifndef DTDDUUnpacker_h
2 #define DTDDUUnpacker_h
3 
11 
15 // class DTROS25Unpacker;
16 
17 class DTDDUUnpacker : public DTUnpacker {
18 public:
21 
23  ~DTDDUUnpacker() override;
24 
25  // Unpacking method
26  void interpretRawData(const unsigned int* index,
27  int datasize,
28  int dduID,
30  std::unique_ptr<DTDigiCollection>& product,
31  std::unique_ptr<DTLocalTriggerCollection>& product2,
32  uint16_t rosList = 0) override;
33 
34  inline const std::vector<DTROS25Data>& getROSsControlData() const { return ros25Unpacker->getROSsControlData(); }
35 
36  inline const DTDDUData& getDDUControlData() const { return controlData; }
37 
38 private:
40 
42  bool localDAQ;
43 
46 
47  bool debug;
48 
50 
52 };
53 
54 #endif
void interpretRawData(const unsigned int *index, int datasize, int dduID, edm::ESHandle< DTReadOutMapping > &mapping, std::unique_ptr< DTDigiCollection > &product, std::unique_ptr< DTLocalTriggerCollection > &product2, uint16_t rosList=0) override
DTROS25Unpacker * ros25Unpacker
Definition: DTDDUUnpacker.h:49
const std::vector< DTROS25Data > & getROSsControlData() const
Definition: DTDDUUnpacker.h:34
bool localDAQ
if data are read locally, status words are swapped
Definition: DTDDUUnpacker.h:42
const DTDDUData & getDDUControlData() const
Definition: DTDDUUnpacker.h:36
const edm::ParameterSet dduPSet
Definition: DTDDUUnpacker.h:39
bool performDataIntegrityMonitor
perform DQM for DDU
Definition: DTDDUUnpacker.h:45
~DTDDUUnpacker() override
Destructor.
DTDDUUnpacker(const edm::ParameterSet &ps)
Constructor.
DTDDUData controlData
Definition: DTDDUUnpacker.h:51
const std::vector< DTROS25Data > & getROSsControlData() const