No MCTRUTH variables after rebuilding candidates in Sprucing + DV
Trying to follow what was done in this merge request here: lhcb-datapkg/AnalysisProductions!2320 (merged). Running sprucing on centrally processed MC removing the PID cuts applied at HLT2. My merge request is here: lhcb-datapkg/AnalysisProductions!2794 (merged). This appears to have run fine and has the expected PID removal but I have an issue where MC TRUTH information is not being saved in the final tuple, the branch is there just with 0 entries e.g. for Lb_TRUEPT etc. Within the first sprucing step I see this in the log:
RootIOAlg SUCCESS Reading Event record 1 within LFN:/lhcb/MC/2024/HLT2.DST/00263260/0000/00263260_00000045_1.hlt2.dst
TransportSvc INFO Initialize the static pointer to DetDesc::IGeometryErrorSvc
TransportSvc INFO Recovery of geometry errors is ENABLED
HLTControlFlowMgr INFO Timing started at: 18:15:50
Unpack_Hlt2__Event_HLT2_Relation... WARNING Unable to resolve dependency /Event/HLT2/MC/Particles during unpacking of /Event/HLT2/Relations/ChargedPP2MCP
Unpack_Hlt2__Event_HLT2_Relation... WARNING failed to fetch container from /Event/HLT2/MC/Particles - requested 170 times
Unpack_Hlt2__Event_HLT2_Relation... WARNING Unable to resolve dependency /Event/HLT2/MC/Particles during unpacking of /Event/HLT2/Relations/NeutralPP2MCP
Unpack_Hlt2__Event_HLT2_Relation... WARNING failed to fetch container from /Event/HLT2/MC/Particles - requested 4621 times
HltANNSvc WARNING key 0x08a79dcf has an explicitly configured overrule -- using that...
Unpack_Hlt2__Event_HLT2_Relation... WARNING Unable to resolve dependency /Event/HLT2/MC/Particles during unpacking of /Event/HLT2/Relations/ChargedPP2MCP
Unpack_Hlt2__Event_HLT2_Relation... WARNING failed to fetch container from /Event/HLT2/MC/Particles - requested 100 times
Unpack_Hlt2__Event_HLT2_Relation... WARNING Unable to resolve dependency /Event/HLT2/MC/Particles during unpacking of /Event/HLT2/Relations/NeutralPP2MCP
Unpack_Hlt2__Event_HLT2_Relation... WARNING failed to fetch container from /Event/HLT2/MC/Particles - requested 1797 times
Unpack_Hlt2__Event_HLT2_Relation... WARNING Unable to resolve dependency /Event/HLT2/MC/Particles during unpacking of /Event/HLT2/Relations/ChargedPP2MCP
Unpack_Hlt2__Event_HLT2_Relation... WARNING failed to fetch container from /Event/HLT2/MC/Particles - requested 132 times
If I modify the steps to just run DV after HLT2 then the MCTRUTH variables appear as normal. So think that this issue could come from the sprucing stage. Whether I have specified something wrong in the options file or reading it wrong in DV after the sprucing I am unsure.