RecoConf.VP_cluster_monitoring tests failing with updated input files
VELO clustering monitoring tests in RecoConf are failing after updating to more up to date input MC sample, expected_2024_minbias_xdigi, following assert in VPClusterEfficiency.cpp:
python3: ../Pr/PrMCTools/src/VPClusterEfficiency.cpp:103: virtual void VPClusterEfficiency::operator()(const LHCb::RawBank::View&, const std::vector<LHCb::VPFullCluster>&, const LHCb::MCHits&, const LHCb::MCParticles&, const LHCb::LinksByKey&, const LHCb::MCProperty&, const DeVP&) const: Assertion `data.size() == data.front() + 1' failed
by @flazzari
Hi, originally the first word of a VP bank (data.front()) was intended to store the number of SPs in the bank. This assert is a consistency check about the integrity of the bank: bank size should be equal to #SPs + 1 (the word used to store the #SPs). This data format is very outdated. Also the SPs decoding is outdated since in the actual banks (v4) each bank store SPs from a sensor pair and not a single sensor as assumed in this code. Retina clusters are provided running VPRetinaFullClustering that is compatible with the new bank versions.
These tests have to be properly updated
Related test:
- VP_cluster_monitoring
- VP_cluster_monitoring_baseline
- VP_cluster_monitoring_retina