Track extrapolation to ECAL calorimeter surface#64
Open
madbaron wants to merge 17 commits into
Open
Conversation
Fixes the pre-commit clang-format CI failure on PR #64. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The earlier clang-format pass used a newer clang-format that realigned the pre-existing m_initialTrackError_* continuation lines; CI's version disagrees. Restore the original alignment. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
acts tightened the OnLayerReturnsNode concept in BlueprintBuilder.hpp to require the callback result to be exactly std::shared_ptr<BlueprintNode> (std::same_as), so unsetXYCoG returning the derived std::shared_ptr<LayerBlueprintNode> no longer satisfies it and ElementLayerAssembler::onLayer fails to resolve. Return the base BlueprintNodePtr instead; `return layer;` upcasts implicitly. This satisfies the current concept and remains valid if acts-project/acts#5563 (which relaxes same_as -> convertible_to) is merged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…Tracking into calosurface-extrapolation
Member
Author
paulgessinger
left a comment
Collaborator
There was a problem hiding this comment.
I'm not completely sure I understand the different between the ACTSSeededCKFTrackingAlg and the CKFTrackingAlg.
Otherwise, this is a way to do it. Pre-resolving the candidates by straight line intersect can sometimes fail. Another way (although I haven't tested this yet), would be to include the calo target surfaces as external surfaces in a regular navigation which includes the geometry. You could then attach a custom actor that terminates as soon as one of the surfaces in question is hit. That way, you wouldn't have to pre-resolve the candidates at all, and it would cleanly integrate the material handling, if needed.
Member
Author
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.










BEGINRELEASENOTES
ENDRELEASENOTES
PR aimed at #55.
This PR will make the ACTS tracks directly consumable by the Pandora algorithms (the state at calo is required to do track-to-cluster matching)
The extrapolation to the calorimeter face is currently done with the VoidNavigator outside of the tracking volume. For detector concepts with significant material between the tracking systems and the calorimeters, this simplification will have a non-negligible effect.
I'd plan to change this in a follow-up PR once material handling is introduced throughout the package.