16 float scale = 1/0.010875;
18 float theta_angle = (theta*0.2851562 + 8.5)*(3.14159265359/180);
23 int PackedEta = eta*
scale;
42 float theta_angle = (theta*0.2851562 + 8.5)*(3.14159265359/180);
53 float phiDeg = (phi*0.0166666);
57 int PackedPhi = phiDeg/0.625;
69 int trackaddress,
int sector){
92 int LSB = quality & 3;
99 case(15): iQual = 8;
break;
100 case(14): iQual = 4;
break;
101 case(13): iQual = 4;
break;
102 case(12): iQual = 4;
break;
103 case(11): iQual = 4;
break;
104 default: iQual = 4;
break;
111 case(15): iQual = 12;
break;
112 case(14): iQual = 12;
break;
113 case(13): iQual = 12;
break;
114 case(12): iQual = 8;
break;
115 case(11): iQual = 12;
break;
116 case(10): iQual = 8;
break;
117 case(7): iQual = 8;
break;
118 default: iQual = 4;
break;
int GetPackedEta(float theta, int sector)
void setHwPhi(int bits)
Set compressed relative phi as transmitted by hardware LSB = 2*pi/576 (8 bits)
l1t::RegionalMuonCand MakeRegionalCand(float pt, int phi, int theta, int sign, int quality, int trackaddress, int sector)
Geom::Theta< T > theta() const
int GetPackedPhi(int phi)
float GetGlobalEta(float theta, int sector)
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
Tan< T >::type tan(const T &t)
void setHwQual(int bits)
Set compressed quality code as transmitted by hardware (4 bits)
void setHwPt(int bits)
Set compressed pT as transmitted by hardware LSB = 0.5 (9 bits)
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
Geom::Phi< T > phi() const
void setHwSignValid(int bits)
Set whether charge measurement is valid (0 for high pT muons)
void setHwSign(int bits)
Set charge sign bit (charge = (-1)^(sign))