Make TrigDecisionTool compile under AnalysisBase
The TriggerDecisionTool uses internal caches for historic reasons (it has amassed multiple per-event and config input data sources over the years, and prefers to format shift them to an internal cache which is operated on in the event loop). This was made MT-safe in master.
Now, in addition, parts of this MT safety migration are hidden from Standalone releases: all code relating to the reading of old data formats (only xAOD supported in standalone), all code relating to multi-slot MT safety.
The TDT uses the TrigCompositeUtils
package to provide helper-functions for Run3 trigger navigation graph traversal. All of this package is now moved to Root
and tweaked to compile under AnalysisBase
Other Trigger/TrigAnalysis
packages can now also be included in the release.
Tested with TriggerAlgorithmsTest_eljob.py
.
The fetching of R3 features which fail the trigger remains unavailable in standalone for the time being.
Merge request reports
Activity
- Resolved by Tim Martin
- Resolved by Tim Martin
added Build Trigger master review-pending-level-1 labels
CI Result FAILURE (hash 626cfa2e)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 9, warnings 51
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 2
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 19803]- Resolved by Tim Martin
Hi @tamartin,
Generally this looks reasonable/nice. I had actually started working on this as well, and most of my changes look similar. The main part where I was stuck is that I didn't have enough domain knowledge to know which parts just to disable or give a stand-alone implementation, so I ended up including increasingly more packages which was giving me successively more problems. I had actually been trying to figure out whom to ping about this, but nobody in AMG knew, so good that you took the initiative here.
As I said, adding a
SlotSpecificObject
class would be doable, if you feel that makes your code here easier.There are a couple of other trigger packages in the
package_filters.txt
that are currently disabled. Are you planning to fix those up once this package is in? Or what is the plan.Cheers, Nils
removed review-pending-level-1 label
added 1 commit
- 8f1eff4b - Un-break the Athena build, keep the AnalysisBase build working and remove compile warnings
added review-pending-level-1 label
CI Result SUCCESS (hash 8f1eff4b)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 19866]Note to shifter:
Trigger/TrigSteer/TrigCompositeUtils/Root/TrigCompositeUtils.cxx
was moved fromsrc
toRoot
. As there was already a small file existing with this name, it doesn't show as Moved in this MR. Instead, it shows as adding new code.Edited by Tim Martin- Resolved by Tim Martin
added review-user-action-required label and removed review-pending-level-1 label