Go to the documentation of this file.
27 <<
"Cannot initialize CASTORDetId from " << std::hex <<
gen.rawId() <<
std::dec;
56 if (
mod > 2 &&
mod <= 14) {
79 s <<
"(CASTOR" << ((
id.zside() == 1) ? (
"+") : (
"-"));
92 return s <<
id.sector() <<
',' <<
id.module() <<
',' <<
')';
static bool validDetId(Section iSection, bool posEta, int iSector, int iMod)
HcalCastorDetId & operator=(const DetId &id)
T mod(const T &a, const T &b)
static const int SubdetectorId
static HcalCastorDetId detIdFromDenseIndex(uint32_t di)
std::ostream & operator<<(std::ostream &s, const HcalCastorDetId &id)
Section section() const
get the section
int module() const
get the module (1-2 for EM, 1-12 for HAD)
int zside() const
get the z-side of the cell (1/-1)
int sector() const
get the sector (1-16)
void buildMe(Section section, bool true_for_positive_eta, int sector, int module)
uint32_t denseIndex() const