Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackFittingOptions.cpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackFittingOptions.cpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2020 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 
12 
13 using namespace boost::program_options;
14 
16  boost::program_options::options_description& opt) {
17  opt.add_options()("fit-directed-navigation", bool_switch(),
18  "Fit tracks with DirectNavigator");
19  opt.add_options()("fit-multiple-scattering-correction",
20  value<bool>()->default_value(true),
21  "Correct for multiple scattering effects.");
22  opt.add_options()("fit-energy-loss-correction",
23  value<bool>()->default_value(true),
24  "Correct for energyloss effects.");
25  opt.add_options()(
26  "fit-ftob-nonlinear-correction", value<bool>()->default_value(false),
27  "Correct for non-linear effects during free to bound transformation.");
28  opt.add_options()("fit-pick-track", value<int>()->default_value(-1),
29  "Pick a single track by track number (-1 for all tracks)");
30  opt.add_options()(
31  "fit-initial-variance-inflation",
32  value<Reals<6>>()->default_value({{1., 1., 1., 1., 1., 1.}}),
33  "Inflation factor for the initial covariance for the Kalman filter, 6 "
34  "values are required in the form of i:j:k:l:m:n.");
35 }