CbmRoot
Loading...
Searching...
No Matches
runParameterMQServer.cxx
Go to the documentation of this file.
1/********************************************************************************
2 * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3 * *
4 * This software is distributed under the terms of the *
5 * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6 * copied verbatim in the file "LICENSE" *
7 ********************************************************************************/
15#include "ParameterMQServer.h"
16#include "runFairMQDevice.h"
17
18namespace bpo = boost::program_options;
19
20void addCustomOptions(bpo::options_description& options)
21{
22 options.add_options()("first-input-name", bpo::value<std::string>()->default_value("first_input.root"),
23 "First input file name");
24 options.add_options()("first-input-type", bpo::value<std::string>()->default_value("ROOT"),
25 "First input file type (ROOT/ASCII)");
26
27 options.add_options()("second-input-name", bpo::value<std::string>()->default_value(""), "Second input file name");
28 options.add_options()("second-input-type", bpo::value<std::string>()->default_value("ROOT"),
29 "Second input file type (ROOT/ASCII)");
30
31 options.add_options()("libs-to-load", bpo::value<std::string>()->default_value(""), "List of libraries to load");
32
33 options.add_options()("output-name", bpo::value<std::string>()->default_value(""), "Output file name");
34 options.add_options()("output-type", bpo::value<std::string>()->default_value("ROOT"), "Output file type");
35
36 options.add_options()("channel-name", bpo::value<std::string>()->default_value("data"), "Output channel name");
37
38 options.add_options()("setup", bpo::value<std::string>()->default_value(""), "Name/tag of the geomatry setup");
39}
40
41FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new ParameterMQServer(); }
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)