CMS 3D CMS Logo

CaloLayer1Setup.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_CALOLAYER1SETUP_H
2 #define L1T_PACKER_STAGE2_CALOLAYER1SETUP_H
3 
6 
9 
10 #include "CaloLayer1Collections.h"
11 #include "CaloLayer1Tokens.h"
12 
13 namespace l1t {
14  namespace stage2 {
15  class CaloLayer1Setup : public PackingSetup {
16  public:
17  std::unique_ptr<PackerTokens> registerConsumes(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) override;
19  PackerMap getPackers(int fed, unsigned int fw) override;
21  std::unique_ptr<UnpackerCollections> getCollections(edm::Event& e) override;
22  UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override;
23  };
24  } // namespace stage2
25 } // namespace l1t
26 
27 #endif
l1t::stage2::CaloLayer1Setup::registerConsumes
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
Definition: CaloLayer1Setup.cc:11
l1t::stage2::CaloLayer1Setup::registerProducts
void registerProducts(edm::ProducesCollector) override
Definition: CaloLayer1Setup.cc:54
l1t::UnpackerMap
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
Definition: PackingSetup.h:25
l1t::stage2::CaloLayer1Setup::getCollections
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
Definition: CaloLayer1Setup.cc:63
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
CaloLayer1Tokens.h
l1t::stage2::CaloLayer1Setup::fillDescription
void fillDescription(edm::ParameterSetDescription &desc) override
Definition: CaloLayer1Setup.cc:16
ProducesCollector.h
l1t::PackerMap
std::map< std::pair< int, int >, Packers > PackerMap
Definition: PackingSetup.h:23
l1t::stage2::CaloLayer1Setup::getPackers
PackerMap getPackers(int fed, unsigned int fw) override
Definition: CaloLayer1Setup.cc:22
l1t::stage2::CaloLayer1Setup::getUnpackers
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
Definition: CaloLayer1Setup.cc:67
PackingSetup.h
edm::ParameterSet
Definition: ParameterSet.h:47
l1t::PackingSetup
Definition: PackingSetup.h:27
CaloLayer1Collections.h
l1t
delete x;
Definition: CaloConfig.h:22
fw
Definition: estimate_field.h:12
l1t::stage2::CaloLayer1Setup
Definition: CaloLayer1Setup.h:15
cc
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
Packer.h
looper.cfg
cfg
Definition: looper.py:296
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::ProducesCollector
Definition: ProducesCollector.h:43
Unpacker.h
amc
Definition: AMCSpec.h:8
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37