CbmRoot
Loading...
Searching...
No Matches
runMCPointSource.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
5#include "CbmMCPointSource.h"
6
7#include "runFairMQDevice.h"
8
9namespace bpo = boost::program_options;
10
11void addCustomOptions(bpo::options_description& options)
12{
13 options.add_options()("filename", bpo::value<std::string>()->default_value(""), "Filename of the input file")(
14 "max-events", bpo::value<uint64_t>()->default_value(0),
15 "Maximum number of timeslices to process for Run/ConditionalRun/OnData (0 "
16 "- infinite)");
17}
18
19FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmMCPointSource(); }
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)