Skip to content

Conversation

baltzell
Copy link
Collaborator

@baltzell baltzell commented Oct 1, 2025

To support using real run numbers for simulation.

Includes DC2 support. Otherwise the same as #422

Same as #346. Closes #59.

Added abstract method detectorChanged(int run) to ReconstructionEngine, which is called automatically when the run number changes.

Moved every engine's geometry initialization from init or elsewhere to detectorChanged.

Changed the name of ReconstructionEngine's abstract event-processing method from processDataEvent to procesDataEventUser, and filterEvent to processDataEvent, such that all external uses of processDataEvent still do the right thing.

And removed EC's run number check per Cole.

@baltzell baltzell added this to the Real Run Number Simulations milestone Oct 1, 2025
@baltzell baltzell changed the title Add detector/run-number changed hook Add detector/run-number changed hook and use it everywhere Oct 2, 2025
@baltzell baltzell changed the title Add detector/run-number changed hook and use it everywhere Add detector/run-number changed hook Oct 2, 2025
@baltzell baltzell force-pushed the detector-changed-hook branch from ab928e3 to 468a286 Compare October 2, 2025 22:01
@baltzell baltzell marked this pull request as ready for review October 2, 2025 22:01
@baltzell baltzell force-pushed the detector-changed-hook branch from 468a286 to 5df7388 Compare October 2, 2025 23:01
@baltzell baltzell changed the title Add detector/run-number changed hook feat: add detector/run-number changed hook Oct 8, 2025
@baltzell baltzell force-pushed the detector-changed-hook branch from 5df7388 to 5066f0c Compare October 15, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need/want a geometry manager

2 participants