EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CommonOptions.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CommonOptions.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017-2019 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
14 
15 #include <string>
16 
17 #include <boost/program_options.hpp>
18 
19 namespace ActsExamples {
20 namespace Options {
21 
25 boost::program_options::options_description makeDefaultOptions(
26  std::string caption = std::string());
27 
29 void addSequencerOptions(boost::program_options::options_description& opt);
30 
32 void addRandomNumbersOptions(boost::program_options::options_description& opt);
33 
35 void addGeometryOptions(boost::program_options::options_description& opt);
36 
38 void addMaterialOptions(boost::program_options::options_description& opt);
39 
41 void addInputOptions(boost::program_options::options_description& opt);
42 
44 void addOutputOptions(boost::program_options::options_description& opt);
45 
51 boost::program_options::variables_map parse(
52  const boost::program_options::options_description& opt, int argc,
53  char* argv[]);
54 
57  const boost::program_options::variables_map& vm);
58 
61  const boost::program_options::variables_map& vm);
62 
63 // Read the random numbers config.
65  const boost::program_options::variables_map& vm);
66 
67 } // namespace Options
68 } // namespace ActsExamples