CMS 3D CMS Logo

Classes | Functions
CastorElectronicsId.h File Reference
#include <string>
#include <ostream>
#include <cstdint>

Go to the source code of this file.

Classes

class  CastorElectronicsId
 Readout chain identification for Castor Bits for the readout chain : some names need change! [31:26] not used [25]
[24:20] [19] [18:14] [13:9]
[8:5]
[4:2]
[1:0]
More...
 

Functions

std::ostream & operator<< (std::ostream &, const CastorElectronicsId &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const CastorElectronicsId  
)

Definition at line 61 of file CastorElectronicsId.cc.

References l1tGTMenu_BTagSeeds_cff::os.

61  {
62  if (id.isTriggerChainId()) {
63  return os << id.dccid() << ',' << id.spigot() << ",SLB" << id.slbSiteNumber() << ',' << id.slbChannelIndex()
64  << " (HTR " << id.readoutVMECrateId() << ":" << id.htrSlot() << ((id.htrTopBottom() == 1) ? ('t') : ('b'))
65  << ')';
66 
67  } else {
68  return os << id.dccid() << ',' << id.spigot() << ',' << id.fiberIndex() << ',' << id.fiberChanId() << " (HTR "
69  << id.readoutVMECrateId() << ":" << id.htrSlot() << ((id.htrTopBottom() == 1) ? ('t') : ('b')) << ')';
70  }
71 }