CbmRoot
|
#include <CbmBmonUnpackConfig.h>
Public Member Functions | |
CbmBmonUnpackConfig (std::string detGeoSetupTag, UInt_t runid=0) | |
Create the Cbm Tof Unpack Task object. | |
virtual | ~CbmBmonUnpackConfig () |
Destroy the Cbm Tof Unpack Task object. | |
CbmBmonUnpackConfig (const CbmBmonUnpackConfig &)=delete | |
Copy constructor - not implemented. | |
CbmBmonUnpackConfig & | operator= (const CbmBmonUnpackConfig &)=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< CbmBmonUnpackAlgo > | 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 22 of file CbmBmonUnpackConfig.h.
CbmBmonUnpackConfig::CbmBmonUnpackConfig | ( | 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 18 of file CbmBmonUnpackConfig.cxx.
References SetFlagBmonParMode().
|
virtual |
Destroy the Cbm Tof Unpack Task object.
Definition at line 24 of file CbmBmonUnpackConfig.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 40 of file CbmBmonUnpackConfig.cxx.
References fbBmonParMode.
|
inline |
Returns the monitor of the unpacker if any.
Definition at line 82 of file CbmBmonUnpackConfig.h.
References fMonitor.
void CbmBmonUnpackConfig::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 27 of file CbmBmonUnpackConfig.cxx.
References fbEpochCountHack2021, and fMonitor.
|
inline |
Definition at line 76 of file CbmBmonUnpackConfig.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 68 of file CbmBmonUnpackConfig.h.
References fbBmonParMode.
Referenced by CbmBmonUnpackConfig().
|
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 61 of file CbmBmonUnpackConfig.h.
References fbEpochCountHack2021.
|
inline |
Add a monitor to the unpacker.
value | CbmStsUnpackMonitor |
Definition at line 79 of file CbmBmonUnpackConfig.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 75 of file CbmBmonUnpackConfig.h.
References fsParFileName.
|
private |
Definition at line 95 of file CbmBmonUnpackConfig.h.
Referenced by chooseAlgo(), and SetFlagBmonParMode().
|
private |
Control flags.
Definition at line 94 of file CbmBmonUnpackConfig.h.
Referenced by InitAlgo(), and SetFlagEpochCountHack2021().
|
private |
pointer to the monitor object
Definition at line 100 of file CbmBmonUnpackConfig.h.
Referenced by GetMonitor(), InitAlgo(), and SetMonitor().
|
private |
Parameter file name.
Definition at line 97 of file CbmBmonUnpackConfig.h.
Referenced by LoadParFileName(), and SetParFileName().