22 const int dt_toffs = 0;
25 for (
int bx = dt_minBX + dt_toffs;
bx <= dt_maxBX + dt_toffs; ++
bx)
28 int wheel = (
e == 1) ? 2 : -2;
29 int sector = 2 *
s - 1;
34 for (
int is = sector; is <= sector + 1; ++is) {
35 int iss = (is == 12) ? 0 : is;
38 for (
int stub = 0; stub < 2; ++stub) {
66 int phi = dtts[stub]->
phi();
72 std::cout <<
"AAAAAAAAAAGH TOO BIG PHI:" << phi << std::endl;
76 std::cout <<
"AAAAAAAAH NEG PHI" << phi << std::endl;
91 phi = (phi > 0) ? phi : 0;
97 int phib = ((dtts[stub]->
phiB() & 0x3FF) >> 5) & 0x1F;
98 int qual = dtts[stub]->
code();
101 qual = (qual + 1) % 8;
103 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()