I can reproduce it when checking out !4458 (merged) and running Moore/run gaudirun.py Moore/Hlt/RecoConf/tests/qmtest/hlt2_light_reco_pr_kf_without_UT.qmt
@gunther I tried to compile Moore from stack using branch 2024-patches only for LHCb I checkout the
branch gsl-span-fixes. It doesn't compile with many error messages The first are copied below.
Could you send me instruction to compile the code?
thanks
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h: In function 'auto LHCb::bestPVIndex(const Vertices&, FTYPE, FTYPE, FTYPE, FTYPE, FTYPE)':
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h:64:61: error: 'PVIndexInvalid' is not a member of 'LHCb::Event::PV'
64 | : LHCb::Event::PV::PVIndex( LHCb::Event::PV::PVIndexInvalid );
| ^~~~~~~~~~~~~~
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h: At global scope:
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h:92:24: error: 'PrimaryVertex' was not declared in this scope; did you mean 'LHCb::Event::PV::PrimaryVertex'?
92 | inline std::optional unbiasedBestPV( const LHCb::Event::PV::PrimaryVertexContainer& pvdata,
| ^~~~~~~~~~~~~
| LHCb::Event::PV::PrimaryVertex
In file included from /home/asatta/Moore/stack/LHCb/InstallArea/x86_64_v2-el9-gcc13-opt/include/Event/Particle.h:15,
from ../Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h:14:
/home/asatta/Moore/stack/LHCb/InstallArea/x86_64_v2-el9-gcc13-opt/include/Event/PrimaryVertices.h:135:9: note: 'LHCb::Event::PV::PrimaryVertex' declared here
135 | class PrimaryVertex final : public LHCb::VertexBase {
| ^~~~~~~~~~~~~
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h:92:37: error: template argument 1 is invalid
92 | inline std::optional unbiasedBestPV( const LHCb::Event::PV::PrimaryVertexContainer& pvdata,
| ^
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h:92:15: error: '' in namespace 'std' does not name a type
92 | inline std::optional unbiasedBestPV( const LHCb::Event::PV::PrimaryVertexContainer& pvdata,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/asatta/Moore/stack/Rec/Tr/TrackKernel/include/TrackKernel/PrimaryVertexUtils.h:101:24: error: 'PrimaryVertex' was not declared in this scope; did you mean 'LHCb::Event::PV::PrimaryVertex'?
101 | inline std::optional unbiasedBestPV( const LHCb::Event::PV::PrimaryVertexContainer& pvdata,
the gsl-span-fixes branch has not been touched as it was waiting for resolution of this problmem. And since it has been quite a while, it has of course now fallen 'behind' the target branch. So you'll have to rebase your checked-out version of it on top of the 'tip' of the regular branch you'd otherwise use.
So I've just rebased the MR on top of 2024-patches, so for now it's up to date (until something gets merged in that branch obviously).
But you can also just take the very small changes to the 3 lines in Muon/MuonDAQ/include/MuonDAQ/MuonHitsBankDecoder.h and to the 2 lines in Muon/MuonDAQ/src/components/MuonRawInUpgradeToHits.cpp and just apply those explicitly to the stack which you're using... (as those 5 lines are sufficient to expose the problem)