fix to ZdcNtuple adding bunch group information, plus a fix to ZdcAnalysis
ZdcNtuple now has the bunch group bit mask (thanks to @tamartin). I also discovered that the new "global ZDC sum" with side=0 was breaking several things in the xAOD and ntuples - now fixed (by skipping side=0).
I would appreciate some expert opinion on ZdcNtuple.h -- it is evolved from some analysis code and so does direct read calls to StoreGate (a la AnalysisBase). If I need to migrate everything to handles, I will have to do that immediately, but I am curious if the limited use case (just in the ZDC Tier0 calibration loop) does not require that after all.
Merge request reports
Activity
CI Result SUCCESS (hash 4c958cdf)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 77329]added urgent label
Hi
For the ZDCNtuple bit
I would imagine this is an algorithm that runs over a fixed input (like AOD) and not in any context (like during a reconstruction job) relying on the scheduler ?
At large it is nicer to use the AsgDataHandles. Most "Physics Algorithms" do. Random example https://acode-browser1.usatlas.bnl.gov/lxr/source/athena/PhysicsAnalysis/Algorithms/JetAnalysisAlgorithms/JetAnalysisAlgorithms/JetTruthTagAlg.h
But if you must urgently do this depends on how exactly is supposed to run.
If it runs on its own aka there are not algs either as "producers" of input (just read file ) or as consumers of output (just write Ntuples) then it would not matter in practice.
If it runs in any MT context and anything needs to be scheduled before or after then you need to move to handles.
But by the name would assume it does not run in such a context.
Edited by Christos Anastopoulos- Resolved by Peter Alan Steinberg
Hi Christos - thanks for having a look and I can't fully decide if there's anssue: until now it was just for reading xAOD files, but we are now running it as part of the Tier0 calibration loop sequence so the code expects the (non-MT) ZDC reconstruction to run first. I believe it's working at the moment because of the non-MT nature of the ZDC code, but perhaps it's too risky. But if I make even just one read handle for the ZDC containers, i.e. not each decoration, that should get the sequencer ordering right, correct?
Edited by Peter Alan Steinberg
added review-approved label and removed review-pending-level-1 label
- Resolved by Peter Alan Steinberg
added review-approved-point1 label
added review-approved-tier0 label
removed review-approved-tier0 label
added review-user-action-required label
- Resolved by Peter Alan Steinberg
@jmaurer - was the user-action-required tag waiting for the handles to be introduced?
added review-pending-level-1 label and removed review-approved review-approved-point1 review-user-action-required labels
CI Result SUCCESS (hash 9be00bbd)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 77387]removed review-pending-level-1 label
added review-approved label
added review-approved-tier0 label
added review-approved-point1 label
mentioned in commit 9a6dee4b
mentioned in merge request !65582 (merged)