CMS 3D CMS Logo

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