CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalOtherDetId.h
Go to the documentation of this file.
1 #ifndef HcalOtherDetId_h_included
2 #define HcalOtherDetId_h_included 1
3 
4 #include <ostream>
7 
22 class HcalOtherDetId : public DetId {
23 public:
25  HcalOtherDetId(const DetId& id);
27  HcalOtherDetId& operator=(const DetId& id);
28 
30  HcalOtherSubdetector subdet() const { return HcalOtherSubdetector((id_ >> 20) & 0x1F); }
31 
32 protected:
36  explicit HcalOtherDetId(uint32_t rawid);
39 };
40 
41 #endif // HcalOtherDetId_h_included
HcalOtherDetId & operator=(const DetId &id)
HcalOtherSubdetector
Definition: HcalAssistant.h:40
Definition: DetId.h:17
HcalOtherSubdetector subdet() const
get the category
uint32_t id_
Definition: DetId.h:69