13 event.getByToken(static_cast<const GTTokens*>(toks)->getExtToken(), exts);
15 unsigned int wdPerBX = 6;
19 for(
int blk=0; blk<4; blk++) {
21 unsigned int blkID = blk*2+24;
23 unsigned int extOffset = blk*64;
26 std::vector<uint32_t>
load;
30 for (
auto j = exts->
begin(
i); j != exts->
end(
i); ++j) {
32 for(
unsigned int wd=0; wd<wdPerBX; wd++) {
38 unsigned int startExt = wd*32+extOffset;
39 for(
unsigned bt=0; bt<32; bt++) {
41 if(j->getExternalDecision(bt+startExt)) word |= (0
x1 << bt);
53 res.push_back(
Block(blkID, load));
const_iterator end(int bx) const
Blocks pack(const edm::Event &, const PackerTokens *) override
std::vector< Block > Blocks
#define DEFINE_L1T_PACKER(type)
const_iterator begin(int bx) const