Go to the source code of this file.
|
Int_t | triggerCscId (Int_t station, Int_t ring, Int_t chamber) const |
|
Int_t | triggerSector (Int_t station, Int_t ring, Int_t chamber) const |
|
Int_t triggerCscId |
( |
Int_t |
station, |
|
|
Int_t |
ring, |
|
|
Int_t |
chamber |
|
) |
| const |
Int_t triggerSector |
( |
Int_t |
station, |
|
|
Int_t |
ring, |
|
|
Int_t |
chamber |
|
) |
| const |
Definition at line 3 of file triggerCscIdSector.h.
References query::result.
11 result = ((
static_cast<unsigned>(chamber-3) & 0x7f) / 6) + 1;
14 result = (
station != 1) ? ((static_cast<unsigned>(chamber-2) & 0x1f) / 3) + 1 :
15 ((
static_cast<unsigned>(chamber-3) & 0x7f) / 6) + 1;
18 return (result <= 6) ? result : 6;