Conversation
|
☀️ The build tests passed at 69b52bd.
N.B. These results were obtained from a build of this Pull Request at 69b52bd after being merged into the base branch at b188c42. For more information, please check the job page here. |
|
I'll review this pull request by examining its details and changes.Now let me look at the full files to understand the broader context:Now let me also check if there are any other callers of the removed Review of PR #1770 — "remove run and subrun accessors"SummaryThis PR makes two changes across 2 files (+2 lines, -7 lines):
Issues and Observations1.
|
|
I don't think any changes need to be made based on the copilot review |
The database conditions and proditions access are lazy-loaded for efficiency. Accessing it in beginRun risks caching a result which has subrun dependence. Accessing it in beginSubrun risks unnecessary loads for skimmed files with begin subruns with no associated events. The solution was to access in event methods only - if there is no change in conditions, there is just an iov check and return. This PR realizes the long-standing goal of emphasizing this by the interface. As you can see in the module, this rule can be defeated, which is OK enough for a debugging print. I surveyed Offline and I don't think this happens anywhere else.