12 std::unique_ptr<PackerTokens>
15 return std::unique_ptr<PackerTokens>(
new BMTFTokens(cfg, cc));
26 if (fed == 1376 || fed == 1377) {
28 std::array<int,12> board_out = { {1,7,2,8,3,9,4,10,5,11,6,12} };
30 for (
unsigned int i=1;
i<=board_out.size();
i++)
84 std::unique_ptr<UnpackerCollections>
97 auto outputMuon = std::make_shared<BMTFUnpackerOutput>();
98 auto outputMuon2 = std::make_shared<BMTFUnpackerOutput>(
false);
100 outputMuon -> setKalmanAlgoTrue();
102 outputMuon2 -> setKalmanAlgoTrue();
105 if (fed == 1376 || fed == 1377) {
108 for (
int iL = 0; iL <= 70; iL += 2) {
109 if (iL == 12 || iL == 14 || ( iL > 26 && iL < 32) || iL == 60 || iL == 62)
112 if (fw < 2452619552){
113 res[iL] = inputMuonsOld;
116 res[iL] = inputMuonsNew;
121 res[123] = outputMuon;
122 res[125] = outputMuon2;
std::unique_ptr< PackerTokens > registerConsumes(const edm::ParameterSet &cfg, edm::ConsumesCollector &cc) 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
void fillDescription(edm::ParameterSetDescription &desc) override
#define DEFINE_L1T_PACKING_SETUP(type)
std::unique_ptr< UnpackerCollections > getCollections(edm::Event &e) override
void registerProducts(edm::stream::EDProducerBase &prod) 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