CMS 3D CMS Logo

BMTFSetup.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_BMTFSETUP_H
2 #define L1T_PACKER_STAGE2_BMTFSETUP_H
3 
7 
8 #include "BMTFCollections.h"
9 #include "BMTFTokens.h"
10 
11 namespace l1t {
12  namespace stage2 {
13  class BMTFSetup : public PackingSetup {
14  public:
15  virtual std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
16  virtual void fillDescription(edm::ParameterSetDescription& desc) override;
17  virtual PackerMap getPackers(int fed, unsigned int fw) override;
18  virtual void registerProducts(edm::stream::EDProducerBase& prod) override;
19  virtual std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
20  virtual UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
21  };
22  }
23 }
24 
25 #endif
virtual std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: BMTFSetup.cc:12
delete x;
Definition: CaloConfig.h:22
virtual PackerMap getPackers(int fed, unsigned int fw) override
Definition: BMTFSetup.cc:20
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:27
virtual void fillDescription(edm::ParameterSetDescription &desc) override
Definition: BMTFSetup.cc:17
virtual std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
Definition: BMTFSetup.cc:45
virtual void registerProducts(edm::stream::EDProducerBase &prod) override
Definition: BMTFSetup.cc:35
virtual UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: BMTFSetup.cc:51
std::map< std::pair< int, int >, Packers > PackerMap
Definition: PackingSetup.h:25
Definition: AMCSpec.h:8