Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-18 22:30:29

0001 #ifndef MuonNumbering_LevelBaseNumber_h
0002 #define MuonNumbering_LevelBaseNumber_h
0003 
0004 /** \class LevelBaseNumber
0005  *
0006  * class for extended copy numbers for muon numbering;
0007  * 
0008  * in addition to the usual copy number (Base) the
0009  * geometry level (Level) is specified;
0010  * for detectors with identical copy numbers an additional 
0011  * identification number (Super) can be given
0012  *  
0013  * \author Arno Straessner, CERN <arno.straessner@cern.ch>
0014  *
0015  */
0016 
0017 class LevelBaseNumber {
0018 public:
0019   LevelBaseNumber(const int l, const int s, const int b) {
0020     myLevel = l;
0021     mySuper = s;
0022     myBase = b;
0023   };
0024   ~LevelBaseNumber(){};
0025 
0026   int level() const { return myLevel; };
0027   int super() const { return mySuper; };
0028   int base() const { return myBase; };
0029 
0030 private:
0031   int myLevel;
0032   int mySuper;
0033   int myBase;
0034 };
0035 
0036 #endif