1 #include "../interface/MicroGMTConfiguration.h"
6 return (
unsigned)signed_int;
8 int all_one = (1 <<
width)-1;
9 return ((-signed_int) ^ all_one) + 1;
17 globPhi = (
proc) * 48 + locPhi;
21 globPhi = globPhi%576;
24 globPhi = (
proc) * 96 + locPhi;
26 globPhi = (globPhi + 600) % 576;
34 int outQual = muQual & 0xC;
52 while (hwPhiExtra < 0) {
55 while (hwPhiExtra > 575) {
static unsigned getTwosComp(const int signedInt, const int width)
TrainProcessor *const proc
static int setOutputMuonQuality(int muQual, tftype type, int haloBit)
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
static double calcMuonPhiExtra(const l1t::Muon &mu)
static int calcGlobalPhi(int locPhi, tftype t, int proc)
static double calcMuonEtaExtra(const l1t::Muon &mu)