CbmRoot
runStsLocalReco.cxx
Go to the documentation of this file.
2 #include "runFairMQDevice.h"
3 
4 #include <iostream>
5 
6 namespace bpo = boost::program_options;
7 
8 void addCustomOptions(bpo::options_description& options) {
9  options.add_options()("max-timeslices",
10  bpo::value<uint64_t>()->default_value(0),
11  "Maximum number of timeslices to process for "
12  "Run/ConditionalRun/OnData (0 - infinite)")(
13  "vmcworkdir",
14  bpo::value<std::string>()->default_value("."),
15  "Directory where to find needed input data")(
16  "run-id",
17  bpo::value<std::string>()->default_value("0"),
18  "Rund ID which is needed to retrieve the proper parameters from Parameter "
19  "Manager");
20 }
21 
22 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) {
23  return new CbmDeviceStsLocalReco();
24 }
CbmDeviceStsLocalReco.h
CbmDeviceStsLocalReco
Definition: CbmDeviceMinimal.h:16
addCustomOptions
void addCustomOptions(bpo::options_description &options)
Definition: runStsLocalReco.cxx:8
getDevice
FairMQDevicePtr getDevice(const FairMQProgOptions &)
Definition: runStsLocalReco.cxx:22