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 
9 
10 #include "GTCollections.h"
11 #include "GTTokens.h"
12 
13 namespace l1t {
14  namespace stage2 {
15  class GTSetup : public PackingSetup {
16  public:
17  ~GTSetup() override{};
18  std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
20  PackerMap getPackers(int fed, unsigned int fw) override;
22  std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
23  UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
24  };
25  } // namespace stage2
26 } // namespace l1t
27 
28 #endif
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: GTSetup.cc:75
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: GTSetup.cc:16
void registerProducts(edm::ProducesCollector) override
Definition: GTSetup.cc:52
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:25
PackerMap getPackers(int fed, unsigned int fw) override
Definition: GTSetup.cc:31
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
Definition: GTSetup.cc:71
~GTSetup() override
Definition: GTSetup.h:17
std::map< std::pair< int, int >, Packers > PackerMap
Definition: PackingSetup.h:23
Definition: AMCSpec.h:8
void fillDescription(edm::ParameterSetDescription &desc) override
Definition: GTSetup.cc:20