33 }
else if (fed == 1356) {
41 }
else if (fed == 1358) {
66 LogDebug(
"L1T") <<
"CaloLayer1Setup: about to pick an unpacker for fed " << fed <<
" board " << board <<
" amc " 67 << amc <<
" fw 0x" << std::hex << fw <<
std::dec;
68 if (fed == 1354 || fed == 1356 || fed == 1358) {
70 if (fw == 0x12345678) {
79 <<
"CaloLayer1Setup: unexpected CTP7 firmware ID, will try unpacking with default unpacker anyway";
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
std::shared_ptr< Packer > make(const std::string &) const
void registerProducts(edm::ProducesCollector) override
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
static const PackerFactory * get()
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
std::shared_ptr< Unpacker > make(const std::string &) const
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
#define DEFINE_L1T_PACKING_SETUP(type)
static const UnpackerFactory * get()
void fillDescription(edm::ParameterSetDescription &desc) override
std::map< std::pair< int, int >, Packers > PackerMap
std::vector< L1CaloRegion > L1CaloRegionCollection
PackerMap getPackers(int fed, unsigned int fw) override