7 template<
typename T,
typename F>
11 std::vector<uint32_t>
load[2];
14 uint16_t jetbit[4] = {0, 0, 0, 0};
16 for (
auto j = coll.
begin(
i);
j != coll.
end(
i) && n < 4; ++
j) {
21 (
abs(
j->hwEta()) & 0x7) << 6 |
22 ((
j->hwEta() >> 3) & 0x1) << 9 |
23 (
j->hwPhi() & 0x1F) << 10;
25 uint32_t word0=(jetbit[0] & 0xFFFF);
26 uint32_t word1=(jetbit[1] & 0xFFFF);
27 uint32_t word2=(jetbit[2] & 0xFFFF);
28 uint32_t word3=(jetbit[3] & 0xFFFF);
30 load[0].push_back(word0);
31 load[0].push_back(word2);
33 load[1].push_back(word1);
34 load[1].push_back(word3);
47 event.getByToken(static_cast<const CaloTokens*>(toks)->getEGammaToken(), egammas);
56 event.getByToken(static_cast<const CaloTokens*>(toks)->getEGammaToken(), egammas);
65 event.getByToken(static_cast<const CaloTokens*>(toks)->getJetToken(), jets);
74 event.getByToken(static_cast<const CaloTokens*>(toks)->getJetToken(), jets);
83 event.getByToken(static_cast<const CaloTokens*>(toks)->getTauToken(), taus);
92 event.getByToken(static_cast<const CaloTokens*>(toks)->getIsoTauToken(), taus);
const_iterator end(int bx) const
virtual Blocks pack(const edm::Event &, const PackerTokens *) override
virtual Blocks pack(const edm::Event &, const PackerTokens *) override
std::vector< Block > Blocks
virtual Blocks pack(const edm::Event &, const PackerTokens *) override
Abs< T >::type abs(const T &t)
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)
virtual Blocks pack(const edm::Event &, const PackerTokens *) override
virtual Blocks pack(const edm::Event &, const PackerTokens *) override
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
const_iterator begin(int bx) const
virtual Blocks pack(const edm::Event &, const PackerTokens *) override