Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:45:17

0001 #ifndef DTROS8Unpacker_h
0002 #define DTROS8Unpacker_h
0003 
0004 /** \class DTROS8Unpacker
0005  *  The unpacker for DTs' ROS8: 
0006  *  final version of Read Out Sector board with 25 channels.
0007  *
0008  * \author M. Zanetti INFN Padova
0009  *  FRC 140906 
0010  */
0011 
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 
0014 #include <EventFilter/DTRawToDigi/plugins/DTUnpacker.h>
0015 
0016 class DTReadOutMapping;
0017 
0018 class DTROS8Unpacker : public DTUnpacker {
0019 public:
0020   /// Constructor
0021   DTROS8Unpacker(const edm::ParameterSet& ps) : pset(ps) {}
0022 
0023   /// Destructor
0024   ~DTROS8Unpacker() override {}
0025 
0026   // Unpacking method
0027   void interpretRawData(const unsigned int* index,
0028                         int datasize,
0029                         int dduID,
0030                         edm::ESHandle<DTReadOutMapping>& mapping,
0031                         std::unique_ptr<DTDigiCollection>& product,
0032                         std::unique_ptr<DTLocalTriggerCollection>& product2,
0033                         uint16_t rosList = 0) override;
0034 
0035 private:
0036   const edm::ParameterSet pset;
0037 };
0038 
0039 #endif