Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GenericDetectorOptions.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file GenericDetectorOptions.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 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 
13 
14 #include <utility>
15 
16 #include <boost/program_options.hpp>
17 
18 namespace ActsExamples {
19 
20 namespace Options {
21 
22 namespace po = boost::program_options;
23 
29 template <typename options_t>
30 void addGenericGeometryOptions(options_t& opt) {
31  opt.add_options()("geo-generic-buildlevel",
32  po::value<size_t>()->default_value(3),
33  "The building level: 0 - pixel barrel only, 1 - pixel "
34  "detector only, 2 - full barrel only, 3 - full detector "
35  "(without stereo modules).");
36 }
37 } // namespace Options
38 } // namespace ActsExamples