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));
102 muon_unp->setAlgoVersion(fw);
103 muon_unp->setFedNumber(fed);
105 muon_unp->setMuonCopy(amc-1);
106 egamma_unp->setEGammaCopy(amc-1);
107 etsum_unp->setEtSumCopy(amc-1);
108 jet_unp->setJetCopy(amc-1);
109 tau_unp->setTauCopy(amc-1);
121 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