CMS 3D CMS Logo

CastorElectronicsId.h File Reference

#include <string>
#include <ostream>

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...

Defines

#define DATAFORMATS_HCALDETID_CASTORELECTRONICSID_H   1

Functions

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


Define Documentation

#define DATAFORMATS_HCALDETID_CASTORELECTRONICSID_H   1

Definition at line 2 of file CastorElectronicsId.h.


Function Documentation

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

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 }


Generated on Tue Jun 9 17:52:07 2009 for CMSSW by  doxygen 1.5.4