ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
master
CI
Core
doc
Examples
Algorithms
DD4hepG4
Digitization
Fatras
include
src
Fitting
Geant4
Generators
GeneratorsPythia8
MaterialMapping
Printers
Propagation
TruthTracking
Vertexing
Detectors
Framework
Io
Run
Scripts
Fatras
Plugins
Tests
thirdparty
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
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
9
#include "
ACTFW/Fatras/FatrasOptions.hpp
"
10
11
#include <string>
12
13
void
FW::Options::addFatrasOptions
(
FW::Options::Description
&
desc
) {
14
using
boost::program_options::bool_switch;
15
using
boost::program_options::value
;
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"
,
27
value<std::string>
()
28
->value_name(
"none|sensitive|material|all"
)
29
->default_value(
"sensitive"
),
30
"Which surfaces should record charged particle hits"
);
31
}
acts
blob
master
Examples
Algorithms
Fatras
src
FatrasOptions.cpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:23
using
1.8.2 with
ECCE GitHub integration