Unpack algorithm for STS.
More...
#include <UnpackMS.h>
|
| UnpackMS (const UnpackPar &pars) |
| Construct with parameters.
|
|
| ~UnpackMS () override |
| Destructor.
|
|
Result_t | operator() (const uint8_t *msContent, const fles::MicrosliceDescriptor &msDescr, const uint64_t tTimeslice) const override |
| Algorithm execution.
|
|
Unpack algorithm for STS.
- Author
- Pierre-Alain Loizeau p.-a..nosp@m.loiz.nosp@m.eau@g.nosp@m.si.d.nosp@m.e
-
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
- Since
- 25 November 2021
Definition at line 86 of file much/UnpackMS.h.
◆ Aux_t
◆ Digi_t
◆ Monitor_t
◆ Result_t
◆ UnpackMS()
cbm::algo::much::UnpackMS::UnpackMS |
( |
const UnpackPar & | pars | ) |
|
◆ ~UnpackMS()
cbm::algo::much::UnpackMS::~UnpackMS |
( |
| ) |
|
|
overridedefault |
◆ operator()()
UnpackMS::Result_t cbm::algo::much::UnpackMS::operator() |
( |
const uint8_t * | msContent, |
|
|
const fles::MicrosliceDescriptor & | msDescr, |
|
|
const uint64_t | tTimeslice ) const |
|
overridevirtual |
Algorithm execution.
- Parameters
-
msContent | Microslice payload |
msDescr | Microslice descriptor |
tTimeslice | Unix start time of timeslice [ns] |
- Returns
- STS digi data
Implements cbm::algo::UnpackMSBase< CbmMuchDigi, UnpackMonitorData, UnpackAuxData >.
Definition at line 24 of file much/UnpackMS.cxx.
References cbm::algo::much::UnpackMS::TimeSpec::currentCycle, cbm::algo::much::UnpackMS::TimeSpec::currentEpoch, cbm::algo::much::UnpackMS::TimeSpec::currentEpochTime, cbm::algo::much::UnpackMS::TimeSpec::currentTsTime, stsxyter::Epoch, fkClockCycleDen, fkClockCycleNom, fkCycleLength, fkEpochLength, stsxyter::Hit, ProcessHitMessage(), ProcessTsmsbMessage(), and stsxyter::TsMsb.
◆ ProcessHitMessage()
Process a hit message.
- Parameters
-
message | SMX message (32-bit word) |
digiVec | Vector to append the created digi to |
monitor | Reference to monitor object |
Referenced by operator()().
◆ ProcessTsmsbMessage()
◆ fkClockCycleDen
◆ fkClockCycleNom
Clock cycle nominator [ns] and denominator. The clock cycle in ns is nominator / denominator.
Definition at line 139 of file much/UnpackMS.h.
Referenced by operator()().
◆ fkCycleLength
◆ fkEpochLength
◆ fkEpochsPerCycle
◆ fParams
UnpackPar cbm::algo::much::UnpackMS::fParams = {} |
|
private |
The documentation for this class was generated from the following files: