DataFormats
HcalDetId
interface
HcalOtherDetId.h
Go to the documentation of this file.
1
#ifndef HcalOtherDetId_h_included
2
#define HcalOtherDetId_h_included 1
3
4
#include <ostream>
5
#include "
DataFormats/DetId/interface/DetId.h
"
6
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
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
:
34
HcalOtherDetId
();
36
explicit
HcalOtherDetId
(uint32_t rawid);
38
HcalOtherDetId
(
HcalOtherSubdetector
subdet
);
39
};
40
41
#endif // HcalOtherDetId_h_included
HcalOtherDetId::HcalOtherDetId
HcalOtherDetId()
Definition:
HcalOtherDetId.cc:4
HcalSubdetector.h
HcalOtherDetId::operator=
HcalOtherDetId & operator=(const DetId &id)
Definition:
HcalOtherDetId.cc:20
HcalOtherDetId
Definition:
HcalOtherDetId.h:22
HcalOtherSubdetector
HcalOtherSubdetector
Definition:
HcalAssistant.h:40
DetId
Definition:
DetId.h:17
DetId::id_
uint32_t id_
Definition:
DetId.h:69
DetId.h
HcalOtherDetId::subdet
HcalOtherSubdetector subdet() const
get the category
Definition:
HcalOtherDetId.h:30
Generated for CMSSW Reference Manual by
1.8.14