#include <SACDecoder.h>
|
static constexpr std::string_view | AllowedAdditionalStreams {"MRLIX"} |
| Allowed additional data streams that can be decoded with debug stream enabled.
|
|
static constexpr uint32_t | SampleDistance = 16 |
| Number of samples between time data stamps.
|
|
static constexpr double | SampleTimeMS = LHCBunchSpacingMUS * 2.5 |
| Internal timer sampling time in milli seconds (downsampled from LHC clock x 2500)
|
|
static constexpr double | SampleDistanceTimeMS = SampleTimeMS * SampleDistance |
| Time distance in MS between samples.
|
|
Definition at line 131 of file SACDecoder.h.
◆ DebugFlags
Enumerator |
---|
PacketInfo | Print packe information.
|
TimingInfo | Print timing information.
|
ProcessingInfo | Print some processing info.
|
DumpFullStream | Dump the data character streams.
|
StreamSingleFE | Stream debug output for each single FE.
|
StreamFinalData | Stream debug output for each single FE.
|
Definition at line 139 of file SACDecoder.h.
◆ ReAlignType
Enumerator |
---|
None | Print packe information.
|
AlignOnly | Try re-alignment.
|
AlignAndFillMissing | Try re-alignment and fill missing packets with 0s.
|
MaxType | Largest type number.
|
Definition at line 148 of file SACDecoder.h.
◆ clearDecodedData()
void Decoder::clearDecodedData |
( |
| ) |
|
◆ enableDebugTree()
void o2::tpc::sac::Decoder::enableDebugTree |
( |
| ) |
|
|
inline |
◆ finalize()
void Decoder::finalize |
( |
| ) |
|
◆ getDecodedData()
const DecodedData & o2::tpc::sac::Decoder::getDecodedData |
( |
| ) |
const |
|
inline |
◆ getNThreads()
static int o2::tpc::sac::Decoder::getNThreads |
( |
| ) |
|
|
inlinestatic |
- Returns
- returns the number of threads used for decoding
Definition at line 219 of file SACDecoder.h.
◆ getReAlignType()
ReAlignType o2::tpc::sac::Decoder::getReAlignType |
( |
| ) |
const |
|
inline |
◆ getReferenceTime()
double o2::tpc::sac::Decoder::getReferenceTime |
( |
| ) |
const |
|
inline |
◆ process()
bool Decoder::process |
( |
const char * |
data, |
|
|
size_t |
size |
|
) |
| |
◆ runDecoding()
void Decoder::runDecoding |
( |
| ) |
|
◆ setDebugLevel()
set a debug level, see DebugFlags
Definition at line 198 of file SACDecoder.h.
◆ setDecodeAdditional()
void o2::tpc::sac::Decoder::setDecodeAdditional |
( |
std::string_view |
additional | ) |
|
|
inline |
Set additional data to decode
These data streams will only be decoded for debug purposes and written in the debug tree, if debug tree output is enabled
- Parameters
-
additional | additional data streams (case sensitive) Parameters are 'M': mean values over some integration time 'R': RMS values 'L': low voltage data 'I': min values 'X': max values |
Definition at line 180 of file SACDecoder.h.
◆ setNThreads()
static void o2::tpc::sac::Decoder::setNThreads |
( |
const int |
nThreads | ) |
|
|
inlinestatic |
set the number of threads used for decoding
- Parameters
-
nThreads | number of threads |
Definition at line 216 of file SACDecoder.h.
◆ setReAlignType()
◆ setReferenceTime()
void o2::tpc::sac::Decoder::setReferenceTime |
( |
double |
time | ) |
|
|
inline |
◆ streamDecodedData()
void Decoder::streamDecodedData |
( |
bool |
streamAll = false | ) |
|
◆ AllowedAdditionalStreams
constexpr std::string_view o2::tpc::sac::Decoder::AllowedAdditionalStreams {"MRLIX"} |
|
staticconstexpr |
Allowed additional data streams that can be decoded with debug stream enabled.
Definition at line 134 of file SACDecoder.h.
◆ SampleDistance
constexpr uint32_t o2::tpc::sac::Decoder::SampleDistance = 16 |
|
staticconstexpr |
Number of samples between time data stamps.
Definition at line 135 of file SACDecoder.h.
◆ SampleDistanceTimeMS
Time distance in MS between samples.
Definition at line 137 of file SACDecoder.h.
◆ SampleTimeMS
constexpr double o2::tpc::sac::Decoder::SampleTimeMS = LHCBunchSpacingMUS * 2.5 |
|
staticconstexpr |
Internal timer sampling time in milli seconds (downsampled from LHC clock x 2500)
Definition at line 136 of file SACDecoder.h.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/calibration/include/TPCCalibration/SACDecoder.h
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/calibration/src/SACDecoder.cxx