Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-06-05 08:29:36

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2024 CERN for the benefit of the Acts project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include <limits>
0012 
0013 namespace Acts {
0014 
0015 struct StepperPlainOptions {
0016   /// Tolerance for the error of the integration
0017   double stepTolerance = 1e-4;
0018 
0019   /// Cut-off value for the step size
0020   double stepSizeCutOff = 0.;
0021 
0022   /// Absolute maximum step size
0023   double maxStepSize = std::numeric_limits<double>::max();
0024 
0025   /// Maximum number of Runge-Kutta steps for the stepper step call
0026   unsigned int maxRungeKuttaStepTrials = 10000;
0027 
0028   struct Dense {
0029     /// Toggle between mean and mode evaluation of energy loss
0030     bool meanEnergyLoss = true;
0031 
0032     /// Boolean flag for inclusion of d(dEds)d(q/p) into energy loss
0033     bool includeGradient = true;
0034 
0035     /// Cut-off value for the momentum in SI units
0036     double momentumCutOff = 0.;
0037   } dense;
0038 };
0039 
0040 }  // namespace Acts