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 (int fiberChan, int fiberIndex, int spigot, int dccid) | |
CastorElectronicsId (int slbChan, int slbSite, int spigot, int dccid, int crate, int slot, int tb) | |
CastorElectronicsId (uint32_t) | |
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 | ( | ) |
CastorElectronicsId::CastorElectronicsId | ( | uint32_t | id | ) |
Definition at line 5 of file CastorElectronicsId.cc.
References castorElectronicsId_, and triggerObjects_cff::id.
CastorElectronicsId::CastorElectronicsId | ( | int | fiberChan, |
int | fiberIndex, | ||
int | spigot, | ||
int | dccid | ||
) |
Definition at line 7 of file CastorElectronicsId.cc.
References castorElectronicsId_, dccid(), fiberIndex(), and spigot().
CastorElectronicsId::CastorElectronicsId | ( | int | slbChan, |
int | slbSite, | ||
int | spigot, | ||
int | dccid, | ||
int | crate, | ||
int | slot, | ||
int | tb | ||
) |
Definition at line 12 of file CastorElectronicsId.cc.
References castorElectronicsId_, dccid(), slbChan(), and spigot().
|
inline |
Definition at line 43 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorElectronicsId().
|
inline |
Definition at line 34 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by htrChanId().
|
inline |
Definition at line 35 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorElectronicsId(), and htrChanId().
|
inline |
|
inline |
Definition at line 44 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorCtdcPacker::pack(), and CastorPacker::pack().
|
inline |
Definition at line 45 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorCtdcPacker::pack(), CastorPacker::pack(), and slbChannelCode().
|
inline |
Definition at line 31 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by slbChannelCode().
|
inline |
Definition at line 47 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorElectronicsMap::lookup(), CastorElectronicsMap::mapEId2chId(), and CastorElectronicsMap::mapEId2tId().
|
inline |
|
inline |
|
inline |
Compare the id to another one for use in a map.
Definition at line 56 of file CastorElectronicsId.h.
References castorElectronicsId_.
|
inline |
|
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 CastorCtdcPacker::pack(), and CastorPacker::pack().
void CastorElectronicsId::setHTR | ( | int | crate, |
int | slot, | ||
int | tb | ||
) |
Definition at line 56 of file CastorElectronicsId.cc.
References castorElectronicsId_.
Referenced by CastorDbASCIIIO::getObject(), and CastorDbHardcode::makeHardcodeMap().
std::string CastorElectronicsId::slbChannelCode | ( | ) | const |
Definition at line 18 of file CastorElectronicsId.cc.
References htrTopBottom(), isTriggerChainId(), slbChannelIndex(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 36 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by slbChannelCode().
|
inline |
|
inline |
Definition at line 42 of file CastorElectronicsId.h.
References castorElectronicsId_.
Referenced by CastorElectronicsId().
|
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.