|
12 | 12 | #include "L1Trigger/Phase2L1GMT/interface/ConvertedTTTrack.h" |
13 | 13 | #include "L1Trigger/Phase2L1GMT/interface/PreTrackMatchedMuon.h" |
14 | 14 | #include "L1Trigger/Phase2L1GMT/interface/TPSLUTs.h" |
15 | | -#include <fstream> |
16 | 15 | #include <iostream> |
17 | 16 |
|
18 | 17 | namespace Phase2L1GMT { |
19 | 18 |
|
20 | | - const unsigned int PHIDIVIDER = 1 << (BITSPHI - BITSSTUBCOORD); |
| 19 | + const unsigned int PHISHIFT = BITSPHI - BITSSTUBCOORD; |
21 | 20 | const unsigned int ETADIVIDER = 1 << (BITSETA - BITSSTUBETA); |
| 21 | + const unsigned int BITSHIFTPROP1C1 = 9; |
| 22 | + const unsigned int BITSHIFTPROP2C1 = 23; |
| 23 | + const unsigned int BITSHIFTPROP3C1 = 22; |
| 24 | + const unsigned int BITSHIFTPROP1C2 = 9; |
| 25 | + const unsigned int BITSHIFTPROP2C2 = 24; |
| 26 | + const unsigned int BITSHIFTPROP3C2 = 19; |
| 27 | + const unsigned int BITSHIFTRES1 = 11; |
| 28 | + //for comparison with absK to see which functional form to propagate phi according to |
| 29 | + //coord1 k cutoff: 4096 |
| 30 | + //coord2 k cutoffs: 1024, 7168, 4096, 2048, 4096 |
| 31 | + const unsigned int BITSHIFTCURVSCALEC1 = 12; |
| 32 | + const unsigned int BITSHIFTCURVSCALEC2LEADS[5] = {10, 13, 12, 11, 12}; |
| 33 | + const unsigned int BITSHIFTCURVSCALEC2CORRS[5] = {0, 10, 0, 0, 0}; |
| 34 | + |
22 | 35 | const unsigned int BITSPROP = BITSPHI - 2; |
23 | | - const unsigned int PROPMAX = ~ap_uint<BITSPROP>(0); |
| 36 | + const ap_uint<BITSPROP> PROPMAX = ~ap_uint<BITSPROP>(0); |
| 37 | + const ap_uint<BITSSIGMACOORD> SIGMAMAX = ~ap_uint<BITSSIGMACOORD>(0); |
| 38 | + const ap_uint<BITSSIGMACOORD> SIGMAMIN = 2; |
24 | 39 |
|
25 | 40 | struct propagation_t { |
26 | 41 | ap_int<BITSSTUBCOORD> coord1; |
|
0 commit comments