20 const int dt_toffs = 0;
23 for (
int bx = dt_minBX + dt_toffs;
bx <= dt_maxBX + dt_toffs; ++
bx)
26 int wheel = (
e == 1) ? 2 : -2;
27 int sector = 2 *
s - 1;
32 for (
int is = sector; is <= sector + 1; ++is) {
33 int iss = (is == 12) ? 0 : is;
36 for (
int stub = 0; stub < 2; ++stub) {
64 int phi = dtts[stub]->
phi();
70 std::cout <<
"AAAAAAAAAAGH TOO BIG PHI:" << phi << std::endl;
74 std::cout <<
"AAAAAAAAH NEG PHI" << phi << std::endl;
89 phi = (phi > 0) ? phi : 0;
95 int phib = ((dtts[stub]->
phiB() & 0x3FF) >> 5) & 0x1F;
96 int qual = dtts[stub]->
code();
99 qual = (qual + 1) % 8;
101 CSCCorrelatedLCTDigi dtinfo(stub + 1, 1, qual, 0, stub, 0, phib, csc_bx + stub, 1 + (is + 1) % 2);
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()