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