12 return std::unique_ptr<PackerTokens>(
new BMTFTokens(
cfg, cc));
21 if (fed == 1376 || fed == 1377) {
23 auto packer_out = std::make_shared<BMTFPackerOutput>();
26 packer_out->setKalmanAlgoTrue();
28 res[{board.first, board.second}] = {packer_out, packer_in};
49 auto outputMuon = std::make_shared<BMTFUnpackerOutput>();
50 auto outputMuon2 = std::make_shared<BMTFUnpackerOutput>(
false);
52 outputMuon->setKalmanAlgoTrue();
54 outputMuon2->setKalmanAlgoTrue();
57 if (fed == 1376 || fed == 1377) {
59 for (
int iL = 0; iL <= 70; iL += 2) {
60 if (iL == 12 || iL == 14 || (iL > 26 && iL < 32) || iL == 60 || iL == 62)
64 res[iL] = inputMuonsOld;
66 res[iL] = inputMuonsNew;
71 res[123] = outputMuon;
72 res[125] = outputMuon2;
std::shared_ptr< Packer > make(const std::string &) const
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
const unsigned int firstKalmanFwVer
PackerMap getPackers(int fed, unsigned int fw) override
static const PackerFactory * get()
std::map< int, std::shared_ptr< Unpacker > > UnpackerMap
void fillDescription(edm::ParameterSetDescription &desc) override
#define DEFINE_L1T_PACKING_SETUP(type)
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
static const UnpackerFactory * get()
const std::map< int, int > boardIdPerSlot
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
std::map< std::pair< int, int >, Packers > PackerMap
std::shared_ptr< Unpacker > make(const std::string &) const
const unsigned int firstNewInputsFwVer
void registerProducts(edm::ProducesCollector) override