From 08dcbb2786218b7892ee85120264df553b06be3d Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 14 Jan 2019 16:22:23 -0500 Subject: [PATCH] - fix hddm writer to accommodate recent changes to event.xml for the dirc - [rtj] --- src/GlueXSensitiveDetectorDIRC.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GlueXSensitiveDetectorDIRC.cc b/src/GlueXSensitiveDetectorDIRC.cc index 3354dc5..f4f0d24 100644 --- a/src/GlueXSensitiveDetectorDIRC.cc +++ b/src/GlueXSensitiveDetectorDIRC.cc @@ -381,7 +381,7 @@ void GlueXSensitiveDetectorDIRC::EndOfEvent(G4HCofThisEvent*) mhit(0).setCh(fHitsPmt[h].ch); mhit(0).setKey_bar(fHitsPmt[h].key_bar); #if DIRCTRUTHEXTRA - hddm_s::DircTruthPmtHitExtraList mhitextra = dirc.addDircTruthPmtHitExtras(1); + hddm_s::DircTruthPmtHitExtraList mhitextra = mhit(0).addDircTruthPmtHitExtras(1); mhitextra(0).setT_fixed(fHitsPmt[h].t_fixed_ns); mhitextra(0).setPath(fHitsPmt[h].path); mhitextra(0).setRefl(fHitsPmt[h].refl);