16 throw cms::Exception(
"Invalid DetId") <<
"Cannot intialize HcalDcsDetId from "
42 case HV :
return "HV";
43 case BV :
return "BV";
44 case CATH :
return "CATH";
45 case DYN7 :
return "DYN7";
46 case DYN8 :
return "DYN8";
47 case RM_TEMP :
return "RM_TEMP";
51 case TEMP :
return "TEMP";
53 case STATUS :
return "STATUS";
54 default:
return "DCSUNKNOWN";
60 switch (
id.subdet()) {
62 <<
id.slice() <<
' ' <<
id.typeString(
id.
type())
66 <<
id.slice() <<
' ' <<
id.typeString(
id.
type())
69 case(
HcalDcsOuter) :
return s <<
"(HO" <<
id.ring() <<
" "
70 <<
id.slice() <<
' ' <<
id.typeString(
id.
type())
75 <<
id.slice() <<
' ' <<
id.typeString(
id.
type())
78 default :
return s <<
id.rawId();
static unsigned int const kSideOffset
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static unsigned int const kTypeOffset
static unsigned int const kSliceOffset
static unsigned int const kSubChannelOffset
static DcsType DcsTypeFromString(const std::string &str)
static unsigned int const kRingOffset
HcalOtherSubdetector subdet() const
get the category
static std::string typeString(DcsType typ)