Go to the source code of this file.
template<typename T , typename F >
Definition at line 9 of file PhysCandPacker.cc.
References funct::abs(), BXVector< T >::begin(), BXVector< T >::end(), alcazmumu_cfi::filter, BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), i, j, svgfig::load(), min(), and gen::n.
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);
const_iterator end(int bx) const
Abs< T >::type abs(const T &t)
const_iterator begin(int bx) const