|
CbmRoot
|
#include <CbmRichUnpackAlgoBase.h>
Public Member Functions | |
| CbmRichUnpackAlgoBase (std::string name) | |
| Create the Cbm Trd Unpack AlgoBase object. | |
| virtual | ~CbmRichUnpackAlgoBase () |
| Destroy the Cbm Trd Unpack Task object. | |
| CbmRichUnpackAlgoBase (const CbmRichUnpackAlgoBase &)=delete | |
| Copy constructor - not implemented. | |
| CbmRichUnpackAlgoBase & | operator= (const CbmRichUnpackAlgoBase &)=delete |
| Assignment operator - not implemented. | |
| virtual std::vector< std::pair< std::string, std::shared_ptr< FairParGenericSet > > > * | GetParContainerRequest (std::string geoTag, uint32_t runId) |
| Get the requested parameter containers. To be defined in the derived classes! Return the required parameter containers together with the paths to the ascii files to. | |
| void | SetMonitor (std::shared_ptr< CbmRichUnpackMonitor > monitor) |
| Set a predefined monitor. | |
| void | SetMaskedDiRICHes (std::vector< Int_t > *maskedDiRICHes) |
| Set Addresses of DiRICH boards to be masked. | |
| void | DoTotOffsetCorrection (Bool_t activate=true) |
| (De-) Activate Tot offset correction of digis | |
Protected Member Functions | |
| double | calculateTime (uint32_t epoch, uint32_t coarse, uint32_t fine) |
| void | finish () |
| Finish function for this algorithm base clase. | |
| virtual void | finishDerived () |
| Function that allows special calls during Finish in the derived algos. | |
| std::string | getLogHeader (CbmRichUnpackAlgoMicrosliceReader &reader) |
| Int_t | getPixelUID (Int_t fpgaID, Int_t ch) const |
| Bool_t | init () |
| Intialisation at begin of run. Special inits of the derived algos. | |
| Bool_t | initParSet (FairParGenericSet *parset) |
| Handles the distribution of the hidden derived classes to their explicit functions. | |
| Bool_t | initParSet (CbmMcbm2018RichPar *parset) |
| Handles the distribution of the hidden derived classes to their explicit functions. | |
| bool | isLog () |
| bool | setDerivedTsParameters (size_t) |
| Set the Derived Ts Parameters. | |
| bool | checkMaskedDiRICH (Int_t subSubEventId) |
| Unpack a given microslice. To be implemented in the derived unpacker algos. | |
Protected Attributes | |
| std::shared_ptr< CbmRichUnpackMonitor > | fMonitor = nullptr |
| Potential (online) monitor for the unpacking process. | |
| CbmMcbm2018RichPar | fUnpackPar |
| Parameters for the unpacking. | |
| std::vector< Int_t > * | fMaskedDiRICHes = nullptr |
| size_t | fMsRefTime = 0 |
| double | fToTMin = -20. |
| double | fToTMax = 100. |
| Bool_t | fbDoToTCorr = true |
Definition at line 199 of file CbmRichUnpackAlgoBase.h.
| CbmRichUnpackAlgoBase::CbmRichUnpackAlgoBase | ( | std::string | name | ) |
Create the Cbm Trd Unpack AlgoBase object.
Definition at line 17 of file CbmRichUnpackAlgoBase.cxx.
Referenced by CbmRichUnpackAlgo::CbmRichUnpackAlgo(), CbmRichUnpackAlgo2022::CbmRichUnpackAlgo2022(), CbmRichUnpackAlgoBase(), and operator=().
|
virtual |
Destroy the Cbm Trd Unpack Task object.
Definition at line 19 of file CbmRichUnpackAlgoBase.cxx.
|
delete |
Copy constructor - not implemented.
References CbmRichUnpackAlgoBase().
|
protected |
Definition at line 40 of file CbmRichUnpackAlgoBase.cxx.
Referenced by CbmRichUnpackAlgo::processMbs(), CbmRichUnpackAlgo2022::processTimeDataWord(), CbmRichUnpackAlgo::processTimeDataWord(), and CbmRichUnpackAlgo2022::processTrbPacket().
|
protected |
Unpack a given microslice. To be implemented in the derived unpacker algos.
| ts | timeslice pointer |
| icomp | index to the component to be unpacked |
| imslice | index of the microslice to be unpacked |
Definition at line 91 of file CbmRichUnpackAlgoBase.cxx.
References fMaskedDiRICHes.
Referenced by CbmRichUnpackAlgo2022::processSubSubEvent(), and CbmRichUnpackAlgo::processSubSubEvent().
|
inline |
(De-) Activate Tot offset correction of digis
| activate | bool to activate the Tot offset correction |
Definition at line 233 of file CbmRichUnpackAlgoBase.h.
References fbDoToTCorr.
|
inlineprotected |
Finish function for this algorithm base clase.
Definition at line 239 of file CbmRichUnpackAlgoBase.h.
References finishDerived(), and fMonitor.
|
inlineprotectedvirtual |
Function that allows special calls during Finish in the derived algos.
Definition at line 254 of file CbmRichUnpackAlgoBase.h.
Referenced by finish().
|
protected |
Definition at line 46 of file CbmRichUnpackAlgoBase.cxx.
References CbmRichUnpackAlgoMicrosliceReader::GetCurWord(), CbmRichUnpackAlgoMicrosliceReader::GetSize(), CbmRichUnpackAlgoMicrosliceReader::GetWordAsHexString(), and CbmRichUnpackAlgoMicrosliceReader::GetWordCounter().
Referenced by CbmRichUnpackAlgo2022::processCtsSubSubEvent(), CbmRichUnpackAlgo::processCtsSubSubEvent(), CbmRichUnpackAlgo2022::processHubBlock(), CbmRichUnpackAlgo::processHubBlock(), CbmRichUnpackAlgo::processMbs(), CbmRichUnpackAlgo2022::processSubSubEvent(), CbmRichUnpackAlgo::processSubSubEvent(), CbmRichUnpackAlgo2022::processTimeDataWord(), CbmRichUnpackAlgo::processTimeDataWord(), CbmRichUnpackAlgo2022::processTrbPacket(), CbmRichUnpackAlgo::processTrbPacket(), CbmRichUnpackAlgo2022::unpack(), and CbmRichUnpackAlgo::unpack().
|
virtual |
Get the requested parameter containers. To be defined in the derived classes! Return the required parameter containers together with the paths to the ascii files to.
| [in] | std::string | geoTag as used in CbmSetup |
| [in] | uint32_t | runId for runwise defined parameters |
Definition at line 23 of file CbmRichUnpackAlgoBase.cxx.
Definition at line 258 of file CbmRichUnpackAlgoBase.h.
Referenced by CbmRichUnpackAlgo2022::writeOutputDigi(), and CbmRichUnpackAlgo::writeOutputDigi().
|
protected |
Intialisation at begin of run. Special inits of the derived algos.
| Bool_t | initOk |
Definition at line 55 of file CbmRichUnpackAlgoBase.cxx.
|
protected |
Handles the distribution of the hidden derived classes to their explicit functions.
| parset |
Definition at line 70 of file CbmRichUnpackAlgoBase.cxx.
References fMonitor, and fUnpackPar.
|
protected |
Handles the distribution of the hidden derived classes to their explicit functions.
| parset |
Definition at line 58 of file CbmRichUnpackAlgoBase.cxx.
References initParSet().
Referenced by initParSet().
|
protected |
Definition at line 84 of file CbmRichUnpackAlgoBase.cxx.
Referenced by CbmRichUnpackAlgo2022::processCtsSubSubEvent(), CbmRichUnpackAlgo::processCtsSubSubEvent(), CbmRichUnpackAlgo2022::processHubBlock(), CbmRichUnpackAlgo::processHubBlock(), CbmRichUnpackAlgo::processMbs(), CbmRichUnpackAlgo2022::processSubSubEvent(), CbmRichUnpackAlgo::processSubSubEvent(), CbmRichUnpackAlgo2022::processTimeDataWord(), CbmRichUnpackAlgo::processTimeDataWord(), CbmRichUnpackAlgo2022::processTrbPacket(), CbmRichUnpackAlgo::processTrbPacket(), CbmRichUnpackAlgo2022::unpack(), and CbmRichUnpackAlgo::unpack().
|
delete |
Assignment operator - not implemented.
References CbmRichUnpackAlgoBase().
|
inlineprotected |
Set the Derived Ts Parameters.
In this function parameters required by the explicit algo connected to the timeslice can be set.
| itimeslice |
Definition at line 299 of file CbmRichUnpackAlgoBase.h.
|
inline |
Set Addresses of DiRICH boards to be masked.
| maskedDiRICHes | vector of Addresses |
Definition at line 230 of file CbmRichUnpackAlgoBase.h.
References fMaskedDiRICHes.
|
inline |
Set a predefined monitor.
| monitor | predefined unpacking monitor |
Definition at line 227 of file CbmRichUnpackAlgoBase.h.
References fMonitor.
|
protected |
Definition at line 326 of file CbmRichUnpackAlgoBase.h.
Referenced by DoTotOffsetCorrection(), CbmRichUnpackAlgo2022::writeOutputDigi(), and CbmRichUnpackAlgo::writeOutputDigi().
|
protected |
Definition at line 319 of file CbmRichUnpackAlgoBase.h.
Referenced by checkMaskedDiRICH(), and SetMaskedDiRICHes().
|
protected |
Potential (online) monitor for the unpacking process.
Definition at line 251 of file CbmRichUnpackAlgoBase.h.
Referenced by finish(), initParSet(), SetMonitor(), and CbmRichUnpackAlgo2022::unpack().
|
protected |
Definition at line 321 of file CbmRichUnpackAlgoBase.h.
Referenced by CbmRichUnpackAlgo2022::unpack(), CbmRichUnpackAlgo::unpack(), CbmRichUnpackAlgo2022::writeOutputDigi(), and CbmRichUnpackAlgo::writeOutputDigi().
|
protected |
Definition at line 324 of file CbmRichUnpackAlgoBase.h.
Referenced by CbmRichUnpackAlgo2022::processTimeDataWord(), and CbmRichUnpackAlgo::processTimeDataWord().
|
protected |
Definition at line 323 of file CbmRichUnpackAlgoBase.h.
Referenced by CbmRichUnpackAlgo2022::processTimeDataWord(), and CbmRichUnpackAlgo::processTimeDataWord().
|
protected |
Parameters for the unpacking.
Definition at line 317 of file CbmRichUnpackAlgoBase.h.
Referenced by initParSet(), CbmRichUnpackAlgo2022::processSubSubEvent(), CbmRichUnpackAlgo2022::writeOutputDigi(), and CbmRichUnpackAlgo::writeOutputDigi().