15 int PhiMax = phiQuadrants.back();
19 floor(
unpackSignedValue(local_phi, TTTrack_TrackWord::TrackBitWidths::kPhiSize) /
pow(2, phiMultiplier)) +
23 tempPhi = tempPhi +
PhiMax;
24 }
else if (tempPhi >
PhiMax) {
25 tempPhi = tempPhi -
PhiMax;
37 int k = Hitpattern >>
i;
45 float sliceCentre = 0.0;
46 std::vector<global_phi_t> phiLUT;
47 for (
unsigned int q = 0;
q <=
N;
q++) {
49 sliceCentre += 2 *
M_PI /
N;
int unpackSignedValue(unsigned int bits, unsigned int nBits)
const unsigned int kNQuadrants
const unsigned int kNSector
ap_uint< TrackBitWidths::kHitPatternSize > hit_t
ap_uint< kInternalPhiWidth+kGlobalPhiExtra > global_phi_t
const unsigned int kInternalPhiWidth
Power< A, B >::type pow(const A &a, const B &b)
ap_uint< TrackBitWidths::kPhiSize > phi_t