12 std::unique_ptr<PackerTokens>
40 else if (fed == 1356) {
49 else if (fed == 1358) {
70 std::unique_ptr<UnpackerCollections>
80 LogDebug(
"L1T") <<
"CaloLayer1Setup: about to pick an unpacker for fed " << fed <<
" board " << board <<
" amc " << amc <<
" fw 0x" << std::hex << fw <<
std::dec;
81 if (fed == 1354 || fed == 1356 || fed == 1358) {
83 if (fw == 0x12345678) {
91 edm::LogWarning(
"L1T") <<
"CaloLayer1Setup: unexpected CTP7 firmware ID, will try unpacking with default unpacker anyway";
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
std::shared_ptr< Packer > make(const std::string &) const
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
void registerProducts(edm::stream::EDProducerBase &prod) override
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