CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Geometry/MuonNumbering/interface/MuonSubDetector.h

Go to the documentation of this file.
00001 #ifndef MuonNumbering_MuonSubDetector_h
00002 #define MuonNumbering_MuonSubDetector_h
00003 
00019 #include<string>
00020 
00021 class MuonSubDetector {
00022  public:
00023 
00024   /*  
00025    * possible arguments for constructor:
00026    * "MuonDTHits", "MuonCSCHits", "MuonRPCHits", "MuonGEMHits"
00027    */
00028 
00029   MuonSubDetector(std::string name);
00030   ~MuonSubDetector(){};
00031 
00032   bool isBarrel();
00033   bool isEndcap();
00034   bool isRpc();
00035   bool isGem();
00036   std::string name();
00037   std::string suIdName();
00038       
00039  private:
00040   enum subDetector {barrel,endcap,rpc,gem,nodef};
00041   subDetector detector;
00042   std::string detectorName;
00043 };
00044 
00045 #endif