Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:59

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 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 https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include <cstddef>
0012 
0013 namespace Acts {
0014 
0015 /// @struct StepperStatistics
0016 ///
0017 /// @brief A struct to hold statistics of the stepper
0018 struct StepperStatistics {
0019   /// Number of attempted steps
0020   std::size_t nAttemptedSteps = 0;
0021   /// Number of rejected steps
0022   std::size_t nRejectedSteps = 0;
0023   /// Number of successful steps
0024   std::size_t nSuccessfulSteps = 0;
0025   /// Number of steps that were reversed
0026   std::size_t nReverseSteps = 0;
0027 
0028   /// Signed sum of the step lengths
0029   double pathLength = 0;
0030   /// Unsigned sum of the step lengths
0031   double absolutePathLength = 0;
0032 };
0033 
0034 }  // namespace Acts