HepMC3 Fix, master branch (2020.11.17.)
Updated Generators/AtlasHepMC to set the HEPMC3
pre-processor macro according to the HEPMC3_USE
CMake cache variable.
This was necessitated by the build failures seen in the HepMC 3 nightly.
- ATLINFR-3806
- https://bigpanda.cern.ch/compsview/?nightly=master--HepMC3_Athena_x86_64-centos7-gcc8-opt&rel=2020-11-16T2101&ar=x86_64-centos7-gcc8-opt&proj=Athena
This unfortunately will not fix the nightly completely. As one may expect... My test build is still full of both seemingly easily fixable issues like:
# CMake ---> /opt/lcg/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++ -DATLAS_GAUDI_V21 -DCLHEP_ABS_DEFINED -DCLHEP_MAX_MIN_DEFINED -DCLHEP_SQR_DEFINED -DCaloLocalHadCalibDict_EXPORTS -DGAUDI_V20_COMPAT -DHAVE_64_BITS -DHAVE_GAUDI_PLUGINSVC -DHEPMC3=1 -DPACKAGE_VERSION="CaloLocalHadCalib-00-00-00" -DPACKAGE_VERSION_UQ=CaloLocalHadCalib-00-00-00 -D__IDENTIFIER_64BIT__ -I/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib -I/data/projects/hepmc/athena/Control/AthenaBaseComps -I/data/projects/hepmc/athena/Control/AthenaKernel -I/data/projects/hepmc/athena/Control/CxxUtils -I/data/projects/hepmc/athena/Control/DataModelRoot -I/data/projects/hepmc/athena/Event/xAOD/xAODEventInfo -I/data/projects/hepmc/athena/Control/AthContainers -I/data/projects/hepmc/athena/Control/AthContainersInterfaces -I/data/projects/hepmc/athena/Control/AthLinks -I/data/projects/hepmc/athena/Control/SGTools -I/data/projects/hepmc/athena/Event/xAOD/xAODCore -I/data/projects/hepmc/athena/Control/RootUtils -I/data/projects/hepmc/athena/Control/StoreGate -I/data/projects/hepmc/athena/Control/AthAllocators -I/data/projects/hepmc/athena/Database/PersistentDataModel -I/data/projects/hepmc/athena/Calorimeter/CaloConditions -I/data/projects/hepmc/athena/DetectorDescription/Identifier -I/data/projects/hepmc/athena/Calorimeter/CaloIdentifier -I/data/projects/hepmc/athena/Calorimeter/CaloGeoHelpers -I/data/projects/hepmc/athena/DetectorDescription/AtlasDetDescr -I/data/projects/hepmc/athena/DetectorDescription/IdDict -I/data/projects/hepmc/athena/Calorimeter/CaloCondBlobObjs -I/data/projects/hepmc/athena/Calorimeter/CaloDetDescr -I/data/projects/hepmc/athena/DetectorDescription/GeoModel/GeoModelInterfaces -I/data/projects/hepmc/athena/DetectorDescription/GeoPrimitives -I/data/projects/hepmc/athena/Event/EventPrimitives -I/data/projects/hepmc/athena/LArCalorimeter/LArGeoModel/LArReadoutGeometry -I/data/projects/hepmc/athena/LArCalorimeter/LArGeoModel/LArHV -I/data/projects/hepmc/athena/AtlasTest/TestTools -I/data/projects/hepmc/athena/Calorimeter/CaloDmDetDescr -I/data/projects/hepmc/athena/Calorimeter/CaloEvent -I/data/projects/hepmc/athena/Control/Navigation -I/data/projects/hepmc/athena/Event/EventKernel -I/data/projects/hepmc/athena/Tracking/TrkEvent/VxVertex -I/data/projects/hepmc/athena/Tracking/TrkEvent/TrkEventPrimitives -I/data/projects/hepmc/athena/Tracking/TrkEvent/TrkNeutralParameters -I/data/projects/hepmc/athena/Tracking/TrkDetDescr/TrkSurfaces -I/data/projects/hepmc/athena/Tracking/TrkEvent/TrkParametersBase -I/data/projects/hepmc/athena/Tracking/TrkDetDescr/TrkDetDescrUtils -I/data/projects/hepmc/athena/Tracking/TrkDetDescr/TrkDetElementBase -I/data/projects/hepmc/athena/Tracking/TrkEvent/TrkTrackLink -I/data/projects/hepmc/athena/Tracking/TrkEvent/TrkParameters -I/data/projects/hepmc/athena/Event/FourMom -I/data/projects/hepmc/athena/Event/NavFourMom -I/data/projects/hepmc/athena/LArCalorimeter/LArRawConditions -I/data/projects/hepmc/athena/Database/AthenaPOOL/AthenaPoolUtilities -I/data/projects/hepmc/athena/Database/APR/CollectionBase -I/data/projects/hepmc/athena/Database/APR/FileCatalog -I/data/projects/hepmc/athena/Database/APR/POOLCore -I/data/projects/hepmc/athena/Database/AthenaPOOL/DBDataModel -I/data/projects/hepmc/athena/LArCalorimeter/LArIdentifier -I/data/projects/hepmc/athena/LArCalorimeter/LArElecCalib -I/data/projects/hepmc/athena/LArCalorimeter/LArCabling -I/data/projects/hepmc/athena/Calorimeter/CaloSimEvent -I/data/projects/hepmc/athena/Simulation/HitManagement -I/data/projects/hepmc/athena/Event/EventInfo -I/data/projects/hepmc/athena/Calorimeter/CaloUtils -I/data/projects/hepmc/athena/Calorimeter/CaloInterface -I/data/projects/hepmc/athena/Event/xAOD/xAODCaloEvent -I/data/projects/hepmc/athena/Event/xAOD/xAODBase -I/data/projects/hepmc/athena/Generators/GeneratorObjects -I/data/projects/hepmc/athena/Generators/AtlasHepMC -I/data/projects/hepmc/athena/Event/xAOD/xAODTruth -I/data/projects/hepmc/athena/Tools/PathResolver -I/data/projects/hepmc/athena/Control/AthToolSupport/AsgTools -I/data/projects/hepmc/athena/Control/AthToolSupport/AsgMessaging -I/data/projects/hepmc/athena/TestBeam/TBEvent -I/data/projects/hepmc/athena/LArCalorimeter/LArRawEvent -isystem /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/include -isystem /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/include -isystem /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/include -isystem /data/projects/hepmc/externals/install/GAUDI/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/include -isystem /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/tbb/2020_U2/x86_64-centos7-gcc8-opt/include -isystem /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/CORAL/3_3_2/x86_64-centos7-gcc8-opt/include -isystem /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/eigen/3.3.7/x86_64-centos7-gcc8-opt/include/eigen3 -isystem /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/hepmc3/3.2.2/x86_64-centos7-gcc8-opt/include -fplugin=/data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libchecker_gccplugins.so -DNDEBUG -O2 -Wall -Wno-long-long -Wno-deprecated -Wno-unused-local-typedefs -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wextra -Werror=return-type -pedantic -fPIC -pthread -std=c++17 -MD -MT Calorimeter/CaloLocalHadCalib/CMakeFiles/CaloLocalHadCalibDict.dir/CMakeFiles/CaloLocalHadCalibDictReflexDict.cxx.o -MF Calorimeter/CaloLocalHadCalib/CMakeFiles/CaloLocalHadCalibDict.dir/CMakeFiles/CaloLocalHadCalibDictReflexDict.cxx.o.d -o Calorimeter/CaloLocalHadCalib/CMakeFiles/CaloLocalHadCalibDict.dir/CMakeFiles/CaloLocalHadCalibDictReflexDict.cxx.o -c Calorimeter/CaloLocalHadCalib/CMakeFiles/CaloLocalHadCalibDictReflexDict.cxx
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCDeadMaterialTree.cxx: In member function 'virtual StatusCode GetLCDeadMaterialTree::execute()':
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCDeadMaterialTree.cxx:225:20: error: 'particle_const_iterator' is not a member of 'HepMC::GenEvent' {aka 'HepMC3::GenEvent'}
HepMC::GenEvent::particle_const_iterator pit = truthEvent->at(0)->particles_begin();
^~~~~~~~~~~~~~~~~~~~~~~
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCDeadMaterialTree.cxx:226:38: error: 'pit' was not declared in this scope
const HepMC::GenParticle * gen = *pit;
^~~
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCSinglePionsPerf.cxx: In member function 'virtual StatusCode GetLCSinglePionsPerf::execute()':
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCSinglePionsPerf.cxx:682:26: error: 'const class HepMC3::GenEvent' has no member named 'particles_empty'; did you mean 'particles'?
if( truthEvent->at(0)->particles_empty() ){
^~~~~~~~~~~~~~~
particles
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCSinglePionsPerf.cxx:687:20: error: 'particle_const_iterator' is not a member of 'HepMC::GenEvent' {aka 'HepMC3::GenEvent'}
HepMC::GenEvent::particle_const_iterator pit = truthEvent->at(0)->particles_begin();
^~~~~~~~~~~~~~~~~~~~~~~
/data/projects/hepmc/athena/Calorimeter/CaloLocalHadCalib/src/GetLCSinglePionsPerf.cxx:688:37: error: 'pit' was not declared in this scope
const HepMC::GenParticle *gen = (*pit);
^~~
but is also riddled by more elaborate ones, like:
# CMake ---> /data/projects/hepmc/build/CMakeFiles/atlas_build_run.sh /opt/lcg/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++ -fPIC -fplugin=/data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libchecker_gccplugins.so -DNDEBUG -O2 -Wall -Wno-long-long -Wno-deprecated -Wno-unused-local-typedefs -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wextra -Werror=return-type -pedantic -Wl,--as-needed -Wl,--no-undefined -Wl,-z,max-page-size=0x1000 -Wl,--hash-style=both -shared -o x86_64-centos7-gcc8-opt/lib/libHepMCAnalysis_i.so Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/GetEvents.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/HepMCAnalysis.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/LeptonJetAnalysis.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/ParticleContentAnalysis.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/PdfAnalysis.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/PrepareHepMCAnalysisGenEvent.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/UserAnalysis.cxx.o Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/components/HepMCAnalysis_i_entries.cxx.o -L/data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib -L/cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/tbb/2020_U2/x86_64-centos7-gcc8-opt/lib /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libCore.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libMathCore.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libHist.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libRIO.so -lHepMCAnalysis /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libCLHEP.so /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libfastjet.so /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libfastjetplugins.so /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libfastjettools.so /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libsiscone.so /data/projects/hepmc/externals/install/AthenaExternals/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libsiscone_spherical.so /opt/lcg/gcc/8.3.0-cebb0/x86_64-centos7/lib64/libgfortran.so x86_64-centos7-gcc8-opt/lib/libAthenaBaseComps.so x86_64-centos7-gcc8-opt/lib/libEventInfo.so x86_64-centos7-gcc8-opt/lib/libGeneratorObjects.so x86_64-centos7-gcc8-opt/lib/libxAODEventInfo.so x86_64-centos7-gcc8-opt/lib/libStoreGateLib.so x86_64-centos7-gcc8-opt/lib/libAthAllocators.so x86_64-centos7-gcc8-opt/lib/libPersistentDataModel.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/CORAL/3_3_2/x86_64-centos7-gcc8-opt/lib/liblcg_CoralBase.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/CORAL/3_3_2/x86_64-centos7-gcc8-opt/lib/liblcg_CoralKernel.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/CORAL/3_3_2/x86_64-centos7-gcc8-opt/lib/liblcg_RelationalAccess.so x86_64-centos7-gcc8-opt/lib/libxAODTruth.so x86_64-centos7-gcc8-opt/lib/libTruthUtils.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/hepmc3/3.2.2/x86_64-centos7-gcc8-opt/lib64/libHepMC3.so x86_64-centos7-gcc8-opt/lib/libxAODCore.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libGenVector.so x86_64-centos7-gcc8-opt/lib/libxAODBase.so x86_64-centos7-gcc8-opt/lib/libAthContainers.so x86_64-centos7-gcc8-opt/lib/libAthLinks.so x86_64-centos7-gcc8-opt/lib/libSGTools.so x86_64-centos7-gcc8-opt/lib/libAthenaKernel.so /usr/lib64/libuuid.so /usr/lib64/librt.so x86_64-centos7-gcc8-opt/lib/libDataModelRoot.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libPhysics.so x86_64-centos7-gcc8-opt/lib/libRootUtils.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libMathCore.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libHist.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libRIO.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libTree.so x86_64-centos7-gcc8-opt/lib/libCxxUtils.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_program_options.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_timer.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_unit_test_framework.so /data/projects/hepmc/externals/install/GAUDI/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libGaudiKernel.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/ROOT/v6.22.00/x86_64-centos7-gcc8-opt/lib/libCore.so /data/projects/hepmc/externals/install/GAUDI/22.0.21/InstallArea/x86_64-centos7-gcc8-opt/lib/libGaudiPluginService.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_thread.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_chrono.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_date_time.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_atomic.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_filesystem.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_system.so /cvmfs/sft.cern.ch/lcg/releases/LCG_98python3_ATLAS_1/Boost/1.73.0/x86_64-centos7-gcc8-opt/lib/libboost_regex.so -pthread -Wl,--copy-dt-needed-entries -ltbb -Wl,-rpath-link,/data/projects/hepmc/build/x86_64-centos7-gcc8-opt/lib
Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/HepMCAnalysis.cxx.o: In function `HepMCAnalysis::execute()':
HepMCAnalysis.cxx:(.text+0x6f4): undefined reference to `GetEvents(AthAlgorithm*, std::vector<HepMC::GenEvent*, std::allocator<HepMC::GenEvent*> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
Generators/HepMCAnalysis_i/CMakeFiles/HepMCAnalysis_i.dir/src/LeptonJetAnalysis.cxx.o: In function `LeptonJetAnalysis::Process(HepMC::GenEvent*)':
LeptonJetAnalysis.cxx:(.text+0x4bc7): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator(HepMC::GenVertex&, HepMC::IteratorRange)'
LeptonJetAnalysis.cxx:(.text+0x4bfb): undefined reference to `HepMC::GenVertex::particle_iterator::operator++()'
LeptonJetAnalysis.cxx:(.text+0x4c03): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4c0b): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4c16): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4c21): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4c2e): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4c61): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4e96): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator(HepMC::GenVertex&, HepMC::IteratorRange)'
LeptonJetAnalysis.cxx:(.text+0x4ecb): undefined reference to `HepMC::GenVertex::particle_iterator::operator++()'
LeptonJetAnalysis.cxx:(.text+0x4ed3): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4edb): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4ee6): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4ef1): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4f02): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4f76): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator(HepMC::GenVertex&, HepMC::IteratorRange)'
LeptonJetAnalysis.cxx:(.text+0x4fab): undefined reference to `HepMC::GenVertex::particle_iterator::operator++()'
LeptonJetAnalysis.cxx:(.text+0x4fb3): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4fbb): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4fc6): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x4fd1): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x4fde): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x5011): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x51b9): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x72ec): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator(HepMC::GenVertex&, HepMC::IteratorRange)'
LeptonJetAnalysis.cxx:(.text+0x7323): undefined reference to `HepMC::GenVertex::particle_iterator::operator++()'
LeptonJetAnalysis.cxx:(.text+0x732b): undefined reference to `HepMC::GenVertex::particle_iterator::particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x7333): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x733e): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x7349): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
LeptonJetAnalysis.cxx:(.text+0x7356): undefined reference to `HepMC::GenVertex::particle_iterator::operator*() const'
LeptonJetAnalysis.cxx:(.text+0x7389): undefined reference to `HepMC::GenVertex::particle_iterator::~particle_iterator()'
But I'd leave sorting those out to @averbyts. Andrii, please tag the AGENE
JIRA ticket in the MR that follows the HepMC3 migration effort. Unfortunately I just couldn't find it in my e-mail history.
Also pinging @jchapman.