Skip to content

Add IceTop support to I3TruthExtractor#875

Open
RajwolChapagain wants to merge 2 commits intographnet-team:mainfrom
RajwolChapagain:feature/icetop-truth-extractor
Open

Add IceTop support to I3TruthExtractor#875
RajwolChapagain wants to merge 2 commits intographnet-team:mainfrom
RajwolChapagain:feature/icetop-truth-extractor

Conversation

@RajwolChapagain
Copy link
Copy Markdown

Adds an ice_top boolean toggle to I3TruthExtractor that enables correct extraction of truth-level information from IceTop frames. Closes #874 .

Changes
Added ice_top parameter to I3TruthExtractor.init
Updated allowed sub-event streams to include ice_top when ice_top=True
Skips _extract_dbang_decay_length and _get_primary_track_energy_and_inelasticity for IceTop frames
Updated _get_primary_particle_interaction_type_and_elasticity to explicitly use "MCPrimary" for IceTop frames
Updated _find_data_type to correctly identify IceTop MC as "corsika"
Updated frame_is_montecarlo and frame_is_noise to use IceTop-specific frame keys when ice_top=True

Testing
Verified that existing in-ice behavior is fully preserved when ice_top=False (default)
Verified that IceTop frames are correctly identified as "corsika" MC and return non-padding truth values when ice_top=True as shown in the screenshot:
image

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 IceTop support to I3TruthExtractor

1 participant