ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EmptyDetectorOptions.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EmptyDetectorOptions.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 
11 #include <boost/program_options.hpp>
12 #include <utility>
13 
14 #include "Acts/Utilities/Units.hpp"
15 
16 namespace FW {
17 
18 namespace Options {
19 
20 using namespace Acts::UnitLiterals;
21 namespace po = boost::program_options;
22 
28 template <typename options_t>
29 void addEmptyGeometryOptions(options_t& opt) {
30  opt.add_options()("geo-empty-radius", po::value<double>()->default_value(2_m),
31  "Radius of the empty cylinder [in m]. ")(
32  "geo-empty-halfLength", po::value<double>()->default_value(10_m),
33  "Half length of the empty cylinder [in m].");
34 }
35 } // namespace Options
36 } // namespace FW