FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
runEx2Sampler.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 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 /*
9  * File: runSamplerRoot.cxx
10  * Author: winckler
11  *
12  * Created on January 15, 2015, 1:57 PM
13  */
14 
15 #include "Ex2Sampler.h"
16 #include "runFairMQDevice.h"
17 
18 namespace bpo = boost::program_options;
19 
20 void addCustomOptions(bpo::options_description& options)
21 {
22  // clang-format off
23  options.add_options()
24  ("input-file", bpo::value<std::string>(), "Path to the input file");
25  // clang-format on
26 }
27 
28 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new Ex2Sampler(); }
void addCustomOptions(bpo::options_description &options)
FairMQDevicePtr getDevice(const FairMQProgOptions &config)