Far-field signal calculation#312
Open
jaafar-chakrani wants to merge 4 commits intofeature/mesh-refinement-basefrom
Open
Far-field signal calculation#312jaafar-chakrani wants to merge 4 commits intofeature/mesh-refinement-basefrom
jaafar-chakrani wants to merge 4 commits intofeature/mesh-refinement-basefrom
Conversation
… across the boundaries
- Rename COARSE_VOXEL_SIZE_T to COARSE_VOXEL_SIZE_Z for clarity (voxels in Z-drift direction, not time) - Set voxel sizes to 0.5 cm (refined from 5 cm) for better spatial resolution - Adjust mesh parameters: CHARGE_NEIGHBOR_RADIUS (3→2), INDUCTION_SIGNAL_THRESHOLD (2000→1000), INDUCED_CURRENT_SCALE (0.1→0.03) - Update voxelization.py to use COARSE_VOXEL_SIZE_Z instead of computing from time
- Integrate far-field signal calculation into charge readout pipeline - Process far-field contribution per TPC per pixel batch - Handle both mixed (near + far-field) and induction-only pixels - Calculate dipole signals from voxelized charge distributions - Apply induced current normalization and time sampling The far-field contribution is added after near-field signal calculation and before ADC digitization, enabling complete charge response simulation for detector characterization and signal processing studies.
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.
Overview
This PR introduces far-field dipole signal simulation into the charge readout pipeline, enabling complete electromagnetic response calculation for detector characterization. Far-field signals from voxelized ionization charge are now computed and added to the pixel response alongside near-field contributions.
Details
Architecture
The far-field simulation is integrated into the pixel batch processing loop as follows:
Key Components
1. Voxelization (Per-Event-Batch)
2. Pixel Classification
3. Far-Field Signal Calculation
Mixed Pixels (Near + Far-field):
Induction-Only Pixels (Far-field only):
4. Time Sampling & Digitization
Validation
See presentation here.