CMS 3D CMS Logo

GMTSetup.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_GMTSETUP_H
2 #define L1T_PACKER_STAGE2_GMTSETUP_H
3 
6 
9 
10 #include "GMTCollections.h"
11 #include "GMTTokens.h"
12 
13 namespace l1t {
14  namespace stage2 {
15  class GMTSetup : public PackingSetup {
16  public:
17  std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
19  PackerMap getPackers(int fed, unsigned int fw) override;
21  std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
22  UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
23  };
24  } // namespace stage2
25 } // namespace l1t
26 
27 #endif
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
Definition: GMTSetup.cc:92
delete x;
Definition: CaloConfig.h:22
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:25
void fillDescription(edm::ParameterSetDescription &desc) override
Definition: GMTSetup.cc:25
PackerMap getPackers(int fed, unsigned int fw) override
Definition: GMTSetup.cc:43
void registerProducts(edm::ProducesCollector) override
Definition: GMTSetup.cc:71
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: GMTSetup.cc:96
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: GMTSetup.cc:21
std::map< std::pair< int, int >, Packers > PackerMap
Definition: PackingSetup.h:23
Definition: AMCSpec.h:8