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