CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/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"
00027    */
00028 
00029   MuonSubDetector(std::string name);
00030   ~MuonSubDetector(){};
00031 
00032   bool isBarrel();
00033   bool isEndcap();
00034   bool isRpc();
00035   std::string name();
00036   std::string suIdName();
00037       
00038  private:
00039   enum subDetector {barrel,endcap,rpc,nodef};
00040   subDetector detector;
00041   std::string detectorName;
00042 };
00043 
00044 #endif