12 return std::unique_ptr<PackerTokens>(
new BMTFTokens(cfg, cc));
21 if (fed == 1376 || fed == 1377) {
22 std::array<int, 12> board_out = {{1, 7, 2, 8, 3, 9, 4, 10, 5, 11, 6, 12}};
24 for (
unsigned int i = 1;
i <= board_out.size();
i++) {
81 auto outputMuon = std::make_shared<BMTFUnpackerOutput>();
82 auto outputMuon2 = std::make_shared<BMTFUnpackerOutput>(
false);
84 outputMuon->setKalmanAlgoTrue();
86 outputMuon2->setKalmanAlgoTrue();
89 if (fed == 1376 || fed == 1377) {
91 for (
int iL = 0; iL <= 70; iL += 2) {
92 if (iL == 12 || iL == 14 || (iL > 26 && iL < 32) || iL == 60 || iL == 62)
95 if (fw < 2452619552) {
96 res[iL] = inputMuonsOld;
98 res[iL] = inputMuonsNew;
103 res[123] = outputMuon;
104 res[125] = outputMuon2;
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) override
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
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
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()
UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override
std::map< std::pair< int, int >, Packers > PackerMap
void registerProducts(edm::ProducesCollector) override