Repository navigation
enable ATLAS stepping action on GPU #757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SeverinDiederichs
merged 1 commit into
apt-sim:master
from
SeverinDiederichs:atlas_device_kill_regions
Nov 30, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,20 @@ | ||
| // SPDX-FileCopyrightText: 2026 CERN | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| #pragma once | ||
|
|
||
| #include <AdePT/transport/config/ATLASSteppingActionParams.hh> | ||
|
|
||
| #include <string> | ||
| #include <vector> | ||
|
|
||
| /// @brief Configuration of the ATLAS stepping action (ADEPT_STEPPINGACTION=ATLAS), set by Athena. | ||
| /// @details Athena kills particles without an energy deposit in some regions with kill-only fast simulation models. | ||
| /// The ATLAS stepping action implements these models on the GPU, so that their regions can be transported on the GPU. | ||
| /// This configuration must mirror the Athena configuration of the models. The regions must exist in the geometry. | ||
| struct ATLASSteppingActionConfig { | ||
| ATLASSteppingActionParams params; ///< cuts copied to the GPU | ||
| std::vector<std::string> deadRegions; ///< all tracks are killed in these regions (SimpleFastKiller) | ||
| /// The DeadMaterialShower kill of ATLASSteppingActionParams applies in these regions | ||
| std::vector<std::string> deadMaterialShowerRegions; | ||
| }; |
This file contains hidden or 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 hidden or 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
18 changes: 18 additions & 0 deletions
18
include/AdePT/transport/config/ATLASSteppingActionParams.hh
This file contains hidden or 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,18 @@ | ||
| // SPDX-FileCopyrightText: 2026 CERN | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| #pragma once | ||
|
|
||
| #include <AdePT/transport/support/SystemOfUnits.h> | ||
|
|
||
| /// @brief Cuts of the ATLAS stepping action (ADEPT_STEPPINGACTION=ATLAS), copied to the GPU. | ||
| /// @details They mirror Athena's DeadMaterialShower fast simulation model (Athena property names in brackets) and are | ||
| /// set by Athena through AdePTConfiguration::SetATLASSteppingActionConfig. The defaults are the Athena defaults. | ||
| struct ATLASSteppingActionParams { | ||
| /// In the DeadMaterialShower regions, e+- and gammas up to deadMaterialShowerHighEnergy are killed at |z| >= this | ||
| /// [ZCutoff] | ||
| double deadMaterialShowerZCutoff{5698. * copcore::units::mm}; | ||
| double deadMaterialShowerHighEnergy{1000. * copcore::units::GeV}; ///< [HighEnergy] | ||
| /// In the DeadMaterialShower regions, e+- below this energy are killed at |z| < deadMaterialShowerZCutoff [LowEnergy] | ||
| double deadMaterialShowerLowEnergy{0.}; | ||
| }; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.