ECCE @ 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 
14  using boost::program_options::bool_switch;
16 
17  auto opt = desc.add_options();
18  opt("fatras-pmin-gev", value<double>()->default_value(0.5),
19  "Minimum momentum for simulated particles in GeV");
20  opt("fatras-em-scattering", value<bool>()->default_value(true),
21  "Simulate multiple scattering of charged particles");
22  opt("fatras-em-ionisation", value<bool>()->default_value(true),
23  "Simulate ionisiation/excitation energy loss of charged particles");
24  opt("fatras-em-radiation", value<bool>()->default_value(true),
25  "Simulate radiative energy loss of charged particles");
26  opt("fatras-hits",
28  ->value_name("none|sensitive|material|all")
29  ->default_value("sensitive"),
30  "Which surfaces should record charged particle hits");
31 }