22 const int dt_toffs = 0;
25 for(
int bx = dt_minBX + dt_toffs; bx <= dt_maxBX + dt_toffs; ++bx)
29 int wheel = (
e == 1) ? 2 : -2;
35 for(
int is = sector; is <= sector+1; ++is)
37 int iss = (is == 12) ? 0 : is;
40 for(
int stub = 0; stub < 2; ++stub)
42 dtts[stub] = (stub == 0) ? dttrig->
chPhiSegm1(wheel,1,iss,bx) :
72 int phi = dtts[stub] ->
phi();
74 if (phi < 0) phi += 4096;
77 {
std::cout <<
"AAAAAAAAAAGH TOO BIG PHI:" << phi << std::endl;
81 std::cout <<
"AAAAAAAAH NEG PHI" << phi << std::endl;
96 phi = (phi>0) ? phi : 0;
102 int phib = ((dtts[stub]->
phiB() & 0x3FF) >> 5) & 0x1F;
103 int qual = dtts[stub]->
code();
L1MuDTChambPhDigi const * chPhiSegm1(int wheel, int stat, int sect, int bx) const
L1MuDTChambPhDigi const * chPhiSegm2(int wheel, int stat, int sect, int bx) const
static int maxTriggerSectorId()
static const unsigned short int lut[4096]
CSCTriggerContainer< csctf::TrackStub > process(const L1MuDTChambPhContainer *)
static int minTriggerSectorId()
void push_back(const T &data)
CSCTriggerContainer< csctf::TrackStub > dtstubs
static int getBxMaxGlobally()
static int getBxMinGlobally()