10 #include "runFairMQDevice.h" 
   19 namespace bpo = boost::program_options;
 
   25         (
"task-name",   bpo::value<std::string>()->required(),                
"Name of task to run")
 
   26         (
"keep-data",   bpo::value<std::string>(),                            
"Name of data to keep in stream")
 
   27         (
"in-channel",  bpo::value<std::string>()->default_value(
"data-in"),  
"input channel name")
 
   28         (
"out-channel", bpo::value<std::string>()->default_value(
"data-out"), 
"output channel name")
 
   29         (
"par-channel", bpo::value<std::string>()->default_value(
"param"),    
"param channel name")
 
   30         (
"static-pars", bpo::value<bool>()->default_value(
false),             
"static parameters flag");
 
   34 FairMQDevicePtr 
getDevice(
const FairMQProgOptions& config)
 
   36     std::string taskname = config.GetValue<std::string>(
"task-name");
 
   38     LOG(info) << 
"get device with setting!";
 
   40     if (taskname == 
"PixelFindHits") {
 
   44     LOG(info) << 
"TASK \"" << taskname << 
"\" UNKNOWN!!!";
 
void addCustomOptions(bpo::options_description &options)
FairMQPixelTaskProcessor< PixelFindHits > HitFinder
FairMQDevicePtr getDevice(const FairMQProgOptions &config)