#include "DataFormats/HcalDetId/interface/CastorElectronicsId.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const CastorElectronicsId &id) |
std::ostream& operator<< | ( | std::ostream & | os, |
const CastorElectronicsId & | id | ||
) |
Definition at line 51 of file CastorElectronicsId.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')) << ')'; } }