Size of CaloHypos is not always that of CaloClusters decribing them (for electron hypos)
One can obtain the clusters (and it's indexing) containing the CaloHypo information
from the CaloHypos with CaloHypos.clusterContainer()
and this not always is the same size for electron hypos, which should be.
Right now this will give an error message in SelectiveElectronMatchAlg
from Rec!2216 (merged) and give an empty track-hypo match chi2 table for that event:
To reproduce the following error, run the Hlt/RecoConf/tests/qmtest/hlt2_reco_calo_selectivematching.qmt
test in Moore:
SelectiveElectronMatchAlg ERROR Failed to generate index
For this particular event the case is that #CaloClusters = 104 but #CaloHypos = 103. This test is available from Moore!632 (merged)
Edited by Maarten Van Veghel