In the attached example with:
physics QGSP_BERT_HP disable=Decay
totalenergy OFF: Sum(energies in detector ntuple) = 1.438e+06 MeV
totalenergy ON: Sum(energies in detector ntuple) = 5.754e+05 MeV, while
totalenergy file reports 1.438e+06 MeV deposited in detector
physics QGSP_BIC_AllHP disable=Decay
totalenergy OFF: Sum(energies in detector ntuple) = 1.438e+06 MeV
totalenergy ON: Sum(energies in detector ntuple) = 7.447e+05 MeV, while
totalenergy file reports 1.438e+06 MeV deposited in detector
I also tested removing the command disable=Decay, which had minimal effect.
If there are any other details that might be helpful please just let me know,
All the best,
Graeme