#include <DTSequentialCellNumber.h>
|
static int | id (int wheel, int station, int sector, int superlayer, int layer, int cell) |
|
static int | max () |
|
Description: Class to compute a sequential number for drift tube cells
- Date:
- 2012/02/07 18:34:59
- Revision:
- 1.1.2.1
- Author
- Paolo Ronchese INFN Padova
Definition at line 30 of file DTSequentialCellNumber.h.
int DTSequentialCellNumber::id |
( |
int |
wheel, |
|
|
int |
station, |
|
|
int |
sector, |
|
|
int |
superlayer, |
|
|
int |
layer, |
|
|
int |
cell |
|
) |
| |
|
static |
Definition at line 39 of file DTSequentialCellNumber.cc.
References relativeConstraints::station.
Referenced by DTT0::get(), and DTT0::set().
58 seqWireNum += (wheel - 1) * cellsPerWheel;
65 seqWireNum += cellsIn13Sectors;
67 seqWireNum += (sector - 1) * cellsPerSector;
72 seqWireNum += offsetChamber[
station];
78 if (superlayer != 2) {
79 if (cell > cellsPerLayer[
station])
83 seqWireNum += (
layer - 1) * cellsPerLayer[station];
87 if (cell > cellsInTheta)
89 seqWireNum += (8 * cellsPerLayer[
station]) + ((
layer - 1) * cellsInTheta);
92 return seqWireNum + cell;
constexpr std::array< uint8_t, layerIndexSize > layer
int DTSequentialCellNumber::max |
( |
| ) |
|
|
static |