CbmRoot
|
#include <CbmStsUnpackAlgoBase.h>
Public Member Functions | |
CbmStsUnpackAlgoBase (std::string name) | |
Create the Cbm Sts Unpack AlgoBase object. | |
virtual | ~CbmStsUnpackAlgoBase () |
Destroy the Cbm Sts Unpack Task object. | |
CbmStsUnpackAlgoBase (const CbmStsUnpackAlgoBase &)=delete | |
Copy constructor - not implemented. | |
CbmStsUnpackAlgoBase & | operator= (const CbmStsUnpackAlgoBase &)=delete |
Assignment operator - not implemented. | |
void | SetMonitor (std::shared_ptr< CbmStsUnpackMonitor > monitor) |
Set a predefined monitor. | |
void | SetMinAdcCut (uint32_t value) |
Set the minimum adc cut value. | |
void | SetMinAdcCut (uint32_t febid, uint32_t value) |
void | SetAsicTimeOffsetVec (std::vector< double > value) |
Set the time offset per Asic. | |
void | SetWalkMap (const std::map< uint32_t, CbmStsParModule > &mapIn) |
Enable/Disable time-walk correction. | |
void | SetDuplicatesRejection (bool bIn=true, bool bDiffAdc=true) |
Enable/Disable the duplicate digis rejection, without or with same ADC checks. | |
void | SetFwBinning (bool useFwBinning) |
Enable/Disable firmware binning (switch only supported by older implementations) | |
virtual std::vector< std::pair< std::string, std::shared_ptr< FairParGenericSet > > > * | GetParContainerRequest (std::string geoTag, std::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. | |
virtual void | MaskNoisyChannel (const uint32_t uFeb, const uint32_t uChan, const bool bMasked=true) |
Mask a Noisy Channel. | |
Protected Member Functions | |
virtual void | finish () |
Finish function for this algorithm base clase. | |
Protected Attributes | |
std::shared_ptr< CbmStsUnpackMonitor > | fMonitor = nullptr |
Potential (online) monitor for the unpacking process. | |
uint32_t | fdAdcCut = 0 |
Minimum adc cut to store a hit. | |
std::map< uint32_t, uint32_t > | fdAdcCut_perFeb |
Minimum adc cut per Feb to store a hit. | |
std::vector< double > | fvdTimeOffsetNsAsics = {} |
Time offsets per Asic??? | |
bool | fbUseTimeWalkCorrection = false |
Enable/Disable time-walk correction. | |
std::map< uint32_t, std::vector< std::vector< double > > > | fWalkLookup = {} |
Per-ASIC's sensors Time-Walk correction mapping. | |
bool | fbRejectDuplicateDigis = false |
Enables the rejection of duplicate digis. | |
bool | fbDupliWithoutAdc = true |
If rejecting duplicate digis, enables rejection even if ADC differs. | |
bool | fbUseFwBinning = true |
Enables firmware binning (some implementations ignore this) | |
Definition at line 41 of file CbmStsUnpackAlgoBase.h.
CbmStsUnpackAlgoBase::CbmStsUnpackAlgoBase | ( | std::string | name | ) |
Create the Cbm Sts Unpack AlgoBase object.
Definition at line 7 of file CbmStsUnpackAlgoBase.cxx.
|
virtual |
Destroy the Cbm Sts Unpack Task object.
Definition at line 9 of file CbmStsUnpackAlgoBase.cxx.
|
delete |
Copy constructor - not implemented.
|
inlineprotectedvirtual |
Finish function for this algorithm base clase.
Definition at line 108 of file CbmStsUnpackAlgoBase.h.
References fMonitor.
|
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] | std::uint32_t | runId for runwise defined parameters |
Definition at line 13 of file CbmStsUnpackAlgoBase.cxx.
|
inlinevirtual |
Mask a Noisy Channel.
uFeb | |
uChan | |
bMasked |
Reimplemented in CbmStsUnpackAlgo, and CbmStsUnpackAlgoLegacy.
Definition at line 99 of file CbmStsUnpackAlgoBase.h.
|
delete |
Assignment operator - not implemented.
|
inline |
Set the time offset per Asic.
Definition at line 65 of file CbmStsUnpackAlgoBase.h.
References fvdTimeOffsetNsAsics.
|
inline |
Enable/Disable the duplicate digis rejection, without or with same ADC checks.
Definition at line 71 of file CbmStsUnpackAlgoBase.h.
References fbDupliWithoutAdc, and fbRejectDuplicateDigis.
|
inline |
Enable/Disable firmware binning (switch only supported by older implementations)
Definition at line 78 of file CbmStsUnpackAlgoBase.h.
References fbUseFwBinning.
|
inline |
Definition at line 62 of file CbmStsUnpackAlgoBase.h.
References fdAdcCut_perFeb.
|
inline |
Set the minimum adc cut value.
[in] | value |
Definition at line 60 of file CbmStsUnpackAlgoBase.h.
References fdAdcCut.
|
inline |
Set a predefined monitor.
monitor | predefined unpacking monitor |
Definition at line 57 of file CbmStsUnpackAlgoBase.h.
References fMonitor.
void CbmStsUnpackAlgoBase::SetWalkMap | ( | const std::map< uint32_t, CbmStsParModule > & | mapIn | ) |
Enable/Disable time-walk correction.
Definition at line 26 of file CbmStsUnpackAlgoBase.cxx.
References fbUseTimeWalkCorrection, and fWalkLookup.
|
protected |
If rejecting duplicate digis, enables rejection even if ADC differs.
Definition at line 137 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmStsUnpackAlgo::processHitInfo(), and SetDuplicatesRejection().
|
protected |
Enables the rejection of duplicate digis.
Definition at line 134 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmStsUnpackAlgo::processHitInfo(), and SetDuplicatesRejection().
|
protected |
Enables firmware binning (some implementations ignore this)
Definition at line 140 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgoLegacy::GetFullTimeStamp(), CbmStsUnpackAlgo::init(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmStsUnpackAlgoLegacy::ProcessTsMsbInfo(), CbmStsUnpackAlgoLegacy::RefreshTsMsbFields(), and SetFwBinning().
|
protected |
Enable/Disable time-walk correction.
Definition at line 128 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgo::processHitInfo(), and SetWalkMap().
|
protected |
Minimum adc cut to store a hit.
Definition at line 119 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgo::initParSet(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), and SetMinAdcCut().
|
protected |
Minimum adc cut per Feb to store a hit.
Definition at line 122 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgo::initParSet(), and SetMinAdcCut().
|
protected |
Potential (online) monitor for the unpacking process.
Definition at line 116 of file CbmStsUnpackAlgoBase.h.
Referenced by finish(), CbmStsUnpackAlgo::initParSet(), CbmStsUnpackAlgoLegacy::initParSet(), CbmStsUnpackAlgoLegacy::LoopMsMessages(), CbmStsUnpackAlgo::loopMsMessages(), CbmStsUnpackAlgoLegacy::ProcessErrorInfo(), CbmStsUnpackAlgo::processErrorInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmStsUnpackAlgo::processHitInfo(), CbmStsUnpackAlgoLegacy::ProcessStatusInfo(), CbmStsUnpackAlgo::processStatusInfo(), CbmStsUnpackAlgoLegacy::ProcessTsMsbInfo(), CbmStsUnpackAlgo::processTsMsbInfo(), CbmStsUnpackAlgo::SetMonitor(), SetMonitor(), CbmStsUnpackAlgo::unpack(), and CbmStsUnpackAlgoLegacy::unpack().
|
protected |
Time offsets per Asic???
Definition at line 125 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgoLegacy::AddHitsToDigiVect(), CbmStsUnpackAlgoLegacy::InitParameters(), CbmStsUnpackAlgo::initParSet(), CbmStsUnpackAlgo::processHitInfo(), and SetAsicTimeOffsetVec().
|
protected |
Per-ASIC's sensors Time-Walk correction mapping.
Definition at line 131 of file CbmStsUnpackAlgoBase.h.
Referenced by CbmStsUnpackAlgo::processHitInfo(), and SetWalkMap().