15 throw cms::Exception(
"InvalidDetId") <<
"EcalPnDiodeDetId: Cannot create object. Indexes out of bounds.";
42 return s <<
"(EcalPnDiode " <<
id.iEcalSubDetectorId() <<
',' <<
id.iDCCId() <<
',' <<
id.iPnId() <<
')';
EcalPnDiodeDetId & operator=(const DetId &id)
uint32_t rawId() const
get the raw id
static const int MIN_DCCID
static const int MAX_PNID
static const int MAX_DCCID
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
int hashedIndex() const
get a compact index for arrays [TODO: NEEDS WORK]
bool null() const
is this a null id ?
std::ostream & operator<<(std::ostream &s, const EcalPnDiodeDetId &id)
Detector det() const
get the detector field from this detid
static const int MIN_PNID