-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// This file is part of the Acts project. | ||
// | ||
// Copyright (C) 2024 CERN for the benefit of the Acts project | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#pragma once | ||
|
||
#include <cstddef> | ||
|
||
namespace Acts { | ||
|
||
struct NavigatorStatistics { | ||
std::size_t nRenavigations = 0; | ||
|
||
std::size_t nVolumeSwitches = 0; | ||
|
||
std::size_t nBoundaryCandidates = 0; | ||
std::size_t nBoundaryHits = 0; | ||
std::size_t nBoundaryDiscards = 0; | ||
|
||
std::size_t nLayerCandidates = 0; | ||
std::size_t nLayerHits = 0; | ||
std::size_t nLayerDiscards = 0; | ||
|
||
std::size_t nSurfaceCandidates = 0; | ||
std::size_t nSurfaceHits = 0; | ||
std::size_t nSurfaceDiscards = 0; | ||
|
||
std::size_t nTotalCandidates = 0; | ||
std::size_t nTotalHits = 0; | ||
std::size_t nTotalDiscards = 0; | ||
}; | ||
|
||
} // namespace Acts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// This file is part of the Acts project. | ||
// | ||
// Copyright (C) 2024 CERN for the benefit of the Acts project | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#pragma once | ||
|
||
#include <Acts/Propagator/NavigatorStatistics.hpp> | ||
#include <Acts/Propagator/StepperStatistics.hpp> | ||
|
||
namespace Acts { | ||
|
||
struct PropagatorStatistics { | ||
StepperStatistics stepping; | ||
NavigatorStatistics navigation; | ||
}; | ||
|
||
} // namespace Acts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// This file is part of the Acts project. | ||
// | ||
// Copyright (C) 2024 CERN for the benefit of the Acts project | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#pragma once | ||
|
||
#include <cstddef> | ||
|
||
namespace Acts { | ||
|
||
struct StepperStatistics { | ||
std::size_t nAttemptedSteps = 0; | ||
std::size_t nFailedSteps = 0; | ||
std::size_t nSuccessfulSteps = 0; | ||
|
||
double pathLength = 0; | ||
double absolutePathLength = 0; | ||
}; | ||
|
||
} // namespace Acts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters