Project
Loading...
Searching...
No Matches
o2::emcal::StuDecoder Class Reference

Decoder of the EMCAL/DCAL STU data. More...

#include <StuDecoder.h>

Public Member Functions

 StuDecoder (RawReaderMemory &reader)
 Constructor.
 
 ~StuDecoder ()=default
 Destructor.
 
void decode ()
 Decode the STU stream.
 
int32_t getL1GammaHighThreshold () const
 
int32_t getL1JetHighThreshold () const
 
int32_t getL1GammaLowThreshold () const
 
int32_t getL1JetLowThreshold () const
 
int32_t getRho () const
 
int32_t getFrameReceivedSTU () const
 
int32_t getRegionEnable () const
 
int32_t getFrameReceived () const
 
int32_t getParchSize () const
 
int32_t getFWversion () const
 
STUtype_t getSTUtype () const
 
int getFeeID () const
 
int getNumberOfTRUs () const
 
std::vector< int16_t > getL1JetHighPatchIndices () const
 
std::vector< int16_t > getL1JetLowPatchIndices () const
 
std::vector< int16_t > getL1GammaHighPatchIndices () const
 
std::vector< int16_t > getL1GammaLowPatchIndics () const
 
std::vector< int16_t > getFastOrADCs () const
 
int getNumberOfL1JetHighPatches () const
 
int getNumberOfL1JetLowPatches () const
 
int getNumberOfL1GammaHighPatches () const
 
int getNumberOfL1GammaLowPatches () const
 
int16_t getIndexOfL1JetHighPatch (int id) const
 
int16_t getIndexOfL1JetLowPatch (int id) const
 
int16_t getIndexOfL1GammaHighPatch (int id) const
 
int16_t getIndexOfL1GammaLowPatch (int id) const
 
int16_t getFastOrADC (int iTRU, int iCh) const
 
std::tuple< int, int, intgetL1GammaMaxPatch () const
 
bool isFullPayload () const
 
bool isL1GammaLowFired () const
 
bool isL1GammaHighFired () const
 
bool isL1JetLowFired () const
 
bool isL1JetHighFired () const
 
bool isMedianMode () const
 
void dumpSTUcfg () const
 

Public Attributes

int mDebug = -3
 

Detailed Description

Decoder of the EMCAL/DCAL STU data.

Author
Martin Poghosyan marti.nosp@m.n.po.nosp@m.ghosy.nosp@m.an@c.nosp@m.ern.c.nosp@m.h, Oak Ridge National Laboratory
Since
Apr. 27, 2022

Definition at line 31 of file StuDecoder.h.

Constructor & Destructor Documentation

◆ StuDecoder()

StuDecoder::StuDecoder ( RawReaderMemory reader)

Constructor.

Parameters
readerRaw reader instance to be decoded

Definition at line 24 of file StuDecoder.cxx.

◆ ~StuDecoder()

o2::emcal::StuDecoder::~StuDecoder ( )
default

Destructor.

Member Function Documentation

◆ decode()

void StuDecoder::decode ( )

Decode the STU stream.

Exceptions
StuDecoderErrorif the STU payload cannot be decoded

Definition at line 78 of file StuDecoder.cxx.

◆ dumpSTUcfg()

void StuDecoder::dumpSTUcfg ( ) const

Definition at line 230 of file StuDecoder.cxx.

◆ getFastOrADC()

int16_t o2::emcal::StuDecoder::getFastOrADC ( int  iTRU,
int  iCh 
) const
inline

Definition at line 76 of file StuDecoder.h.

◆ getFastOrADCs()

std::vector< int16_t > o2::emcal::StuDecoder::getFastOrADCs ( ) const
inline

Definition at line 64 of file StuDecoder.h.

◆ getFeeID()

int o2::emcal::StuDecoder::getFeeID ( ) const
inline

Definition at line 57 of file StuDecoder.h.

◆ getFrameReceived()

int32_t o2::emcal::StuDecoder::getFrameReceived ( ) const
inline

Definition at line 52 of file StuDecoder.h.

◆ getFrameReceivedSTU()

int32_t o2::emcal::StuDecoder::getFrameReceivedSTU ( ) const
inline

Definition at line 50 of file StuDecoder.h.

◆ getFWversion()

int32_t o2::emcal::StuDecoder::getFWversion ( ) const
inline

Definition at line 54 of file StuDecoder.h.

◆ getIndexOfL1GammaHighPatch()

int16_t o2::emcal::StuDecoder::getIndexOfL1GammaHighPatch ( int  id) const
inline

Definition at line 73 of file StuDecoder.h.

◆ getIndexOfL1GammaLowPatch()

int16_t o2::emcal::StuDecoder::getIndexOfL1GammaLowPatch ( int  id) const
inline

Definition at line 74 of file StuDecoder.h.

◆ getIndexOfL1JetHighPatch()

int16_t o2::emcal::StuDecoder::getIndexOfL1JetHighPatch ( int  id) const
inline

Definition at line 71 of file StuDecoder.h.

◆ getIndexOfL1JetLowPatch()

int16_t o2::emcal::StuDecoder::getIndexOfL1JetLowPatch ( int  id) const
inline

Definition at line 72 of file StuDecoder.h.

◆ getL1GammaHighPatchIndices()

std::vector< int16_t > o2::emcal::StuDecoder::getL1GammaHighPatchIndices ( ) const
inline

Definition at line 62 of file StuDecoder.h.

◆ getL1GammaHighThreshold()

int32_t o2::emcal::StuDecoder::getL1GammaHighThreshold ( ) const
inline

Definition at line 45 of file StuDecoder.h.

◆ getL1GammaLowPatchIndics()

std::vector< int16_t > o2::emcal::StuDecoder::getL1GammaLowPatchIndics ( ) const
inline

Definition at line 63 of file StuDecoder.h.

◆ getL1GammaLowThreshold()

int32_t o2::emcal::StuDecoder::getL1GammaLowThreshold ( ) const
inline

Definition at line 47 of file StuDecoder.h.

◆ getL1GammaMaxPatch()

std::tuple< int, int, int > o2::emcal::StuDecoder::getL1GammaMaxPatch ( ) const
inline

Definition at line 78 of file StuDecoder.h.

◆ getL1JetHighPatchIndices()

std::vector< int16_t > o2::emcal::StuDecoder::getL1JetHighPatchIndices ( ) const
inline

Definition at line 60 of file StuDecoder.h.

◆ getL1JetHighThreshold()

int32_t o2::emcal::StuDecoder::getL1JetHighThreshold ( ) const
inline

Definition at line 46 of file StuDecoder.h.

◆ getL1JetLowPatchIndices()

std::vector< int16_t > o2::emcal::StuDecoder::getL1JetLowPatchIndices ( ) const
inline

Definition at line 61 of file StuDecoder.h.

◆ getL1JetLowThreshold()

int32_t o2::emcal::StuDecoder::getL1JetLowThreshold ( ) const
inline

Definition at line 48 of file StuDecoder.h.

◆ getNumberOfL1GammaHighPatches()

int o2::emcal::StuDecoder::getNumberOfL1GammaHighPatches ( ) const
inline

Definition at line 68 of file StuDecoder.h.

◆ getNumberOfL1GammaLowPatches()

int o2::emcal::StuDecoder::getNumberOfL1GammaLowPatches ( ) const
inline

Definition at line 69 of file StuDecoder.h.

◆ getNumberOfL1JetHighPatches()

int o2::emcal::StuDecoder::getNumberOfL1JetHighPatches ( ) const
inline

Definition at line 66 of file StuDecoder.h.

◆ getNumberOfL1JetLowPatches()

int o2::emcal::StuDecoder::getNumberOfL1JetLowPatches ( ) const
inline

Definition at line 67 of file StuDecoder.h.

◆ getNumberOfTRUs()

int o2::emcal::StuDecoder::getNumberOfTRUs ( ) const
inline

Definition at line 58 of file StuDecoder.h.

◆ getParchSize()

int32_t o2::emcal::StuDecoder::getParchSize ( ) const
inline

Definition at line 53 of file StuDecoder.h.

◆ getRegionEnable()

int32_t o2::emcal::StuDecoder::getRegionEnable ( ) const
inline

Definition at line 51 of file StuDecoder.h.

◆ getRho()

int32_t o2::emcal::StuDecoder::getRho ( ) const
inline

Definition at line 49 of file StuDecoder.h.

◆ getSTUtype()

STUtype_t o2::emcal::StuDecoder::getSTUtype ( ) const
inline

Definition at line 56 of file StuDecoder.h.

◆ isFullPayload()

bool o2::emcal::StuDecoder::isFullPayload ( ) const
inline

Definition at line 83 of file StuDecoder.h.

◆ isL1GammaHighFired()

bool o2::emcal::StuDecoder::isL1GammaHighFired ( ) const
inline

Definition at line 85 of file StuDecoder.h.

◆ isL1GammaLowFired()

bool o2::emcal::StuDecoder::isL1GammaLowFired ( ) const
inline

Definition at line 84 of file StuDecoder.h.

◆ isL1JetHighFired()

bool o2::emcal::StuDecoder::isL1JetHighFired ( ) const
inline

Definition at line 87 of file StuDecoder.h.

◆ isL1JetLowFired()

bool o2::emcal::StuDecoder::isL1JetLowFired ( ) const
inline

Definition at line 86 of file StuDecoder.h.

◆ isMedianMode()

bool o2::emcal::StuDecoder::isMedianMode ( ) const
inline

Definition at line 88 of file StuDecoder.h.

Member Data Documentation

◆ mDebug

int o2::emcal::StuDecoder::mDebug = -3

Definition at line 92 of file StuDecoder.h.


The documentation for this class was generated from the following files: