15 event.getByToken(static_cast<const CommonTokens*>(toks)->getJetToken(), jets);
17 std::vector<uint32_t> load1, load2;
21 for (
int i = jets->getFirstBX();
i <= jets->getLastBX(); ++
i) {
24 for (
auto j = jets->begin(
i);
j != jets->end(
i); ++
j ) {
26 uint32_t packed_eta =
abs(
j->hwEta()) & 0x7F;
28 packed_eta = (128 - packed_eta) | 1<<7;
34 (
j->hwPhi() & 0xFF) << 19 |
35 (
j->hwQual() & 0x7) << 27;
39 else load2.push_back(word);
virtual Blocks pack(const edm::Event &, const PackerTokens *) override
std::vector< Block > Blocks
Abs< T >::type abs(const T &t)
unsigned int nOutputFramePerBX
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
#define DEFINE_L1T_PACKER(type)