Skip to content

Commit

Permalink
Merge pull request #211 from JeffersonLab/FmwpcHddmFix
Browse files Browse the repository at this point in the history
change how Q is stored in FmwpcTruthHit to make it consistent with ne…
  • Loading branch information
rjones30 authored Mar 2, 2022
2 parents bd14c27 + c0465fa commit a9d571f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/GlueXSensitiveDetectorFMWPC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,11 @@ void GlueXSensitiveDetectorFMWPC::EndOfEvent(G4HCofThisEvent*)

hddm_s::FmwpcTruthHitList thit = wire(0).addFmwpcTruthHits(1);
thit(0).setDE(dE);
thit(0).setD(hits[ih].d_cm);
thit(0).setT(hits[ih].t_ns);
thit(0).setQ(q_pC);
thit(0).setDx(0.); // not used any more (SJT 2/28/22)
hddm_s::FmwpcTruthHitQList charges=thit(0).addFmwpcTruthHitQs(1);
charges(0).setD(hits[ih].d_cm);
charges(0).setQ(q_pC);
}
}
}
Expand Down

0 comments on commit a9d571f

Please sign in to comment.