CbmRoot
Loading...
Searching...
No Matches
runStsHitProducerIdeal.cxx
Go to the documentation of this file.
1/* Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
6
7#include <iostream>
8
9#include "runFairMQDevice.h"
10
11namespace bpo = boost::program_options;
12
13void addCustomOptions(bpo::options_description& options)
14{
15 options.add_options()("max-events", bpo::value<uint64_t>()->default_value(0),
16 "Maximum number of events to process (0 - infinite)")(
17 "vmcworkdir", bpo::value<std::string>()->default_value("."), "Directory where to find needed input data")(
18 "run-id", bpo::value<std::string>()->default_value("0"),
19 "Rund ID which is needed to retrieve the proper parameters from Parameter "
20 "Manager");
21}
22
23FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmDeviceStsHitProducerIdeal(); }
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)