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;
19  void fillDescription(edm::ParameterSetDescription& desc) 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
l1t::stage2::GTSetup::getPackers
PackerMap getPackers(int fed, unsigned int fw) override
Definition: GTSetup.cc:29
l1t::UnpackerMap
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:25
l1t::stage2::GTSetup::getCollections
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
Definition: GTSetup.cc:65
l1t::stage2::GTSetup::registerProducts
void registerProducts(edm::ProducesCollector) override
Definition: GTSetup.cc:48
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
GTTokens.h
ProducesCollector.h
GTCollections.h
l1t::PackerMap
std::map< std::pair< int, int >, Packers > PackerMap
Definition: PackingSetup.h:23
l1t::stage2::GTSetup::fillDescription
void fillDescription(edm::ParameterSetDescription &desc) override
Definition: GTSetup.cc:19
PackingSetup.h
l1t::stage2::GTSetup
Definition: GTSetup.h:15
edm::ParameterSet
Definition: ParameterSet.h:36
l1t::PackingSetup
Definition: PackingSetup.h:27
l1t
delete x;
Definition: CaloConfig.h:22
fw
Definition: estimate_field.h:12
l1t::stage2::GTSetup::registerConsumes
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: GTSetup.cc:15
l1t::stage2::GTSetup::getUnpackers
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: GTSetup.cc:69
cc
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
Packer.h
looper.cfg
cfg
Definition: looper.py:297
edm::ProducesCollector
Definition: ProducesCollector.h:43
Unpacker.h
l1t::stage2::GTSetup::~GTSetup
~GTSetup() override
Definition: GTSetup.h:17
amc
Definition: AMCSpec.h:8
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37