#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const HcalElectronicsId &id) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const HcalElectronicsId & | id | |||
) |
Definition at line 51 of file HcalElectronicsId.cc.
References HcalElectronicsId::isTriggerChainId().
00051 { 00052 if (id.isTriggerChainId()) { 00053 return os << id.dccid() << ',' << id.spigot() << ",SLB" << id.slbSiteNumber() << ',' << id.slbChannelIndex() << " (HTR " 00054 << id.readoutVMECrateId() << ":" << id.htrSlot() << ((id.htrTopBottom()==1)?('t'):('b')) << ')'; 00055 00056 } else { 00057 return os << id.dccid() << ',' << id.spigot() << ',' << id.fiberIndex() << ',' << id.fiberChanId() << " (HTR " 00058 << id.readoutVMECrateId() << ":" << id.htrSlot() << ((id.htrTopBottom()==1)?('t'):('b')) << ')'; 00059 } 00060 }