CbmRoot
Loading...
Searching...
No Matches
runStsLocalReco.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-timeslices", bpo::value<uint64_t>()->default_value(0),
16 "Maximum number of timeslices to process for "
17 "Run/ConditionalRun/OnData (0 - infinite)")(
18 "vmcworkdir", bpo::value<std::string>()->default_value("."), "Directory where to find needed input data")(
19 "run-id", bpo::value<std::string>()->default_value("0"),
20 "Rund ID which is needed to retrieve the proper parameters from Parameter "
21 "Manager");
22}
23
24FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmDeviceStsLocalReco(); }
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)