14 if (csc_ID < 4 && strip > 127)
16 else if (csc_ID < 4 && strip >= 0)
18 else if (csc_ID > 3 && csc_ID < 7)
20 else if (csc_ID > 6 && csc_ID < 10)
31 chamber = ((sector - 1) * 6) + csc_ID + 2;
40 }
else if (
ring == 1) {
41 chamber = ((sector - 1) * 3) + csc_ID + 1;
44 }
else if (
ring == 2) {
45 chamber = ((sector - 1) * 6) + csc_ID - 3 + 2;
55 if (csc_ID == 3 && neighbor == 1 && subsector == 2)
57 else if (csc_ID == 6 && neighbor == 1 && subsector == 2)
59 else if (csc_ID == 9 && neighbor == 1 && subsector == 2)
61 else if (csc_ID == 3 && neighbor == 0 && subsector == 2)
63 else if (csc_ID == 6 && neighbor == 0 && subsector == 2)
65 else if (csc_ID == 9 && neighbor == 0 && subsector == 2)
70 if (csc_ID == 3 && neighbor == 1)
72 else if (csc_ID == 9 && neighbor == 1)
74 else if (csc_ID == 3 && neighbor == 0)
76 else if (csc_ID == 9 && neighbor == 0)
88 result = ((
static_cast<unsigned>(
chamber - 3) & 0x7f) / 6) + 1;
90 result = ((
static_cast<unsigned>(
chamber - 3) & 0x7f) / 6) + 1;
92 result = ((
static_cast<unsigned>(
chamber - 2) & 0x1f) / 3) + 1;
166 return std::make_pair(max_strip, max_wire);
170 int max_pattern = 11;
171 int max_quality = 16;
172 return std::make_pair(max_pattern, max_quality);
176 int max_slope = 65536;
177 if (useRun3CCLUT_OTMB and (
ring == 1
or ring == 4))
179 if (useRun3CCLUT_TMB and (
ring == 2
or ring == 3))
int calc_chamber(int station, int sector, int subsector, int ring, int csc_ID)
int get_trigger_sector(int ring, int station, int chamber)
int calc_uGMT_chamber(int csc_ID, int subsector, int neighbor, int station)
std::pair< int, int > get_csc_max_pattern_and_quality(int station, int ring)
int get_trigger_csc_ID(int ring, int station, int chamber)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
int get_csc_max_slope(int station, int ring, bool useRun3CCLUT_OTMB, bool useRun3CCLUT_TMB)
int calc_ring(int station, int csc_ID, int strip)
std::pair< int, int > get_csc_max_strip_and_wire(int station, int ring)