#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include <ostream>
#include <iostream>
Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const HcalDetId & |
id |
|
) |
| |
Definition at line 7 of file HcalDetId.cc.
References TauDecayModes::dec, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, and HcalTriggerTower.
Referenced by HcalDetId::unpackId().
9 case(
HcalBarrel) :
return s <<
"(HB " <<
id.ieta() <<
',' <<
id.iphi() <<
',' <<
id.depth() <<
')';
10 case(
HcalEndcap) :
return s <<
"(HE " <<
id.ieta() <<
',' <<
id.iphi() <<
',' <<
id.depth() <<
')';
11 case(
HcalForward) :
return s <<
"(HF " <<
id.ieta() <<
',' <<
id.iphi() <<
',' <<
id.depth() <<
')';
12 case(
HcalOuter) :
return s <<
"(HO " <<
id.ieta() <<
',' <<
id.iphi() <<
')';
13 case(
HcalTriggerTower) :
return s <<
"(HT " <<
id.ieta() <<
',' <<
id.iphi() <<
')';
14 default :
return s << std::hex <<
id.rawId() <<
std::dec;