17 return std::unique_ptr<PackerTokens>(
new GMTTokens(cfg, cc));
48 return std::unique_ptr<UnpackerCollections>(
new GMTCollections(e));
58 for (
int iLink = 72; iLink < 144; iLink += 2)
59 res[iLink] = gmt_in_unp;
61 for (
int oLink = 1; oLink < 9; oLink += 2)
62 res[oLink] = gmt_out_unp;
virtual void fillDescription(edm::ParameterSetDescription &desc) override
virtual void registerProducts(edm::stream::EDProducerBase &prod) override
virtual std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
std::shared_ptr< Packer > make(const std::string &) const
static const PackerFactory * get()
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
virtual std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
std::shared_ptr< Unpacker > make(const std::string &) const
static const UnpackerFactory * get()
virtual UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
virtual PackerMap getPackers(int fed, unsigned int fw) override
std::map< std::pair< int, int >, Packers > PackerMap
#define DEFINE_L1T_PACKING_SETUP(type)