17 std::unique_ptr<PackerTokens>
20 return std::unique_ptr<PackerTokens>(
new GTTokens(cfg, cc));
69 for (
int i=2;
i<7; ++
i) {
79 std::unique_ptr<UnpackerCollections>
82 return std::unique_ptr<UnpackerCollections>(
new GTCollections(e));
98 muon_unp->setAlgoVersion(fw);
99 muon_unp->setFedNumber(fed);
101 muon_unp->setMuonCopy(amc-1);
102 egamma_unp->setEGammaCopy(amc-1);
103 etsum_unp->setEtSumCopy(amc-1);
104 jet_unp->setJetCopy(amc-1);
105 tau_unp->setTauCopy(amc-1);
117 res[10] = egamma_unp;
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
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()
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 registerProducts(edm::stream::EDProducerBase &prod) override
void fillDescription(edm::ParameterSetDescription &desc) override