18#ifndef CbmTrdUnpackConfig_H
19#define CbmTrdUnpackConfig_H
22#include "CbmRecoUnpackConfig.tmpl"
29#include <RtypesCore.h>
37 public CbmRecoUnpackConfig<CbmTrdUnpackAlgoBaseR, CbmTrdDigi, CbmTrdRawMessageSpadic, std::pair<size_t, size_t>> {
101 void SetElinkTimeOffset(std::uint32_t criid, std::uint8_t elinkid, std::int32_t offsetNs);
109 virtual std::shared_ptr<CbmTrdUnpackAlgoBaseR>
chooseAlgo();
112 std::shared_ptr<CbmTrdRawToDigiBaseR>
fRTDMethod = std::make_shared<CbmTrdRawToDigiMaxAdcR>();
115 std::shared_ptr<CbmTrdSpadic>
fSpadic =
nullptr;
118 std::shared_ptr<CbmTrdUnpackMonitor>
fMonitor =
nullptr;
Base class for extracting of information from raw signals to digi level.
Class for extracting information from raw signals to digi level.
Baseclass for the TrdR unpacker algorithms.
Monitor class to monitor the data from the Trd unpacker algorithms.
void SetMonitor(std::shared_ptr< CbmTrdUnpackMonitor > value)
Add a monitor to the unpacker.
void SetRawToDigiMethod(std::shared_ptr< CbmTrdRawToDigiBaseR > value)
Set the raw to digi method.
void SetAlgo()
Setup the derived unpacker algorithm to be used for the DAQ output to Digi translation....
std::shared_ptr< CbmTrdSpadic > GetSpadicObject()
Get the spadic object attached to this config.
virtual ~CbmTrdUnpackConfig()
Destroy the Cbm Trd Unpack Task object.
CbmTrdUnpackConfig(const CbmTrdUnpackConfig &)=delete
Copy constructor - not implemented.
void SetSpadicObject(std::shared_ptr< CbmTrdSpadic > value)
Set the Spadic Object.
CbmTrdUnpackConfig(std::string detGeoSetupTag, UInt_t runid=0)
Create the Cbm Trd Unpack Task object.
std::shared_ptr< CbmTrdUnpackMonitor > GetMonitor()
Get the potentially added monitor.
void SetElinkTimeOffset(std::uint32_t criid, std::uint8_t elinkid, std::int32_t offsetNs)
Register a time offeset to be substracted from the digis which come from a specific CRI.
std::shared_ptr< CbmTrdRawToDigiBaseR > fRTDMethod
pointer to the raw msg to digi method
std::map< std::uint32_t, std::vector< std::int32_t > > fElinkTimeOffsetMap
Map to store time offsets for each CRI&Elink combination.
CbmTrdUnpackConfig & operator=(const CbmTrdUnpackConfig &)=delete
Assignment operator - not implemented.
std::shared_ptr< CbmTrdUnpackMonitor > fMonitor
pointer to the monitor object
virtual std::shared_ptr< CbmTrdUnpackAlgoBaseR > chooseAlgo()
Choose the derived unpacker algorithm to be used for the DAQ output to Digi translation....
std::shared_ptr< CbmTrdSpadic > fSpadic
Spadic software reprensentation object.