13 const int bmtfBlockID = 123;
14 edm::LogInfo(
"L1T-BMTFPackerOutput") <<
"Will use setup:" 20 for (
auto imu =
muons->begin(); imu !=
muons->end(); imu++) {
21 if (imu->processor() + 1 == board_id) {
22 uint32_t firstWord(0), lastWord(0);
31 unsigned int initialSize =
payloadMap_[bmtfBlockID].size();
33 for (
unsigned int j = 0;
j < 3 - initialSize / 2;
j++) {
35 uint32_t nullMuon_word2 = 0 | ((65532 & 0xFFFF) << 3) | ((2 & 0x3) << 0);
39 unsigned int initialSize =
payloadMap_[bmtfBlockID].size();
41 for (
unsigned int j = 0;
j < 15 - initialSize / 2;
j++) {
43 uint32_t nullMuon_word2 = 0 | ((65532 & 0xFFFF) << 3) | ((2 & 0x3) << 0);
Blocks pack(const edm::Event &, const PackerTokens *) override
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
static void generatePackedDataWords(const RegionalMuonCand &mu, uint32_t &raw_data_00_31, uint32_t &raw_data_32_63, bool isKbmtf, bool useEmtfDisplacementInfo)
std::vector< Block > Blocks
Log< level::Info, false > LogInfo
#define DEFINE_L1T_PACKER(type)
std::map< unsigned int, std::vector< uint32_t > > payloadMap_