1+ #ifndef L1Trigger_L1TGEM_ME0StubAlgoMask_H
2+ #define L1Trigger_L1TGEM_ME0StubAlgoMask_H
3+
4+ #include " L1Trigger/L1TGEM/interface/ME0StubAlgoSubfunction.h"
5+
6+ namespace l1t {
7+ namespace me0 {
8+ std::vector<int > shift_center (const hi_lo_t & ly, int max_span);
9+ uint64_t set_high_bits (const std::vector<int >& lo_hi_pair);
10+ Mask get_ly_mask (const patdef_t & ly_pat, int max_span);
11+
12+ const patdef_t pat_straight = patdef_t (17 , create_pat_ly(-0.4 , 0.4 ));
13+ const patdef_t pat_l = patdef_t (16 , create_pat_ly(0.2 , 0.9 ));
14+ const patdef_t pat_r = mirror_patdef(pat_l, pat_l.id - 1 );
15+ const patdef_t pat_l2 = patdef_t (14 , create_pat_ly(0.9 , 1.7 ));
16+ const patdef_t pat_r2 = mirror_patdef(pat_l2, pat_l2.id - 1 );
17+ const patdef_t pat_l3 = patdef_t (12 , create_pat_ly(1.4 , 2.3 ));
18+ const patdef_t pat_r3 = mirror_patdef(pat_l3, pat_l3.id - 1 );
19+ const patdef_t pat_l4 = patdef_t (10 , create_pat_ly(2.0 , 3.0 ));
20+ const patdef_t pat_r4 = mirror_patdef(pat_l4, pat_l4.id - 1 );
21+ const patdef_t pat_l5 = patdef_t (8 , create_pat_ly(2.7 , 3.8 ));
22+ const patdef_t pat_r5 = mirror_patdef(pat_l5, pat_l5.id - 1 );
23+ const patdef_t pat_l6 = patdef_t (6 , create_pat_ly(3.5 , 4.7 ));
24+ const patdef_t pat_r6 = mirror_patdef(pat_l6, pat_l6.id - 1 );
25+ const patdef_t pat_l7 = patdef_t (4 , create_pat_ly(4.3 , 5.5 ));
26+ const patdef_t pat_r7 = mirror_patdef(pat_l7, pat_l7.id-1 );
27+ const patdef_t pat_l8 = patdef_t (2 , create_pat_ly(5.4 , 7.0 ));
28+ const patdef_t pat_r8 = mirror_patdef(pat_l8, pat_l8.id-1 );
29+
30+ const std::vector<Mask> LAYER_MASK
31+ {get_ly_mask (pat_straight,37 ),
32+ get_ly_mask (pat_l,37 ),
33+ get_ly_mask (pat_r,37 ),
34+ get_ly_mask (pat_l2,37 ),
35+ get_ly_mask (pat_r2,37 ),
36+ get_ly_mask (pat_l3,37 ),
37+ get_ly_mask (pat_r3,37 ),
38+ get_ly_mask (pat_l4,37 ),
39+ get_ly_mask (pat_r4,37 ),
40+ get_ly_mask (pat_l5,37 ),
41+ get_ly_mask (pat_r5,37 ),
42+ get_ly_mask (pat_l6,37 ),
43+ get_ly_mask (pat_r6,37 ),
44+ get_ly_mask (pat_l7,37 ),
45+ get_ly_mask (pat_r7,37 ),
46+ get_ly_mask (pat_l8,37 ),
47+ get_ly_mask (pat_r8,37 )};
48+ }
49+ }
50+ #endif
0 commit comments