#include <HcalTrigTowerDetId.h>
Public Member Functions | |
int | depth () const |
get the depth (zero for LHC, may be nonzero for SuperCMS) More... | |
HcalTrigTowerDetId () | |
HcalTrigTowerDetId (uint32_t rawid) | |
HcalTrigTowerDetId (int ieta, int iphi) | |
Constructor from signed ieta, iphi. More... | |
HcalTrigTowerDetId (int ieta, int iphi, int depth) | |
Constructor from signed ieta, iphi, depth. More... | |
HcalTrigTowerDetId (const DetId &id) | |
int | ieta () const |
get the tower ieta More... | |
int | ietaAbs () const |
get the absolute value of the tower ieta More... | |
int | iphi () const |
get the tower iphi More... | |
HcalTrigTowerDetId & | operator= (const DetId &id) |
HcalSubdetector | subdet () const |
get the subdetector More... | |
int | zside () const |
get the z-side of the tower (1/-1) More... | |
Public Member Functions inherited from DetId | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Public Attributes | |
static const HcalTrigTowerDetId | Undefined |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Additional Inherited Members | |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Cell id for an Calo Trigger tower
Definition at line 14 of file HcalTrigTowerDetId.h.
HcalTrigTowerDetId::HcalTrigTowerDetId | ( | ) |
HcalTrigTowerDetId::HcalTrigTowerDetId | ( | uint32_t | rawid | ) |
HcalTrigTowerDetId::HcalTrigTowerDetId | ( | int | ieta, |
int | iphi | ||
) |
Constructor from signed ieta, iphi.
Definition at line 13 of file HcalTrigTowerDetId.cc.
References DetId::id_.
HcalTrigTowerDetId::HcalTrigTowerDetId | ( | int | ieta, |
int | iphi, | ||
int | depth | ||
) |
Constructor from signed ieta, iphi, depth.
Definition at line 18 of file HcalTrigTowerDetId.cc.
References DetId::id_.
HcalTrigTowerDetId::HcalTrigTowerDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 24 of file HcalTrigTowerDetId.cc.
References TauDecayModes::dec, DetId::det(), edm::hlt::Exception, DetId::Hcal, HcalTriggerTower, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
get the depth (zero for LHC, may be nonzero for SuperCMS)
Definition at line 43 of file HcalTrigTowerDetId.h.
References DetId::id_.
|
inline |
get the tower ieta
Definition at line 39 of file HcalTrigTowerDetId.h.
References ietaAbs(), and zside().
Referenced by HcalTrigTowerGeometry::detIds(), CaloTPGTranscoderULUT::hcaletValue(), HcalText2DetIdConverter::init(), and HTLogicalMapEntry::printLMapLine().
|
inline |
get the absolute value of the tower ieta
Definition at line 37 of file HcalTrigTowerDetId.h.
References DetId::id_.
Referenced by HcalTopology::detId2denseIdHT(), and ieta().
|
inline |
get the tower iphi
Definition at line 41 of file HcalTrigTowerDetId.h.
References DetId::id_.
Referenced by HcalTopology::detId2denseIdHT(), HcalTrigTowerGeometry::detIds(), CaloTPGTranscoderULUT::hcaletValue(), HcalText2DetIdConverter::init(), and HTLogicalMapEntry::printLMapLine().
HcalTrigTowerDetId & HcalTrigTowerDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 31 of file HcalTrigTowerDetId.cc.
References TauDecayModes::dec, DetId::det(), edm::hlt::Exception, DetId::Hcal, HcalTriggerTower, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
get the subdetector
Definition at line 33 of file HcalTrigTowerDetId.h.
References DetId::subdetId().
|
inline |
get the z-side of the tower (1/-1)
Definition at line 35 of file HcalTrigTowerDetId.h.
References DetId::id_.
Referenced by HcalTopology::detId2denseIdHT(), and ieta().
|
static |
Definition at line 45 of file HcalTrigTowerDetId.h.
Referenced by HcalText2DetIdConverter::init(), HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().