11 event.getByToken(static_cast<const GTTokens*>(toks)->getExtToken(), exts);
13 unsigned int wdPerBX = 6;
17 for (
int blk = 0; blk < 4; blk++) {
18 unsigned int blkID = blk * 2 + 24;
20 unsigned int extOffset = blk * 64;
23 std::vector<uint32_t>
load;
25 for (
int i = exts->getFirstBX();
i <= exts->getLastBX(); ++
i) {
26 for (
auto j = exts->begin(
i);
j != exts->end(
i); ++
j) {
27 for (
unsigned int wd = 0; wd < wdPerBX; wd++) {
31 unsigned int startExt = wd * 32 + extOffset;
32 for (
unsigned bt = 0; bt < 32; bt++) {
33 if (
j->getExternalDecision(bt + startExt))
46 res.push_back(
Block(blkID, load));
Blocks pack(const edm::Event &, const PackerTokens *) override
std::vector< Block > Blocks
#define DEFINE_L1T_PACKER(type)