68 if ( wheel <= 0 )
return -1;
69 if ( station <= 0 )
return -2;
70 if ( sector <= 0 )
return -3;
71 if ( superlayer <= 0 )
return -4;
72 if ( layer <= 0 )
return -5;
76 if ( wheel > 5 )
return -1;
79 if ( sector > 14 )
return -2;
81 station < 4 )
return -2;
86 if ( station > 4 )
return -3;
90 if ( superlayer > 3 )
return -4;
91 if ( layer > 4 )
return -5;
92 if ( superlayer != 2 ) {
93 if ( superlayer == 3 ) layer += 4;
96 if ( station == 4 )
return -4;
100 return seqLayerNum + layer;
static int layersPerWheel
DTSequentialLayerNumber DTSequentialLayer
static int * offsetChamber
static int layersIn13Sectors
~DTSequentialLayerNumber()
static int layersPerSector
DTSequentialLayerNumber()
static int id(int wheel, int station, int sector, int superlayer, int layer)