[ 33%] Building CXX object analysis/CMakeFiles/analysisLib.dir/Root/query.cxx.o
/home/atlas/rel/source/analysis/Root/query.cxx: In member function 'virtual StatusCode query::execute()':
/home/atlas/rel/source/analysis/Root/query.cxx:94:51: error: no matching function for call to 'xAOD::Jet_v1::getAttribute() const'
_col1333.push_back(i_obj331->getAttribute());
^
In file included from /usr/AnalysisBase/21.2.102/InstallArea/x86_64-centos7-gcc8-opt/src/Event/xAOD/xAODJet/xAODJet/Jet.h:12,
from /usr/AnalysisBase/21.2.102/InstallArea/x86_64-centos7-gcc8-opt/src/Event/xAOD/xAODJet/xAODJet/JetContainer.h:12,
from /home/atlas/rel/source/analysis/Root/query.cxx:6:
/usr/AnalysisBase/21.2.102/InstallArea/x86_64-centos7-gcc8-opt/src/Event/xAOD/xAODJet/xAODJet/versions/Jet_v1.h:213:10: note: candidate: 'template<class T> bool xAOD::Jet_v1::getAttribute(xAOD::Jet_v1::AttributeID, T&) const'
bool getAttribute( AttributeID type, T & value ) const ;
I know this works in func_adl as I've used it. I do not know if the error is in hep_tables or in hl_tables - but we should probably make sure there are tests at both levels for this.
A line like this:
Produces an error like this: