Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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