22 cmin[ctype],
cmax[ctype], log), _ctype(ctype)
75 int ieta = tid.
ieta();
76 if (ieta<0 && ieta>-29)
78 else if (ieta>0 && ieta<29)
80 else if (ieta<0 && ieta<=-29)
281 for (
int ieta=-41; ieta<=41; ieta++)
285 sprintf(name,
"%d", ieta);
286 if (ieta==-29 || ieta==29)
294 sprintf(name,
"%d", i);
301 sprintf(name,
"%d", i);
308 sprintf(name,
"%d", i);
313 sprintf(name,
"%d", i);
320 sprintf(name,
"%d", i);
327 sprintf(name,
"%d", i);
334 sprintf(name,
"%d", i);
339 sprintf(name,
"%d", i);
346 sprintf(name,
"%d", i);
351 sprintf(name,
"%d", i);
358 sprintf(name,
"%d", i);
367 sprintf(name,
"%d (%d)", i, j);
373 sprintf(name,
"%d (%d)", i, j);
382 sprintf(name,
"%d-b", i);
387 sprintf(name,
"%d-t", i);
394 sprintf(name,
"%d", i);
403 sprintf(name,
"%d-b (%d)", i, j);
409 sprintf(name,
"%d-t (%d)", i, j);
415 sprintf(name,
"%d",
k);
425 for (
int ieta=-32; ieta<=32; ieta++)
429 sprintf(name,
"%d", ieta);
int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
HcalSubdetector subdet() const
get the subdetector
std::string const TPSUBDETPM_NAME[2 *TPSUBDET_NUM]
virtual int get(HcalDetId const &)
double const cmin[nCoordinateType]
int ieta() const
get the tower ieta
int crateId() const
get the readout VME crate number
T x() const
Cartesian x coordinate.
int depth() const
get the tower depth
std::string const SUBDET_NAME[SUBDET_NUM]
std::string const ctitle[nCoordinateType]
int htrTopBottom() const
get the htr top/bottom (1=top/0=bottom), valid for VME
virtual int getBin(HcalDetId const &)
int ieta() const
get the cell ieta
std::string const SUBDETPM_NAME[2 *SUBDET_NUM]
int const cnbins[nCoordinateType]
double const cmax[nCoordinateType]
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int spigot() const
get the spigot (input number on DCC, AMC card number for uTCA)
std::vector< std::string > _labels
int iphi() const
get the cell iphi
int slot() const
get the htr or uHTR slot
Readout chain identification for Hcal.
int ietaAbs() const
get the absolute value of the tower ieta
int iphi() const
get the tower iphi