EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FatrasOptions.cpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FatrasOptions.cpp
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 
10 
11 #include <string>
12 
15  using boost::program_options::bool_switch;
17 
18  auto opt = desc.add_options();
19  opt("fatras-pmin-gev", value<double>()->default_value(0.5),
20  "Minimum momentum for simulated particles in GeV");
21  opt("fatras-em-scattering", value<bool>()->default_value(true),
22  "Simulate multiple scattering of charged particles");
23  opt("fatras-em-ionisation", value<bool>()->default_value(true),
24  "Simulate ionisiation/excitation energy loss of charged particles");
25  opt("fatras-em-radiation", value<bool>()->default_value(true),
26  "Simulate radiative energy loss of charged particles");
27  opt("fatras-hits",
28  value<std::string>()
29  ->value_name("none|sensitive|material|all")
30  ->default_value("sensitive"),
31  "Which surfaces should record charged particle hits");
32 }