CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/HcalDetId/interface/HcalOtherDetId.h

Go to the documentation of this file.
00001 #ifndef HcalOtherDetId_h_included
00002 #define HcalOtherDetId_h_included 1
00003 
00004 #include <ostream>
00005 #include "DataFormats/DetId/interface/DetId.h"
00006 #include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
00007 
00024 class HcalOtherDetId : public DetId {
00025 public:
00027   HcalOtherDetId(const DetId& id);
00029   HcalOtherDetId& operator=(const DetId& id);
00030   
00032   HcalOtherSubdetector subdet() const { return HcalOtherSubdetector((id_>>20)&0x1F); }
00033 
00034 protected:
00036   HcalOtherDetId();
00038   explicit HcalOtherDetId(uint32_t rawid);  
00040   HcalOtherDetId(HcalOtherSubdetector subdet);
00041 };
00042 
00043 #endif // HcalOtherDetId_h_included