-
- In sim/steer, add CbmSetupStorable class in CbmSetup to convert back and forth from memory Instance to streamable object - Add support for CbmSetup in MQ parameter server device, with CbmSetupStorable output upon request - Change CbmSetup usage in MQ Unpack device from Disk access to parameter server request - Add printout of the received tag in MQ unpack for each detector system
- In sim/steer, add CbmSetupStorable class in CbmSetup to convert back and forth from memory Instance to streamable object - Add support for CbmSetup in MQ parameter server device, with CbmSetupStorable output upon request - Change CbmSetup usage in MQ Unpack device from Disk access to parameter server request - Add printout of the received tag in MQ unpack for each detector system
runParameterMQServer.cxx 2.04 KiB
/********************************************************************************
* 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(); }