#include <HodoscopeDetId.h>
Public Member Functions | |
int | fibrId () const |
HodoscopeDetId () | |
HodoscopeDetId (uint32_t rawid) | |
HodoscopeDetId (int indexPlane, int indexFibr) | |
HodoscopeDetId (const DetId &id) | |
HodoscopeDetId & | operator= (const DetId &id) |
int | planeId () const |
EcalSubdetector | subdet () const |
get the subdetector 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 int | MAX_FIBR = 63 |
static const int | MAX_PLANE = 3 |
static const int | MIN_FIBR = 0 |
static const int | MIN_PLANE = 0 |
range constants More... | |
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_ |
Hodoscope fiber identifier class for the ECAL TBH4 setup
$Id$
Definition at line 17 of file HodoscopeDetId.h.
HodoscopeDetId::HodoscopeDetId | ( | ) |
HodoscopeDetId::HodoscopeDetId | ( | uint32_t | rawid | ) |
HodoscopeDetId::HodoscopeDetId | ( | int | indexPlane, |
int | indexFibr | ||
) |
Constructor from crystal ieta and iphi or from SM# and crystal#
Definition at line 13 of file HodoscopeDetId.cc.
References edm::hlt::Exception, DetId::id_, MAX_FIBR, and MAX_PLANE.
HodoscopeDetId::HodoscopeDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 25 of file HodoscopeDetId.cc.
References DetId::det(), DetId::Ecal, EcalLaserPnDiode, edm::hlt::Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
Definition at line 36 of file HodoscopeDetId.h.
References DetId::id_.
Referenced by TBHodoActiveVolumeRawInfoProducer::produce().
HodoscopeDetId & HodoscopeDetId::operator= | ( | const DetId & | id | ) |
Assignment operator from cell id
Definition at line 32 of file HodoscopeDetId.cc.
References DetId::det(), DetId::Ecal, EcalLaserPnDiode, edm::hlt::Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
Definition at line 34 of file HodoscopeDetId.h.
References DetId::id_.
Referenced by TBHodoActiveVolumeRawInfoProducer::produce().
|
inline |
get the subdetector
Definition at line 32 of file HodoscopeDetId.h.
References DetId::subdetId().
|
static |
Definition at line 42 of file HodoscopeDetId.h.
Referenced by HodoscopeDetId().
|
static |
Definition at line 40 of file HodoscopeDetId.h.
Referenced by HodoscopeDetId().
|
static |
Definition at line 41 of file HodoscopeDetId.h.
|
static |
range constants
Definition at line 39 of file HodoscopeDetId.h.