CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/CondFormats/DTObjects/interface/DTSequentialCellNumber.h

Go to the documentation of this file.
00001 #ifndef DTSequentialCellNumber_H
00002 #define DTSequentialCellNumber_H
00003 
00014 //----------------------
00015 // Base Class Headers --
00016 //----------------------
00017 
00018 
00019 //------------------------------------
00020 // Collaborating Class Declarations --
00021 //------------------------------------
00022 
00023 
00024 //---------------
00025 // C++ Headers --
00026 //---------------
00027 
00028 
00029 //              ---------------------
00030 //              -- Class Interface --
00031 //              ---------------------
00032 
00033 class DTSequentialCellNumber {
00034 
00035  public:
00036 
00037   DTSequentialCellNumber();
00038   ~DTSequentialCellNumber();
00039 
00040   static int id( int      wheel, int station, int sector,
00041                  int superlayer, int   layer, int cell );
00042   static int max();
00043 
00044  private:
00045 
00046   static int cellsPerWheel;
00047   static int cellsPerSector;
00048   static int cellsIn13Sectors;
00049   static int cellsInTheta;
00050   static int cellsInMB1;
00051   static int cellsInMB2;
00052   static int cellsInMB3;
00053   static int cellsInMB4;
00054 
00055   static int* offsetChamber;
00056   static int* cellsPerLayer;
00057 
00058 };
00059 
00060 
00061 #endif // DTSequentialCellNumber_H