Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:31

0001 #ifndef EventFilter_DTDigiToRawModule_h
0002 #define EventFilter_DTDigiToRawModule_h
0003 
0004 #include "FWCore/Framework/interface/stream/EDProducer.h"
0005 #include "FWCore/Utilities/interface/InputTag.h"
0006 #include "DataFormats/DTDigi/interface/DTDigiCollection.h"
0007 #include "FWCore/Utilities/interface/ESGetToken.h"
0008 #include "CondFormats/DTObjects/interface/DTReadOutMapping.h"
0009 #include "CondFormats/DataRecord/interface/DTReadOutMappingRcd.h"
0010 
0011 class DTDigiToRaw;
0012 
0013 class DTDigiToRawModule : public edm::stream::EDProducer<> {
0014 public:
0015   /// Constructor
0016   DTDigiToRawModule(const edm::ParameterSet& pset);
0017 
0018   /// Destructor
0019   ~DTDigiToRawModule() override;
0020 
0021   // Operations
0022   void produce(edm::Event&, const edm::EventSetup&) override;
0023 
0024 private:
0025   DTDigiToRaw* packer;
0026 
0027   int dduID;
0028   bool debug;
0029   edm::EDGetTokenT<DTDigiCollection> digicoll;
0030   edm::ESGetToken<DTReadOutMapping, DTReadOutMappingRcd> mapToken_;
0031 
0032   bool useStandardFEDid_;
0033   int minFEDid_;
0034   int maxFEDid_;
0035 };
0036 #endif