Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:05

0001 #ifndef L1T_PACKER_STAGE2_GTSETUP_H
0002 #define L1T_PACKER_STAGE2_GTSETUP_H
0003 
0004 #include "EventFilter/L1TRawToDigi/interface/Packer.h"
0005 #include "EventFilter/L1TRawToDigi/interface/Unpacker.h"
0006 
0007 #include "EventFilter/L1TRawToDigi/interface/PackingSetup.h"
0008 #include "FWCore/Framework/interface/ProducesCollector.h"
0009 
0010 #include "GTCollections.h"
0011 #include "GTTokens.h"
0012 
0013 namespace l1t {
0014   namespace stage2 {
0015     class GTSetup : public PackingSetup {
0016     public:
0017       ~GTSetup() override{};
0018       std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
0019       void fillDescription(edm::ParameterSetDescription& desc) override;
0020       PackerMap getPackers(int fed, unsigned int fw) override;
0021       void registerProducts(edm::ProducesCollector) override;
0022       std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
0023       UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
0024     };
0025   }  // namespace stage2
0026 }  // namespace l1t
0027 
0028 #endif