13#include <RtypesCore.h>
19 : CbmRecoUnpackConfig(
"CbmStsUnpackConfig", detGeoSetupTag, runid)
25 LOG(debug) << fName <<
"::~CbmStsUnpackConfig";
27 LOG(debug) << fName <<
"::~CbmStsUnpackConfig done";
38 fAlgo->SetMinAdcCut(cut->first, cut->second);
64 fAlgo->MaskNoisyChannel(chmask.uFeb, chmask.uChan, chmask.bMasked);
70 if (fDoLog) LOG(info) << fName <<
"::Init - chooseAlgo";
74 if (fGeoSetupTag.find(
"mcbm_beam_2020_03") != fGeoSetupTag.npos) {
75 auto algo = std::make_shared<CbmStsUnpackAlgoLegacy>();
76 LOG(info) << fName <<
"::chooseAlgo() - selected algo = " << algo->Class_Name();
82 auto algo = std::make_shared<CbmStsUnpackAlgo>();
83 LOG(info) << fName <<
"::chooseAlgo() - selected algo = " << algo->Class_Name();
87 <<
"::Init - chooseAlgo() - no algorithm created something went wrong. We can not work like this!";
ClassImp(CbmConverterManager)
Baseclass for the STS unpacker algorithms.
Configuration class for an unpacker algorithm.
virtual std::shared_ptr< CbmStsUnpackAlgoBase > chooseAlgo()
Choose the derived unpacker algorithm to be used for the DAQ output to Digi translation....
std::vector< double > fvdTimeOffsetNsAsics
Vector with the Asic time offsets.
std::shared_ptr< CbmStsUnpackMonitor > fMonitor
pointer to the monitor object
std::map< uint32_t, uint32_t > fdAdcCut_perFeb
Minimum adc cut per Feb to store a hit.
bool fbUseFwBinning
Enables firmware binning (some implementations ignore this)
virtual ~CbmStsUnpackConfig()
Destroy the Cbm Sts Unpack Task object.
void InitAlgo()
Initialize the algorithm, should include all steps needing te parameter objects to be present....
uint32_t fdAdcCut
Minimum adc cut to store a hit.
CbmStsUnpackConfig(std::string detGeoSetupTag, UInt_t runid=0)
Create the Cbm Sts Unpack Task object.
std::vector< FebChanMaskReco > fvChanMasks
Temporary storage of user parameters.
bool fbRejectDuplicateDigis
Enables the rejection of duplicate digis.
bool fbDupliWithoutAdc
If rejecting duplicate digis, enables rejection even if ADC differs.
std::map< uint32_t, CbmStsParModule > fWalkMap
Time-Walk Parameters map.