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...
#include <CastorElectronicsId.h>
Public Member Functions | |
CastorElectronicsId () | |
CastorElectronicsId (uint32_t) | |
CastorElectronicsId (int fiberChan, int fiberIndex, int spigot, int dccid) | |
CastorElectronicsId (int slbChan, int slbSite, int spigot, int dccid, int crate, int slot, int tb) | |
int | dccid () const |
int | fiberChanId () const |
int | fiberIndex () const |
int | htrChanId () const |
int | htrSlot () const |
int | htrTopBottom () const |
bool | isTriggerChainId () const |
int | linearIndex () const |
int | operator!= (const CastorElectronicsId &id) const |
uint32_t | operator() () |
int | operator< (const CastorElectronicsId &id) const |
Compare the id to another one for use in a map. More... | |
int | operator== (const CastorElectronicsId &id) const |
uint32_t | rawId () const |
int | readoutVMECrateId () const |
void | setHTR (int crate, int slot, int tb) |
std::string | slbChannelCode () const |
int | slbChannelIndex () const |
int | slbSiteNumber () const |
int | spigot () const |
Static Public Attributes | |
static const int | maxDCCId = 15 |
static const int | maxLinearIndex = 0x3FFF |
Private Attributes | |
uint32_t | 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].
Definition at line 20 of file CastorElectronicsId.h.
CastorElectronicsId::CastorElectronicsId | ( | ) |
Constructors
Definition at line 4 of file CastorElectronicsId.cc.
References castorElectronicsId_.
CastorElectronicsId::CastorElectronicsId | ( | uint32_t | id | ) |
Definition at line 8 of file CastorElectronicsId.cc.
References castorElectronicsId_, and triggerObjects_cff::id.
CastorElectronicsId::CastorElectronicsId | ( | int | fiberChan, |
int | fiberIndex, | ||
int | spigot, | ||
int | dccid | ||
) |
Definition at line 12 of file CastorElectronicsId.cc.
References castorElectronicsId_.
CastorElectronicsId::CastorElectronicsId | ( | int | slbChan, |
int | slbSite, | ||
int | spigot, | ||
int | dccid, | ||
int | crate, | ||
int | slot, | ||
int | tb | ||
) |
Definition at line 17 of file CastorElectronicsId.cc.
References castorElectronicsId_.
|
inline |
Definition at line 43 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject().
|
inline |
Definition at line 34 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject(), htrChanId(), and CastorDbASCIIIO::CastorElectronicsIdLess::operator()().
|
inline |
Definition at line 35 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject(), htrChanId(), and CastorDbASCIIIO::CastorElectronicsIdLess::operator()().
|
inline |
|
inline |
Definition at line 44 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject(), CastorDbASCIIIO::CastorElectronicsIdLess::operator()(), CastorCtdcPacker::pack(), and CastorPacker::pack().
|
inline |
Definition at line 45 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject(), CastorDbASCIIIO::CastorElectronicsIdLess::operator()(), CastorCtdcPacker::pack(), CastorPacker::pack(), and slbChannelCode().
|
inline |
Definition at line 31 of file CastorElectronicsId.h.
References castorElectronicsId_, and setHTR().
Referenced by CastorDbASCIIIO::dumpObject(), operator<<(), and slbChannelCode().
|
inline |
Definition at line 47 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorElectronicsMap::findPByElId(), CastorElectronicsMap::findTByElId(), CastorElectronicsMap::lookup(), CastorElectronicsMap::mapEId2chId(), and CastorElectronicsMap::mapEId2tId().
|
inline |
Definition at line 54 of file CastorElectronicsId.h.
References castorElectronicsId_.
|
inline |
Definition at line 27 of file CastorElectronicsId.h.
References castorElectronicsId_.
|
inline |
Compare the id to another one for use in a map.
Definition at line 56 of file CastorElectronicsId.h.
References castorElectronicsId_.
|
inline |
operators
Definition at line 53 of file CastorElectronicsId.h.
References castorElectronicsId_.
|
inline |
Definition at line 29 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorElectronicsMap::lookup(), CastorElectronicsMap::lookupTrigger(), CastorElectronicsMap::mapEId2chId(), and CastorElectronicsMap::mapEId2tId().
|
inline |
Definition at line 46 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject(), CastorDbASCIIIO::CastorElectronicsIdLess::operator()(), CastorCtdcPacker::pack(), and CastorPacker::pack().
void CastorElectronicsId::setHTR | ( | int | crate, |
int | slot, | ||
int | tb | ||
) |
Definition at line 46 of file CastorElectronicsId.cc.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::getObject(), isTriggerChainId(), CastorDbHardcode::makeHardcodeMap(), and CastorUnpacker::unpack().
std::string CastorElectronicsId::slbChannelCode | ( | ) | const |
Definition at line 24 of file CastorElectronicsId.cc.
References htrTopBottom(), isTriggerChainId(), slbChannelIndex(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by slbSiteNumber().
|
inline |
Definition at line 36 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject(), and slbChannelCode().
|
inline |
Definition at line 37 of file CastorElectronicsId.h.
References castorElectronicsId_, slbChannelCode(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CastorDbASCIIIO::dumpObject().
|
inline |
Definition at line 42 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::dumpObject().
|
private |
Definition at line 59 of file CastorElectronicsId.h.
Referenced by CastorElectronicsId(), dccid(), fiberChanId(), fiberIndex(), htrSlot(), htrTopBottom(), isTriggerChainId(), linearIndex(), operator!=(), operator()(), operator<(), operator==(), rawId(), readoutVMECrateId(), setHTR(), slbChannelIndex(), slbSiteNumber(), and spigot().
|
static |
Definition at line 50 of file CastorElectronicsId.h.
|
static |
Definition at line 49 of file CastorElectronicsId.h.