#include "runFairMQDevice.h" #include "CbmDeviceUnpackTofMcbm2018.h" #include #include namespace bpo = boost::program_options; using namespace std; void addCustomOptions(bpo::options_description& options) { options.add_options() ("ReqMode", bpo::value()->default_value(0), "Time intervall selector"); options.add_options() ("ReqTint", bpo::value()->default_value(100), "Time intervall length in ns"); options.add_options() ("PulserMode", bpo::value()->default_value(0),"Choose pulser configuration"); options.add_options() ("PulMulMin", bpo::value()->default_value(0), "Min number of pulsed detectors"); options.add_options() ("PulTotMin", bpo::value()->default_value(0), "Min pulser TimeOverThreshold"); options.add_options() ("TShiftRef", bpo::value()->default_value(0.), "Time shift of reference counter to match digis"); options.add_options() ("MaxAsicInactive", bpo::value()->default_value(0), "Max number of disabled ASICs"); int iNDet=36; for (int i=0; i()->default_value(0),Form("ReqDet%d",i)); } FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmDeviceUnpackTofMcbm2018(); }