18 return std::unique_ptr<PackerTokens>(
new GMTTokens(cfg, cc));
26 ->setComment(
"uGMT intermediate muon from BMTF after first sorting stage");
28 ->setComment(
"uGMT intermediate muon from neg. EMTF side after first sorting stage");
30 ->setComment(
"uGMT intermediate muon from pos. EMTF side after first sorting stage");
32 ->setComment(
"uGMT intermediate muon from neg. OMTF side after first sorting stage");
34 ->setComment(
"uGMT intermediate muon from pos. OMTF side after first sorting stage");
55 for (
int i = 1;
i < 6; ++
i) {
66 return std::unique_ptr<UnpackerCollections>(
new GMTCollections(e));
75 for (
int iLink = 72; iLink < 144; iLink += 2)
76 res[iLink] = gmt_in_unp;
83 for (
int oLink = 49; oLink < 65; oLink += 2)
84 res[oLink] = gmt_imd_unp;
87 std::array<std::shared_ptr<l1t::stage2::MuonUnpacker>, 6> gmt_out_unps;
89 for (
auto gmt_out_unp : gmt_out_unps) {
93 gmt_out_unp->setFedNumber(fed);
94 gmt_out_unp->setMuonCopy(i);
96 int oLinkMin = i * 8 + 1;
97 for (
int oLink = oLinkMin; oLink < oLinkMin + 8; oLink += 2)
98 res[oLink] = gmt_out_unp;
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
std::shared_ptr< Packer > make(const std::string &) const
static const PackerFactory * get()
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
void fillDescription(edm::ParameterSetDescription &desc) override
PackerMap getPackers(int fed, unsigned int fw) override
void registerProducts(edm::ProducesCollector) override
std::shared_ptr< Unpacker > make(const std::string &) const
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
#define DEFINE_L1T_PACKING_SETUP(type)
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
static const UnpackerFactory * get()
void setAlgoVersion(const unsigned int version)
std::map< std::pair< int, int >, Packers > PackerMap