20 const int dt_toffs = 0;
23 for(
int bx = dt_minBX + dt_toffs; bx <= dt_maxBX + dt_toffs; ++bx)
27 int wheel = (
e == 1) ? 2 : -2;
33 for(
int is = sector; is <= sector+1; ++is)
35 int iss = (is == 12) ? 0 : is;
38 for(
int stub = 0; stub < 2; ++stub)
40 dtts[stub] = (stub == 0) ? dttrig->
chPhiSegm1(wheel,1,iss,bx) :
70 int phi = dtts[stub] ->
phi();
72 if (phi < 0) phi += 4096;
75 {
std::cout <<
"AAAAAAAAAAGH TOO BIG PHI:" << phi << std::endl;
79 std::cout <<
"AAAAAAAAH NEG PHI" << phi << std::endl;
94 phi = (phi>0) ? phi : 0;
100 int phib = ((dtts[stub]->
phiB() & 0x3FF) >> 5) & 0x1F;
101 int qual = dtts[stub]->
code();
static int maxTriggerSectorId()
void push_back(const T data)
L1MuDTChambPhDigi * chPhiSegm2(int wheel, int stat, int sect, int bx) const
static const unsigned short int lut[4096]
CSCTriggerContainer< csctf::TrackStub > process(const L1MuDTChambPhContainer *)
static int minTriggerSectorId()
L1MuDTChambPhDigi * chPhiSegm1(int wheel, int stat, int sect, int bx) const
CSCTriggerContainer< csctf::TrackStub > dtstubs