CbmRoot
|
#include <CbmTofUnpackConfig.h>
Public Member Functions | |
CbmTofUnpackConfig (std::string detGeoSetupTag, UInt_t runid=0) | |
Create the Cbm Tof Unpack Task object. | |
virtual | ~CbmTofUnpackConfig () |
Destroy the Cbm Tof Unpack Task object. | |
CbmTofUnpackConfig (const CbmTofUnpackConfig &)=delete | |
Copy constructor - not implemented. | |
CbmTofUnpackConfig & | operator= (const CbmTofUnpackConfig &)=delete |
Assignment operator - not implemented. | |
void | InitAlgo () |
Initialize the algorithm, should include all steps needing te parameter objects to be present. In this function most initialization steps of the unpacker algorithms happen. | |
void | SetFlagEpochCountHack2021 (bool bFlagin=true) |
Sets the flag enabling the epoch offset hack for the July 2021 data. Default is enable. | |
void | SetFlagBmonParMode (bool bFlagin=true) |
Sets the flag switching to a request of CbmMcbm2018BmonPar. Default is enable. | |
void | SetParFileName (std::string sNewName) |
Sets the name of the parameter file to be used. | |
void | LoadParFileName () |
void | SetMonitor (std::shared_ptr< CbmTofUnpackMonitor > value) |
Add a monitor to the unpacker. | |
std::shared_ptr< CbmTofUnpackMonitor > | GetMonitor () |
Returns the monitor of the unpacker if any. | |
Protected Member Functions | |
virtual std::shared_ptr< CbmTofUnpackAlgo > | chooseAlgo () |
Choose the derived unpacker algorithm to be used for the DAQ output to Digi translation. If algo was already set manually by the user this algorithm is used. | |
Private Attributes | |
bool | fbEpochCountHack2021 = false |
Control flags. | |
bool | fbBmonParMode = false |
std::string | fsParFileName = "mTofCriPar.par" |
Parameter file name. | |
std::shared_ptr< CbmTofUnpackMonitor > | fMonitor = nullptr |
pointer to the monitor object | |
Definition at line 35 of file CbmTofUnpackConfig.h.
CbmTofUnpackConfig::CbmTofUnpackConfig | ( | std::string | detGeoSetupTag, |
UInt_t | runid = 0 ) |
Create the Cbm Tof Unpack Task object.
geoSetupTag | Geometry setup tag for the given detector as used by CbmSetup objects |
runid | set if unpacker is rerun on a special run with special parameters |
Definition at line 17 of file CbmTofUnpackConfig.cxx.
|
virtual |
Destroy the Cbm Tof Unpack Task object.
Definition at line 22 of file CbmTofUnpackConfig.cxx.
|
delete |
Copy constructor - not implemented.
|
protectedvirtual |
Choose the derived unpacker algorithm to be used for the DAQ output to Digi translation. If algo was already set manually by the user this algorithm is used.
Definition at line 38 of file CbmTofUnpackConfig.cxx.
References fbBmonParMode.
|
inline |
Returns the monitor of the unpacker if any.
Definition at line 95 of file CbmTofUnpackConfig.h.
References fMonitor.
void CbmTofUnpackConfig::InitAlgo | ( | ) |
Initialize the algorithm, should include all steps needing te parameter objects to be present. In this function most initialization steps of the unpacker algorithms happen.
Definition at line 25 of file CbmTofUnpackConfig.cxx.
References fbEpochCountHack2021, and fMonitor.
|
inline |
Definition at line 89 of file CbmTofUnpackConfig.h.
References fsParFileName.
|
delete |
Assignment operator - not implemented.
|
inline |
Sets the flag switching to a request of CbmMcbm2018BmonPar. Default is enable.
[in] | Optional | boolean flag value, default is true |
Definition at line 81 of file CbmTofUnpackConfig.h.
References fbBmonParMode.
|
inline |
Sets the flag enabling the epoch offset hack for the July 2021 data. Default is enable.
[in] | Optional | boolean flag value, default is true |
Definition at line 74 of file CbmTofUnpackConfig.h.
References fbEpochCountHack2021.
|
inline |
Add a monitor to the unpacker.
value | CbmStsUnpackMonitor |
Definition at line 92 of file CbmTofUnpackConfig.h.
References fMonitor.
|
inline |
Sets the name of the parameter file to be used.
[in] | std:string,path | should not be included as set in the Config class |
Definition at line 88 of file CbmTofUnpackConfig.h.
References fsParFileName.
|
private |
Definition at line 108 of file CbmTofUnpackConfig.h.
Referenced by chooseAlgo(), and SetFlagBmonParMode().
|
private |
Control flags.
Definition at line 107 of file CbmTofUnpackConfig.h.
Referenced by InitAlgo(), and SetFlagEpochCountHack2021().
|
private |
pointer to the monitor object
Definition at line 113 of file CbmTofUnpackConfig.h.
Referenced by GetMonitor(), InitAlgo(), and SetMonitor().
|
private |
Parameter file name.
Definition at line 110 of file CbmTofUnpackConfig.h.
Referenced by LoadParFileName(), and SetParFileName().