21#ifndef CbmPsdUnpackAlgo_H
22#define CbmPsdUnpackAlgo_H
27#include "CbmRecoUnpackAlgo.tmpl"
28#include "Timeslice.hpp"
31#include <RtypesCore.h>
61 virtual std::vector<std::pair<std::string, std::shared_ptr<FairParGenericSet>>>*
94 virtual Bool_t
init();
128 bool unpack(
const fles::Timeslice* ts, std::uint16_t icomp, UInt_t imslice);
Data class for PSD digital signal processing (DSP)
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 par...
void finish()
Finish function for this algorithm base clase.
Bool_t initParSet(FairParGenericSet *parset)
Handles the distribution of the hidden derived classes to their explicit functions.
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
std::vector< double > fMipCalibration
static const Int_t kiMaxNbFlibLinks
Constants.
CbmPsdUnpackAlgo & operator=(const CbmPsdUnpackAlgo &)=delete
Assignment operator - not implemented.
bool unpack(const fles::Timeslice *ts, std::uint16_t icomp, UInt_t imslice)
Unpack a given microslice. To be implemented in the derived unpacker algos.
virtual Bool_t init()
Intialisation at begin of run. Special inits of the derived algos.
CbmPsdUnpackAlgo()
Create the Cbm Trd Unpack AlgoBase object.
double getMipCalibration(uint8_t channel)
Energy calibration constants.
static const UInt_t kuDetMask
virtual ~CbmPsdUnpackAlgo()
Destroy the Cbm Trd Unpack Task object.
void makeDigi(CbmPsdDsp dsp)
Create a digi object from the signal.
UInt_t fuNrOfGbtx
Detector Mapping.
std::vector< Bool_t > fvbMaskedComponents
gDPB ID to index map
std::vector< Int_t > fviPsdChUId
Int_t getAddress(size_t channel)
Get channel address.
std::vector< Int_t > fChannelAddress
Double_t fdTimeOffsetNs
User settings: Data correction parameters.
CbmPsdUnpackAlgo(const CbmPsdUnpackAlgo &)=delete
Copy constructor - not implemented.
virtual void finishDerived()
Function that allows special calls during Finish in the derived algos.
static const UInt_t kuBytesPerMessage