17 return std::unique_ptr<PackerTokens>(
new GTTokens(cfg, cc));
37 gt_muon_packer->
setFed(fed);
38 gt_muon_packer->setFwVersion(fw);
39 res[{1, 1}] = {gt_muon_packer,
59 for (
int i = 2;
i < 7; ++
i) {
69 return std::unique_ptr<UnpackerCollections>(
new GTCollections(e));
90 muon_unp->setAlgoVersion(fw);
91 muon_unp->setFedNumber(fed);
93 muon_unp->setMuonCopy(amc - 1);
94 egamma_unp->setEGammaCopy(amc - 1);
95 etsum_unp->setEtSumCopy(amc - 1);
96 jet_unp->setJetCopy(amc - 1);
97 tau_unp->setTauCopy(amc - 1);
108 res[10] = egamma_unp;
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
void setFed(unsigned fedId)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
std::shared_ptr< Packer > make(const std::string &) const
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
static const PackerFactory * get()
void registerProducts(edm::ProducesCollector) override
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
std::shared_ptr< Unpacker > make(const std::string &) const
PackerMap getPackers(int fed, unsigned int fw) override
#define DEFINE_L1T_PACKING_SETUP(type)
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
static const UnpackerFactory * get()
std::map< std::pair< int, int >, Packers > PackerMap
void fillDescription(edm::ParameterSetDescription &desc) override