5#ifndef CbmBmonUnpackConfig_H
6#define CbmBmonUnpackConfig_H
11#include "CbmRecoUnpackConfig.tmpl"
15#include <RtypesCore.h>
22class CbmBmonUnpackConfig :
public CbmRecoUnpackConfig<CbmBmonUnpackAlgo, CbmBmonDigi, CbmErrorMessage> {
90 virtual std::shared_ptr<CbmBmonUnpackAlgo>
chooseAlgo();
100 std::shared_ptr<CbmTofUnpackMonitor>
fMonitor =
nullptr;
CbmBmonUnpackConfig(std::string detGeoSetupTag, UInt_t runid=0)
Create the Cbm Tof Unpack Task object.
std::shared_ptr< CbmTofUnpackMonitor > fMonitor
pointer to the monitor object
void SetFlagEpochCountHack2021(bool bFlagin=true)
Sets the flag enabling the epoch offset hack for the July 2021 data. Default is enable.
CbmBmonUnpackConfig(const CbmBmonUnpackConfig &)=delete
Copy constructor - not implemented.
std::string fsParFileName
Parameter file name.
std::shared_ptr< CbmTofUnpackMonitor > GetMonitor()
Returns the monitor of the unpacker if any.
virtual ~CbmBmonUnpackConfig()
Destroy the Cbm Tof Unpack Task object.
virtual std::shared_ptr< CbmBmonUnpackAlgo > chooseAlgo()
Choose the derived unpacker algorithm to be used for the DAQ output to Digi translation....
CbmBmonUnpackConfig & operator=(const CbmBmonUnpackConfig &)=delete
Assignment operator - not implemented.
void SetMonitor(std::shared_ptr< CbmTofUnpackMonitor > value)
Add a monitor to the unpacker.
bool fbEpochCountHack2021
Control flags.
void SetFlagBmonParMode(bool bFlagin=true)
Sets the flag switching to a request of CbmMcbm2018BmonPar. Default is enable.
void InitAlgo()
Initialize the algorithm, should include all steps needing te parameter objects to be present....
void SetParFileName(std::string sNewName)
Sets the name of the parameter file to be used.