17 return std::unique_ptr<PackerTokens>(
new GTTokens(
cfg, cc));
34 if ((fed == 1404) || (fed == 1405)) {
39 gt_muon_packer->
setFed(fed);
40 gt_muon_packer->setFwVersion(
fw);
41 res[{1, 1}] = {gt_muon_packer,
62 for (
int i = 2;
i < 7; ++
i) {
94 muon_unp->setAlgoVersion(
fw);
95 muon_unp->setFedNumber(fed);
97 muon_unp->setMuonCopy(
amc - 1);
98 egamma_unp->setEGammaCopy(
amc - 1);
99 etsum_unp->setEtSumCopy(
amc - 1);
100 jet_unp->setJetCopy(
amc - 1);
101 tau_unp->setTauCopy(
amc - 1);
105 if ((fed == 1404) || (fed == 1405)) {
113 res[10] = egamma_unp;
std::shared_ptr< Packer > make(const std::string &) const
void setFed(unsigned fedId)
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
std::string to_string(const V &value)
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
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
std::shared_ptr< Unpacker > make(const std::string &) const
void fillDescription(edm::ParameterSetDescription &desc) override