13 std::unique_ptr<PackerTokens>
16 return std::unique_ptr<PackerTokens>(
new CaloTokens(cfg, cc));
66 std::unique_ptr<UnpackerCollections>
80 if ((fw >> 24) == 0xff) {
85 if (board == 0x200D) {
94 res[2] = niegamma_unp;
126 res[77] = cjet_unp_Left;
127 res[79] = cjet_unp_Right;
128 res[81] = fjet_unp_Left;
129 res[83] = fjet_unp_Right;
130 res[85] = iegamma_unp_Left;
131 res[87] = iegamma_unp_Right;
132 res[89] = niegamma_unp_Left;
133 res[91] = niegamma_unp_Right;
135 res[95] = missetsum_unp;
136 res[97] = calospare_unp;
137 res[99] = misshtsum_unp;
138 res[101] = tau_unp_Left;
139 res[103] = tau_unp_Right;
140 res[105] = isotau_unp_Left;
141 res[107] = isotau_unp_Right;
143 for (
int m=0;
m<36;
m++) {
std::vector< L1CaloEmCand > L1CaloEmCollection
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
std::shared_ptr< Packer > make(const std::string &) const
PackerMap getPackers(int fed, unsigned int fw) override
static const PackerFactory * get()
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
std::shared_ptr< Unpacker > make(const std::string &) const
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
#define DEFINE_L1T_PACKING_SETUP(type)
static const UnpackerFactory * get()
void registerProducts(edm::stream::EDProducerBase &prod) override
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
std::map< std::pair< int, int >, Packers > PackerMap
std::vector< L1CaloRegion > L1CaloRegionCollection
void fillDescription(edm::ParameterSetDescription &desc) override