Unpack algorithm for STS.
More...
#include <UnpackMS.h>
|
| struct | TimeSpec |
| | Structure to hold the current time information for the current microslice. More...
|
| |
|
| | UnpackMS (const UnpackPar &pars) |
| | Default constructor.
|
| |
| | ~UnpackMS () override |
| | Destructor.
|
| |
| Result_t | operator() (const uint8_t *msContent, const fles::MicrosliceDescriptor &msDescr, const uint64_t tTimeslice) const override |
| | Algorithm execution.
|
| |
| void | SetParams (std::unique_ptr< UnpackPar > params) |
| | Set the parameter container.
|
| |
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 128 of file sts/UnpackMS.h.
◆ Aux_t
◆ Digi_t
◆ Monitor_t
◆ Result_t
◆ UnpackMS()
| cbm::algo::sts::UnpackMS::UnpackMS |
( |
const UnpackPar & | pars | ) |
|
◆ ~UnpackMS()
| cbm::algo::sts::UnpackMS::~UnpackMS |
( |
| ) |
|
|
overridedefault |
◆ operator()()
| UnpackMS::Result_t cbm::algo::sts::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< CbmStsDigi, UnpackMonitorData, UnpackAuxData >.
Definition at line 27 of file sts/UnpackMS.cxx.
References cbm::algo::sts::UnpackMS::TimeSpec::currentCycle, cbm::algo::sts::UnpackMS::TimeSpec::currentTsTime, stsxyter::Epoch, fkClockCycleDen, fkClockCycleNom, fkCycleLength, fkEpochLength, stsxyter::Hit, L_, 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 |
| aux | Reference to auxiliary data object |
Referenced by operator()().
◆ ProcessTsmsbMessage()
◆ SetParams()
| void cbm::algo::sts::UnpackMS::SetParams |
( |
std::unique_ptr< UnpackPar > | params | ) |
|
|
inline |
Set the parameter container.
- Parameters
-
| params | Pointer to parameter container |
Definition at line 151 of file sts/UnpackMS.h.
References fParams.
◆ fkClockCycleDen
◆ fkClockCycleNom
Clock cycle nominator [ns] and denominator. The clock cycle in ns is nominator / denominator.
Definition at line 190 of file sts/UnpackMS.h.
Referenced by operator()().
◆ fkCycleLength
◆ fkEpochLength
◆ fkEpochsPerCycle
◆ fParams
| UnpackPar cbm::algo::sts::UnpackMS::fParams = {} |
|
private |
The documentation for this class was generated from the following files: