Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-11 03:13:06

0001 #ifndef EcalDCCTB07UnpackingModule_H
0002 #define EcalDCCTB07UnpackingModule_H
0003 
0004 /** \class EcalUnpackingModule
0005  * 
0006  *
0007  * \author Y. Maravin
0008  * \author G. Franzoni
0009  * \author G. Della Ricca
0010  */
0011 
0012 #include <FWCore/Framework/interface/MakerMacros.h>
0013 #include <FWCore/Framework/interface/stream/EDProducer.h>
0014 #include "FWCore/Utilities/interface/InputTag.h"
0015 
0016 #include <iostream>
0017 #include <string>
0018 
0019 class EcalTB07DaqFormatter;
0020 class EcalSupervisorTBDataFormatter;
0021 class CamacTBDataFormatter;
0022 class TableDataFormatter;
0023 class MatacqTBDataFormatter;
0024 
0025 class EcalDCCTB07UnpackingModule : public edm::stream::EDProducer<> {
0026 public:
0027   /// Constructor
0028   EcalDCCTB07UnpackingModule(const edm::ParameterSet& pset);
0029 
0030   /// Destructor
0031   ~EcalDCCTB07UnpackingModule() override;
0032 
0033   /// Produce digis out of raw data
0034   void produce(edm::Event& e, const edm::EventSetup& c) override;
0035 
0036 private:
0037   EcalTB07DaqFormatter* formatter_;
0038   EcalSupervisorTBDataFormatter* ecalSupervisorFormatter_;
0039   CamacTBDataFormatter* camacTBformatter_;
0040   TableDataFormatter* tableFormatter_;
0041   MatacqTBDataFormatter* matacqFormatter_;
0042 
0043   bool ProduceEEDigis_;
0044   bool ProduceEBDigis_;
0045   edm::InputTag fedRawDataCollectionTag_;
0046 };
0047 
0048 #endif