#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.
References CastorElectronicsId::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 }