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 
16  namespace zdc {
17  extern const unsigned int nOutputFramePerBX;
18  } // namespace zdc
19 
20  class GTSetup : public PackingSetup {
21  public:
22  ~GTSetup() override{};
23  std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
25  PackerMap getPackers(int fed, unsigned int fw) override;
27  std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
28  UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
29  };
30  } // namespace stage2
31 } // namespace l1t
32 
33 #endif
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: GTSetup.cc:84
delete x;
Definition: CaloConfig.h:22
const unsigned int nOutputFramePerBX
Definition: GTSetup.cc:16
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: GTSetup.cc:21
void registerProducts(edm::ProducesCollector) override
Definition: GTSetup.cc:58
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:25
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:22
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:25