/******************************************************************************** * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence version 3 (LGPL) version 3, * * copied verbatim in the file "LICENSE" * ********************************************************************************/ /** * runParameterMQServer.cxx * * @since 2013-04-23 * @author D. Klein, A. Rybalchenko */ #include "ParameterMQServer.h" #include "runFairMQDevice.h" namespace bpo = boost::program_options; void addCustomOptions(bpo::options_description& options) { options.add_options()("first-input-name", bpo::value<std::string>()->default_value("first_input.root"), "First input file name"); options.add_options()("first-input-type", bpo::value<std::string>()->default_value("ROOT"), "First input file type (ROOT/ASCII)"); options.add_options()("second-input-name", bpo::value<std::string>()->default_value(""), "Second input file name"); options.add_options()("second-input-type", bpo::value<std::string>()->default_value("ROOT"), "Second input file type (ROOT/ASCII)"); options.add_options()("libs-to-load", bpo::value<std::string>()->default_value(""), "List of libraries to load"); options.add_options()("output-name", bpo::value<std::string>()->default_value(""), "Output file name"); options.add_options()("output-type", bpo::value<std::string>()->default_value("ROOT"), "Output file type"); options.add_options()("channel-name", bpo::value<std::string>()->default_value("data"), "Output channel name"); options.add_options()("setup", bpo::value<std::string>()->default_value(""), "Name/tag of the geomatry setup"); } FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new ParameterMQServer(); }