Skip to content

Updates for Real Data Views(CRV.Trk.Cal)#254

Merged
sophiemiddleton merged 7 commits into
Mu2e:mainfrom
sophiemiddleton:fix
Apr 21, 2026
Merged

Updates for Real Data Views(CRV.Trk.Cal)#254
sophiemiddleton merged 7 commits into
Mu2e:mainfrom
sophiemiddleton:fix

Conversation

@sophiemiddleton

Copy link
Copy Markdown
Collaborator

This pull request introduces several enhancements and refactorings to the event display configuration and visualization logic, with a focus on improved geometry handling and more intuitive color mapping for calorimeter and CRV data. The most important changes are summarized below.

Geometry Handling and Configuration

  • Added a geometry parameter to various FCL example files (extracted_MDC2020.fcl, extracted_MDC2025.fcl, nominal_MDC2020.fcl, nominal_MDC2025.fcl) to clearly distinguish between geometry types in the event display. [1] [2] [3] [4]
  • Refactored and clarified fcl/extracted.fcl to provide more explicit geometry options and improved documentation, and removed unnecessary includes and parameters.

EventDisplayManager API and Geometry Support

  • Updated EventDisplayManager.hh to add geometry-aware methods and members, including:
    • A constructor parameter for geometry type.
    • Methods to set/get geometry and map geometry types to TextSelect element IDs.
    • Internal storage of the current geometry and a static mapping to element IDs. [1] [2] [3] [4]

Visualization and Color Mapping Improvements

  • In DataInterface.cc, changed calorimeter digi visualization to color by maximum amplitude (ADC/energy) using a custom orange color scale, instead of coloring by time. Added detailed event labels and debug output. [1] [2] [3] [4] [5]
  • Updated CRV pulse visualization to color by pulse time window (rather than pulse height), with improved logging and time range calculation.

Minor Improvements and Bugfixes

  • Enabled addCrvRecoPulse in fcl/nominal.fcl for more complete CRV information in the nominal geometry.

These changes collectively improve geometry configuration, make the event display more intuitive, and provide more relevant visual cues for users.

@sophiemiddleton sophiemiddleton changed the title updates for viewing data Updates for Real Data Views(CRV.Trk.Cal) Apr 21, 2026
@sophiemiddleton sophiemiddleton merged commit 91d807f into Mu2e:main Apr 21, 2026
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.

2 participants