3.1.5 FTBFS
Hi @All ,
I see FTBFS for 3.1.5
pluginCMS/CMS_2018_I1663958.cc:123:77: error: reference to 'pT' is ambiguous
123 | double isolation = sum(filter_select(isopars, deltaRLess(ph, 0.4)), pT, 0.);
| ^~
In file included from ../include/Rivet/Particle.hh:8,
from ../include/Rivet/Event.hh:6,
from ../include/Rivet/Analysis.hh:7,
from pluginCMS/CMS_2010_S8547297.cc:2:
../include/Rivet/Tools/Cuts.hh:58:21: note: candidates are: 'Rivet::Cuts::Quantity Rivet::Cuts::pT'
58 | enum Quantity { pT=0, pt=0, Et=1, et=1, E=2, energy=2,
| ^~
In file included from ../include/Rivet/Tools/ParticleUtils.hh:5,
from ../include/Rivet/Particle.hh:746,
from ../include/Rivet/Event.hh:6,
from ../include/Rivet/Analysis.hh:7,
from pluginCMS/CMS_2010_S8547297.cc:2:
../include/Rivet/Tools/ParticleBaseUtils.hh:656:19: note: 'double Rivet::Kin::pT(const Rivet::ParticleBase&)'
656 | inline double pT(const ParticleBase& p) { return p.pT(); }
| ^~
make[2]: *** [Makefile.tmp.mIDmU2vo9h:17: tmp.Lafr0ViY.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/Rivet-3.1.5/analyses
gcc-10.3.1, gcc-11+ on Fedora 33,34,35
Best regards,
Andrii
P.S. As far as I remember I saw this issue in the mail list, but I don't see any relevant issue filled. Sorry for duplicate if there is one.