Skip to content
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

Simplification of the 2D-strip re-segmentation of MPGDs #1702

Open
ybedfer opened this issue Jan 11, 2025 · 0 comments
Open

Simplification of the 2D-strip re-segmentation of MPGDs #1702

ybedfer opened this issue Jan 11, 2025 · 0 comments

Comments

@ybedfer
Copy link
Contributor

ybedfer commented Jan 11, 2025

https://github.com/eic/EICrecon/blob/2D-strip-MPGDs/src/algorithms/digi/MPGDTrackerDigi.cc
(Note: the link supra points to the 2D-strip-MPGDs branch, before it's merged into main.)

The file implements a 2D-strip segmentation for MPGDs. It's a re-segmentation, overwriting what's done at simulation, as opposed to reconstruction, time and stored into the SimTrackerHit input to the reconstruction. 2D-strip means here a readout with a simultaneous registering of a unique ionization process along two distinct strip coordinates. The whole thing is achieved software-wise thanks to a 3-valued MultiSegmentation: 1 = pixel cellID (or pixelID) at simulation time, (2,3) = two strip cellIDs (or stripIDs) determined at reconstruction time by MPGDTrackerDigi.cc.

Describe the solution you'd like

  • The determination of the two stripIDs is done by re-executing the segmentation process based on the Cartesian coordinates of the input SimTrackerHit via the dd4hep::Segmentation::cellID method.
  • It turns out that the pixelID is the concatenation of the two stripIDs. In hexadecimal representation:
    pixelID = (hex1|hex2) , stripID1 = (hex1|0) , stripID2 = (0,hex2) .
    This, provided that the IDDescriptors of pixel and strips match.
  • Therefore, we could simplify out dd4hep::Segmentation::cellID and simply split the input pixelID into two.
    The association RawTrackerHit -> SimTrackerHit could also be made simpler.

Additional context

  • Keeping MPGDTrackerDigi.cc as is offers still some advantage: one can reconstruct successively a same input data set with different 2D-strip readouts, which can be useful in the debugging stage.
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

No branches or pull requests

1 participant