12 std::unique_ptr<PackerTokens>
15 return std::unique_ptr<PackerTokens>(
new GMTTokens(cfg, cc));
24 desc.
addOptional<
edm::InputTag>(
"ImdInputLabelBMTF")->setComment(
"uGMT intermediate muon from BMTF after first sorting stage");
25 desc.
addOptional<
edm::InputTag>(
"ImdInputLabelEMTFNeg")->setComment(
"uGMT intermediate muon from neg. EMTF side after first sorting stage");
26 desc.
addOptional<
edm::InputTag>(
"ImdInputLabelEMTFPos")->setComment(
"uGMT intermediate muon from pos. EMTF side after first sorting stage");
27 desc.
addOptional<
edm::InputTag>(
"ImdInputLabelOMTFNeg")->setComment(
"uGMT intermediate muon from neg. OMTF side after first sorting stage");
28 desc.
addOptional<
edm::InputTag>(
"ImdInputLabelOMTFPos")->setComment(
"uGMT intermediate muon from pos. OMTF side after first sorting stage");
62 std::unique_ptr<UnpackerCollections>
65 return std::unique_ptr<UnpackerCollections>(
new GMTCollections(e));
78 for (
int iLink = 72; iLink < 144; iLink += 2)
79 res[iLink] = gmt_in_unp;
81 for (
int oLink = 1; oLink < 9; oLink += 2)
82 res[oLink] = gmt_out_unp;
84 for (
int oLink = 49; oLink < 63; oLink += 2)
85 res[oLink] = gmt_imd_unp;
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
virtual std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
std::shared_ptr< Packer > make(const std::string &) const
virtual void registerProducts(edm::stream::EDProducerBase &prod) override
static const PackerFactory * get()
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
virtual void fillDescription(edm::ParameterSetDescription &desc) override
virtual PackerMap getPackers(int fed, unsigned int fw) override
std::shared_ptr< Unpacker > make(const std::string &) const
virtual UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
#define DEFINE_L1T_PACKING_SETUP(type)
virtual std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
static const UnpackerFactory * get()
std::map< std::pair< int, int >, Packers > PackerMap