#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.
{ if (id.isTriggerChainId()) { return os << id.dccid() << ',' << id.spigot() << ",SLB" << id.slbSiteNumber() << ',' << id.slbChannelIndex() << " (HTR " << id.readoutVMECrateId() << ":" << id.htrSlot() << ((id.htrTopBottom()==1)?('t'):('b')) << ')'; } else { return os << id.dccid() << ',' << id.spigot() << ',' << id.fiberIndex() << ',' << id.fiberChanId() << " (HTR " << id.readoutVMECrateId() << ":" << id.htrSlot() << ((id.htrTopBottom()==1)?('t'):('b')) << ')'; } }