14 ((spigot&0xF)<<6) | ((dccid&0xF)<<10);
19 ((spigot&0xF)<<6) | ((dccid&0xF)<<10);
29 case (0): retval=
"A0";
break;
30 case (1): retval=
"A1";
break;
31 case (2): retval=
"C0";
break;
32 case (3): retval=
"C1";
break;
36 case (0): retval=
"B0";
break;
37 case (1): retval=
"B1";
break;
38 case (2): retval=
"D0";
break;
39 case (3): retval=
"D1";
break;
53 return os <<
id.dccid() <<
',' <<
id.spigot() <<
",SLB" <<
id.slbSiteNumber() <<
',' <<
id.slbChannelIndex() <<
" (HTR " 54 <<
id.readoutVMECrateId() <<
":" <<
id.htrSlot() << ((
id.htrTopBottom()==1)?(
't'):(
'b')) <<
')';
57 return os <<
id.dccid() <<
',' <<
id.spigot() <<
',' <<
id.fiberIndex() <<
',' <<
id.fiberChanId() <<
" (HTR " 58 <<
id.readoutVMECrateId() <<
":" <<
id.htrSlot() << ((
id.htrTopBottom()==1)?(
't'):(
'b')) <<
')';
std::ostream & operator<<(std::ostream &os, const CastorElectronicsId &id)
void setHTR(int crate, int slot, int tb)
std::string slbChannelCode() const
static int slbChan(const HcalTriggerPrimitiveSample &theSample)
bool isTriggerChainId() const
uint32_t castorElectronicsId_
Readout chain identification for Castor Bits for the readout chain : some names need change! [31:26] ...
int slbChannelIndex() const