#include "runFairMQDevice.h" #include "CbmDeviceMcbmUnpack.h" #include #include namespace bpo = boost::program_options; using namespace std; void addCustomOptions(bpo::options_description& options) { options.add_options() ("IgnOverMs", bpo::value< bool >()->default_value( true ), "Ignore overlap MS if true"); options.add_options() ( "SetTimeOffs", bpo::value< std::vector< std::string > >()->multitoken()->composing(), "Set time offset in ns for selected detector, use string matching ECbmModuleId,dOffs e.g. kTof,-35.2"); options.add_options() ( "TsNameIn", bpo::value< std::string >()->default_value( "fullts" ), "MQ channel name for raw TS data"); options.add_options() ( "TsNameOut", bpo::value< std::string >()->default_value( "unpts_0" ), "MQ channel name for unpacked TS data"); } FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmDeviceMcbmUnpack(); }