CMS 3D CMS Logo

GTSetup.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_GTSETUP_H
2 #define L1T_PACKER_STAGE2_GTSETUP_H
3 
6 
8 
9 #include "GTCollections.h"
10 #include "GTTokens.h"
11 
12 namespace l1t {
13  namespace stage2 {
14  class GTSetup : public PackingSetup {
15  public:
16  ~GTSetup() override {};
17  std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
18  void fillDescription(edm::ParameterSetDescription& desc) 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  }
25 }
26 
27 #endif
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: GTSetup.cc:86
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: GTSetup.cc:18
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:27
PackerMap getPackers(int fed, unsigned int fw) override
Definition: GTSetup.cc:36
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
Definition: GTSetup.cc:80
~GTSetup() override
Definition: GTSetup.h:16
std::map< std::pair< int, int >, Packers > PackerMap
Definition: PackingSetup.h:25
Definition: AMCSpec.h:8
void registerProducts(edm::stream::EDProducerBase &prod) override
Definition: GTSetup.cc:59
void fillDescription(edm::ParameterSetDescription &desc) override
Definition: GTSetup.cc:24