Draft: Trigger: Fix xAOD::AuxSelection WARNING Selected dynamic Aux atribute not found in the registry (2nd attempt)
Second attempt after !39270 (closed) at fixing ATR-22421. This time, instead of using cppyy during python configuration step, rely on the C++ interface of the ROOT interpreter to instantiate the accessors during the C++ intialize() step of the job. Specifically, in initialize()
of HLTEDMCreator
.
The list of types/names is still defined in TrigEDMConfig as a python dictionary.
Bad news is, this still takes around a minute to instantiate the same types, as it did in the python solution (or even slower???). For now (in the draft MR), I included a timing printout in the function to evaluate this.
Will also need to update the list of types given the EDM changes in the past few months, but keeping the same for now to compare the timing.