Fix T_AnalysisConfigR3_Tier0.h for HepMC3 builds
Avoid using HepMC2-specific types in T_AnalysisConfigR3_Tier0.h
so that it also compiles in HepMC3-based builds.
See for the HepMC3 version of the method:
https://gitlab.cern.ch/atlas/athena/-/blob/master/Generators/AtlasHepMC/AtlasHepMC/GenEvent.h#L50
and here for the HepMC2 version:
https://gitlab.cern.ch/atlas/athena/-/blob/master/Generators/AtlasHepMC/AtlasHepMC/GenEvent.h#L197
Preferred auto
over #ifdef HEPMC3 ... #else ... #endif
.
Pushing this change to 22.0 initially just to prevent any future conflicts when sweeping. (We plan to switch the master branch to be HepMC3-based later this year.)
Tagging @sutt for info.