DataFormats
HcalDetId
interface
HcalGenericDetId.h
Go to the documentation of this file.
1
#ifndef HCALGENERICDETID_H
2
#define HCALGENERICDETID_H
3
11
#include <ostream>
12
#include "
DataFormats/DetId/interface/DetId.h
"
13
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
14
15
class
HcalGenericDetId
:
public
DetId
{
16
public
:
17
enum
HcalGenericSubdetector
{
18
HcalGenEmpty
= 0,
19
HcalGenBarrel
= 1,
20
HcalGenEndcap
= 2,
21
HcalGenOuter
= 3,
22
HcalGenForward
= 4,
23
HcalGenTriggerTower
= 5,
24
HcalGenZDC
= 8,
25
HcalGenCalibration
= 9,
26
HcalGenCastor
= 10,
27
HcalGenUnknown
= 99
28
};
29
HcalGenericDetId
() :
DetId
() {}
30
HcalGenericDetId
(uint32_t rawid) :
DetId
(rawid) {}
31
HcalGenericDetId
(
const
DetId
&
id
) :
DetId
(
id
) {}
32
HcalOtherSubdetector
otherSubdet
()
const
;
33
HcalGenericSubdetector
genericSubdet
()
const
;
34
bool
isHcalDetId
()
const
;
35
bool
isHcalCalibDetId
()
const
;
36
bool
isHcalTrigTowerDetId
()
const
;
37
bool
isHcalZDCDetId
()
const
;
38
bool
isHcalCastorDetId
()
const
;
39
};
40
41
std::ostream&
operator<<
(std::ostream&,
const
HcalGenericDetId
&
id
);
42
43
#endif
HcalGenericDetId
Definition:
HcalGenericDetId.h:15
HcalGenericDetId::HcalGenEmpty
Definition:
HcalGenericDetId.h:18
HcalGenericDetId::HcalGenEndcap
Definition:
HcalGenericDetId.h:20
HcalGenericDetId::HcalGenericDetId
HcalGenericDetId(uint32_t rawid)
Definition:
HcalGenericDetId.h:30
HcalGenericDetId::HcalGenCastor
Definition:
HcalGenericDetId.h:26
HcalGenericDetId::isHcalZDCDetId
bool isHcalZDCDetId() const
Definition:
HcalGenericDetId.cc:79
HcalGenericDetId::HcalGenZDC
Definition:
HcalGenericDetId.h:24
DetId
Definition:
DetId.h:17
HcalGenericDetId::isHcalCalibDetId
bool isHcalCalibDetId() const
Definition:
HcalGenericDetId.cc:69
HcalGenericDetId::HcalGenUnknown
Definition:
HcalGenericDetId.h:27
operator<<
std::ostream & operator<<(std::ostream &, const HcalGenericDetId &id)
Definition:
HcalGenericDetId.cc:89
HcalGenericDetId::isHcalTrigTowerDetId
bool isHcalTrigTowerDetId() const
Definition:
HcalGenericDetId.cc:74
HcalOtherSubdetector
HcalOtherSubdetector
Definition:
HcalAssistant.h:40
HcalGenericDetId::HcalGenericSubdetector
HcalGenericSubdetector
Definition:
HcalGenericDetId.h:17
HcalGenericDetId::HcalGenTriggerTower
Definition:
HcalGenericDetId.h:23
HcalGenericDetId::otherSubdet
HcalOtherSubdetector otherSubdet() const
Definition:
HcalGenericDetId.cc:15
HcalGenericDetId::HcalGenBarrel
Definition:
HcalGenericDetId.h:19
HcalSubdetector.h
HcalGenericDetId::isHcalCastorDetId
bool isHcalCastorDetId() const
Definition:
HcalGenericDetId.cc:84
HcalGenericDetId::isHcalDetId
bool isHcalDetId() const
Definition:
HcalGenericDetId.cc:64
DetId.h
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
HcalGenericDetId::genericSubdet
HcalGenericSubdetector genericSubdet() const
Definition:
HcalGenericDetId.cc:21
HcalGenericDetId::HcalGenericDetId
HcalGenericDetId(const DetId &id)
Definition:
HcalGenericDetId.h:31
HcalGenericDetId::HcalGenOuter
Definition:
HcalGenericDetId.h:21
HcalGenericDetId::HcalGenForward
Definition:
HcalGenericDetId.h:22
HcalGenericDetId::HcalGenCalibration
Definition:
HcalGenericDetId.h:25
HcalGenericDetId::HcalGenericDetId
HcalGenericDetId()
Definition:
HcalGenericDetId.h:29
Generated for CMSSW Reference Manual by
1.8.16