Skip to content

Extract yzmap to shared IYZMap service, reducing 720 local maps to 2 …#466

Draft
HaiwangYu wants to merge 1 commit intoWireCell:masterfrom
HaiwangYu:yzmap-service
Draft

Extract yzmap to shared IYZMap service, reducing 720 local maps to 2 …#466
HaiwangYu wants to merge 1 commit intoWireCell:masterfrom
HaiwangYu:yzmap-service

Conversation

@HaiwangYu
Copy link
Copy Markdown
Member

…instances

Introduce IYZMap interface and YZMap implementation that loads the full 4-level JSON map (anode, plane, binz, biny) once. DepoSetFilterYZ and Scaler now hold an IYZMap::pointer and delegate all binning/clamping to the service via value(anode_name, plane, y, z). ICARUS Jsonnet configs define one shared YZMap per JSON file instead of per-instance parameters.

…instances

Introduce IYZMap interface and YZMap implementation that loads the full
4-level JSON map (anode, plane, binz, biny) once.  DepoSetFilterYZ and
Scaler now hold an IYZMap::pointer and delegate all binning/clamping to
the service via value(anode_name, plane, y, z).  ICARUS Jsonnet configs
define one shared YZMap per JSON file instead of per-instance parameters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant