CbmRoot
|
Classes | |
class | FullMessage |
class | Message |
Functions | |
std::string | FormatHexPrintout (uint64_t ulVal, char cFill=0, uint uWidth=0, bool bUppercase=false) |
Variables | |
const double | kdClockCycleSize = 6250.0 |
const double | kdClockCycleSizeNs = kdClockCycleSize / 1000.0 |
const double | kdTotBinSize = 50.0 |
const uint32_t | kuFineTime = 0x0000007F |
const uint32_t | kuFtShift = 0 |
const uint32_t | kuCoarseTime = 0x0007FF80 |
const uint32_t | kuCtShift = 7 |
const uint32_t | kuCtSize = 12 |
const uint32_t | kuFineCounterSize = ((kuFineTime >> kuFtShift) + 1) |
const uint32_t | kuCoarseCounterSize = ((kuCoarseTime >> kuCtShift) + 1) |
const uint32_t | kuCoarseOverflowTest = kuCoarseCounterSize / 2 |
const uint32_t | kuTotCounterSize = 256 |
const double | kdFtSize = kuFineCounterSize |
const double | kdFtBinsNb = 112. |
const double | kdBinSize = kdClockCycleSize / kdFtBinsNb |
const uint32_t | kuEpochInBins = kuCoarseCounterSize * kdFtBinsNb |
const double | kdEpochInPs = static_cast<double>(kuCoarseCounterSize) * kdClockCycleSize |
const double | kdEpochInNs = kdEpochInPs / 1000.0 |
const double | kuEpochInNs = static_cast<uint64_t>(kdEpochInNs) |
const uint32_t | kuEpochCounterSz = 0xFFFFFF |
Works as epoch integer in ns! | |
const uint64_t | kulEpochCycleEp = static_cast<uint64_t>(kuEpochCounterSz + 1) |
const uint64_t | kulEpochCycleBins = kulEpochCycleEp * kuEpochInBins |
const uint64_t | kulEpochCycleInNs = kulEpochCycleBins * kuEpochInNs |
const double | kdEpochCycleInS = static_cast<double>(kuEpochCounterSz + 1) * (kdEpochInNs / 1e9) |
const uint64_t | kulEpochCycleFieldSz = 0x1FFFFF |
const uint32_t | kuChipIdMergedEpoch = 255 |
const uint32_t | kuFeePulserChannel = 3 |
const uint32_t | kuFeePulserChannelDiam = 0 |
const uint64_t | kuEndOfMsMask = 0xFFFFFFFFFFFF |
const uint64_t | kuEndOfMsMarker = 0xdeadbeeeeeef |
Clone of the functions in the flestool library to avoid circular dependencies Replaces the following block of code which generate warnings depending on the OS Form( "%llx", static_cast<uint64_t>(val) ); Form( "%lx", static_cast<uint64_t>(val) ); Form( "%0llx", static_cast<uint64_t>(val) ); Form( "%0lx", static_cast<uint64_t>(val) ); Form( "%016llx", static_cast<uint64_t>(val) ); Form( "%016lx", static_cast<uint64_t>(val) );
Definition at line 113 of file CriGet4Mess001.h.
Enumerator | |
---|---|
GET4_32B_SLC_SCALER | |
GET4_32B_SLC_DEADT | |
GET4_32B_SLC_SPIREAD | |
GET4_32B_SLC_START_SEU |
Definition at line 105 of file CriGet4Mess001.h.
Enumerator | |
---|---|
msg_print_Prefix | |
msg_print_Data | |
msg_print_Hex | |
msg_print_Human |
Definition at line 90 of file CriGet4Mess001.h.
Enumerator | |
---|---|
msg_print_Cout | |
msg_print_FairLog | |
msg_print_File |
Definition at line 98 of file CriGet4Mess001.h.
Enumerator | |
---|---|
MSG_HIT | |
MSG_EPOCH | |
MSG_SLOWC | |
MSG_SYST |
Definition at line 65 of file CriGet4Mess001.h.
Enumerator | |
---|---|
PATT_MISSMATCH | |
PATT_ENABLE | |
PATT_RESYNC | |
PATT_STATUS |
Definition at line 82 of file CriGet4Mess001.h.
Enumerator | |
---|---|
SYS_GET4_ERROR | |
SYS_GDPB_UNKWN | |
SYS_GET4_SYNC_MISS | |
SYS_PATTERN |
Definition at line 73 of file CriGet4Mess001.h.
std::string critof001::FormatHexPrintout | ( | uint64_t | ulVal, |
char | cFill = 0, | ||
uint | uWidth = 0, | ||
bool | bUppercase = false ) |
Set hex printout mode
Set fill character and/or width if provided by user
push value
Restore fill character if needed
Definition at line 36 of file CriGet4Mess001.cxx.
const double critof001::kdBinSize = kdClockCycleSize / kdFtBinsNb |
Definition at line 34 of file CriGet4Mess001.h.
const double critof001::kdClockCycleSize = 6250.0 |
Definition at line 14 of file CriGet4Mess001.h.
const double critof001::kdClockCycleSizeNs = kdClockCycleSize / 1000.0 |
Definition at line 15 of file CriGet4Mess001.h.
Referenced by critof001::Message::getMsgFullTimeD().
const double critof001::kdEpochCycleInS = static_cast<double>(kuEpochCounterSz + 1) * (kdEpochInNs / 1e9) |
Definition at line 52 of file CriGet4Mess001.h.
const double critof001::kdEpochInNs = kdEpochInPs / 1000.0 |
Definition at line 40 of file CriGet4Mess001.h.
Referenced by critof001::Message::getMsgFullTimeD().
const double critof001::kdEpochInPs = static_cast<double>(kuCoarseCounterSize) * kdClockCycleSize |
Definition at line 39 of file CriGet4Mess001.h.
const double critof001::kdFtBinsNb = 112. |
Definition at line 31 of file CriGet4Mess001.h.
Referenced by critof001::Message::getMsgFullTimeD().
const double critof001::kdFtSize = kuFineCounterSize |
Definition at line 30 of file CriGet4Mess001.h.
const double critof001::kdTotBinSize = 50.0 |
Definition at line 17 of file CriGet4Mess001.h.
const uint32_t critof001::kuChipIdMergedEpoch = 255 |
Definition at line 57 of file CriGet4Mess001.h.
Referenced by cbm::algo::bmon::UnpackMS::operator()(), cbm::algo::tof::UnpackMS::operator()(), and CbmTofUnpackAlgo::unpack().
const uint32_t critof001::kuCoarseCounterSize = ((kuCoarseTime >> kuCtShift) + 1) |
Definition at line 26 of file CriGet4Mess001.h.
const uint32_t critof001::kuCoarseOverflowTest = kuCoarseCounterSize / 2 |
Definition at line 27 of file CriGet4Mess001.h.
const uint32_t critof001::kuCoarseTime = 0x0007FF80 |
Definition at line 21 of file CriGet4Mess001.h.
const uint32_t critof001::kuCtShift = 7 |
Definition at line 22 of file CriGet4Mess001.h.
const uint32_t critof001::kuCtSize = 12 |
Definition at line 23 of file CriGet4Mess001.h.
const uint64_t critof001::kuEndOfMsMarker = 0xdeadbeeeeeef |
Definition at line 63 of file CriGet4Mess001.h.
Referenced by critof001::Message::isEndOfMs().
const uint64_t critof001::kuEndOfMsMask = 0xFFFFFFFFFFFF |
Definition at line 62 of file CriGet4Mess001.h.
Referenced by critof001::Message::isEndOfMs().
const uint32_t critof001::kuEpochCounterSz = 0xFFFFFF |
Works as epoch integer in ns!
Definition at line 44 of file CriGet4Mess001.h.
const uint32_t critof001::kuEpochInBins = kuCoarseCounterSize * kdFtBinsNb |
Definition at line 36 of file CriGet4Mess001.h.
const double critof001::kuEpochInNs = static_cast<uint64_t>(kdEpochInNs) |
Definition at line 41 of file CriGet4Mess001.h.
Referenced by CbmTofUnpackAlgo::ExtractTsStartEpoch(), cbm::algo::bmon::UnpackMS::operator()(), cbm::algo::tof::UnpackMS::operator()(), CbmTofUnpackAlgo::ProcessEpoch(), and CbmTofUnpackAlgo::ProcessHit().
const uint32_t critof001::kuFeePulserChannel = 3 |
Definition at line 59 of file CriGet4Mess001.h.
const uint32_t critof001::kuFeePulserChannelDiam = 0 |
Definition at line 60 of file CriGet4Mess001.h.
const uint32_t critof001::kuFineCounterSize = ((kuFineTime >> kuFtShift) + 1) |
Definition at line 25 of file CriGet4Mess001.h.
const uint32_t critof001::kuFineTime = 0x0000007F |
Definition at line 19 of file CriGet4Mess001.h.
const uint32_t critof001::kuFtShift = 0 |
Definition at line 20 of file CriGet4Mess001.h.
const uint64_t critof001::kulEpochCycleBins = kulEpochCycleEp * kuEpochInBins |
Definition at line 48 of file CriGet4Mess001.h.
const uint64_t critof001::kulEpochCycleEp = static_cast<uint64_t>(kuEpochCounterSz + 1) |
Definition at line 46 of file CriGet4Mess001.h.
Referenced by CbmTofUnpackAlgo::ExtractTsStartEpoch(), cbm::algo::bmon::UnpackMS::operator()(), cbm::algo::tof::UnpackMS::operator()(), CbmTofUnpackAlgo::ProcessEpoch(), cbm::algo::bmon::UnpackMS::ProcessEpochMessage(), and cbm::algo::tof::UnpackMS::ProcessEpochMessage().
const uint64_t critof001::kulEpochCycleFieldSz = 0x1FFFFF |
Definition at line 55 of file CriGet4Mess001.h.
const uint64_t critof001::kulEpochCycleInNs = kulEpochCycleBins * kuEpochInNs |
Definition at line 50 of file CriGet4Mess001.h.
const uint32_t critof001::kuTotCounterSize = 256 |
Definition at line 28 of file CriGet4Mess001.h.