From c7abcf301364b229f20c42f43afdb6f6af2ae7bd Mon Sep 17 00:00:00 2001 From: Warren Lynch <warren.lynch@york.ac.uk> Date: Tue, 23 Feb 2021 14:51:10 +0000 Subject: [PATCH] TACTIC: angle information was missing in out.dat, now fixed. --- NPSimulation/Detectors/TACTIC/TACTIC.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NPSimulation/Detectors/TACTIC/TACTIC.cc b/NPSimulation/Detectors/TACTIC/TACTIC.cc index 0d30dd9d2..666975c90 100644 --- a/NPSimulation/Detectors/TACTIC/TACTIC.cc +++ b/NPSimulation/Detectors/TACTIC/TACTIC.cc @@ -324,7 +324,7 @@ void TACTIC::ReadSensitive(const G4Event* event ){ for (Light_itr = LightHitMap->GetMap()->begin(); Light_itr != LightHitMap->GetMap()->end(); Light_itr++) { G4double* Info = *(Light_itr->second); //file << event->GetEventID() << "\t"; - for(int s = 0; s<11; s++) { + for(int s = 0; s<12; s++) { file << Info[s] << "\t"; } file << Info[12] << endl; @@ -340,7 +340,7 @@ void TACTIC::ReadSensitive(const G4Event* event ){ for (Heavy_itr = HeavyHitMap->GetMap()->begin(); Heavy_itr != HeavyHitMap->GetMap()->end(); Heavy_itr++) { G4double* Info = *(Heavy_itr->second); //file << event->GetEventID() << "\t"; - for(int s = 0; s<11; s++) { + for(int s = 0; s<12; s++) { file << Info[s] << "\t"; } file << Info[12] << endl; @@ -356,7 +356,7 @@ void TACTIC::ReadSensitive(const G4Event* event ){ for (Beam_itr = BeamHitMap->GetMap()->begin(); Beam_itr != BeamHitMap->GetMap()->end(); Beam_itr++) { G4double* Info = *(Beam_itr->second); //file << event->GetEventID() << "\t"; - for(int s = 0; s<11; s++) { + for(int s = 0; s<12; s++) { file << Info[s] << "\t"; } file << Info[12] << endl; -- GitLab