7 template<
typename T,
typename F>
11 std::vector<uint32_t>
load;
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) | ((jetbit[1] & 0xFFFF) << 16);
26 uint32_t word1=(jetbit[2] & 0xFFFF) | ((jetbit[3] & 0xFFFF) << 16);
28 word0 |= (1 << 31) | (1 << 15);
29 word1 |= ((
i == 0) << 31) | ((
i == 0) << 15);
31 load.push_back(word0);
32 load.push_back(word1);
80 event.getByToken(static_cast<const CaloTokens*>(toks)->getEGammaToken(), egammas);
89 event.getByToken(static_cast<const CaloTokens*>(toks)->getEGammaToken(), egammas);
98 event.getByToken(static_cast<const CaloTokens*>(toks)->getJetToken(), jets);
107 event.getByToken(static_cast<const CaloTokens*>(toks)->getJetToken(), jets);
116 event.getByToken(static_cast<const CaloTokens*>(toks)->getTauToken(), taus);
125 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
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
#define DEFINE_L1T_PACKER(type)
virtual Blocks pack(const edm::Event &, const PackerTokens *) override