CbmRoot
runStsHitProducerIdeal.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-events",
10  bpo::value<uint64_t>()->default_value(0),
11  "Maximum number of events to process (0 - infinite)")(
12  "vmcworkdir",
13  bpo::value<std::string>()->default_value("."),
14  "Directory where to find needed input data")(
15  "run-id",
16  bpo::value<std::string>()->default_value("0"),
17  "Rund ID which is needed to retrieve the proper parameters from Parameter "
18  "Manager");
19 }
20 
21 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) {
22  return new CbmDeviceStsHitProducerIdeal();
23 }
CbmDeviceStsHitProducerIdeal
Definition: CbmDeviceStsHitProducerIdeal.h:24
getDevice
FairMQDevicePtr getDevice(const FairMQProgOptions &)
Definition: runStsHitProducerIdeal.cxx:21
CbmDeviceStsHitProducerIdeal.h
addCustomOptions
void addCustomOptions(bpo::options_description &options)
Definition: runStsHitProducerIdeal.cxx:8