Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use real run numbers for geometry #346

Closed
wants to merge 31 commits into from

Conversation

baltzell
Copy link
Collaborator

@baltzell baltzell commented Oct 18, 2024

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.

Closes #59

@baltzell baltzell force-pushed the iss59-detChangedHook-redux branch from 51184f4 to c4db3b1 Compare October 18, 2024 20:03
@baltzell
Copy link
Collaborator Author

Test failing on EC photon efficiency for run 11. Cole says it's due to remaining CCDB changes needed (triggered by the removal of "isMC" run number check), which was anticipated. Retrigger CI after fixing CCDB.

@baltzell baltzell marked this pull request as ready for review November 8, 2024 19:10
@baltzell baltzell force-pushed the iss59-detChangedHook-redux branch from f0a05e8 to fdb9e47 Compare January 3, 2025 16:47
@baltzell
Copy link
Collaborator Author

baltzell commented Jan 3, 2025

test files regenerated with latest gemc/dev, still no reconstructed photons ...

@baltzell baltzell marked this pull request as draft January 3, 2025 20:34
@baltzell
Copy link
Collaborator Author

baltzell commented Jan 3, 2025

From the CI logs for the electrongamma test:
Screenshot 2025-01-03 at 16 23 52

So, 88% of photons are getting misidentified as neutrons. (The test threshold is so far 84% photon efficiency).

@baltzell
Copy link
Collaborator Author

baltzell commented Jan 3, 2025

And the electronneutron test:
Screenshot 2025-01-03 at 16 27 07

This is more of a distraction, due to different requirements in the efficiency calculations for the matrix and the actual test failure, and upon closer look probably has the same cause as the photon failure (timing).

@baltzell baltzell force-pushed the iss59-detChangedHook-redux branch from 1ca3a76 to b6c5fee Compare January 8, 2025 18:06
@baltzell baltzell marked this pull request as ready for review January 9, 2025 00:15
@baltzell
Copy link
Collaborator Author

baltzell commented Jan 9, 2025

github appears broken, closing to reopen

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.

Need/want a geometry manager
1 participant