Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const HcalDetId & |
id |
|
) |
| |
Definition at line 58 of file HcalDetId.cc.
References HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
59 switch (
id.subdet()) {
60 case(
HcalBarrel) :
return s <<
"(HB " <<
id.ieta() <<
',' <<
id.iphi() <<
',' <<
id.depth() <<
')';
61 case(
HcalEndcap) :
return s <<
"(HE " <<
id.ieta() <<
',' <<
id.iphi() <<
',' <<
id.depth() <<
')';
62 case(
HcalForward) :
return s <<
"(HF " <<
id.ieta() <<
',' <<
id.iphi() <<
',' <<
id.depth() <<
')';
63 case(
HcalOuter) :
return s <<
"(HO " <<
id.ieta() <<
',' <<
id.iphi() <<
')';
64 default :
return s <<
id.rawId();