Skip to content

Conversation

bloodyyugo
Copy link
Contributor

Closes #1147

Add hole on track--defined as the layer where the track is projected to go through the sensitive area of a sensor but no hit is included in the track.

This is included in the Track object's _subdetId (see here Track). We already use this to account for the layer numbers with hits on track, setting _subdetId[layer]=1 for a hit on track. For a hole, I've set _subdetId[layer]=-1.

@bloodyyugo bloodyyugo self-assigned this Sep 23, 2025
Copy link
Collaborator

@mgignac mgignac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

Only comment: I'm not sure if it's the GitHub viewer, but it I'd be nice to intend your code after the definition of a method. Would be a lot easier to read.

@bloodyyugo
Copy link
Contributor Author

That is weird, because in emacs these are indented correctly.

Looks good to me, thanks!

Only comment: I'm not sure if it's the GitHub viewer, but it I'd be nice to intend your code after the definition of a method. Would be a lot easier to read.

@mholtrop
Copy link
Collaborator

That is weird, because in emacs these are indented correctly.

Looks good to me, thanks!
Only comment: I'm not sure if it's the GitHub viewer, but it I'd be nice to intend your code after the definition of a method. Would be a lot easier to read.

Maybe run "untabify" in Emacs to turn tabs to spaces?

@bloodyyugo
Copy link
Contributor Author

That was it, thanks!

That is weird, because in emacs these are indented correctly.

Looks good to me, thanks!
Only comment: I'm not sure if it's the GitHub viewer, but it I'd be nice to intend your code after the definition of a method. Would be a lot easier to read.

Maybe run "untabify" in Emacs to turn tabs to spaces?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add track holes to TrackData
3 participants