Skip to content
Snippets Groups Projects
Commit 6d53eb53 authored by Warren's avatar Warren
Browse files

TACTIC: Kinetic Energy output was incorrect ..fixed.

parent 85b0656c
No related branches found
No related tags found
No related merge requests found
Pipeline #106590 passed
...@@ -71,7 +71,7 @@ G4bool Gas_Scorer::ProcessHits(G4Step* aStep, G4TouchableHistory*){ ...@@ -71,7 +71,7 @@ G4bool Gas_Scorer::ProcessHits(G4Step* aStep, G4TouchableHistory*){
it= EvtMap->GetMap()->find(m_Index); it= EvtMap->GetMap()->find(m_Index);
if(it!=EvtMap->GetMap()->end()){ if(it!=EvtMap->GetMap()->end()){
G4double* dummy = *(it->second); G4double* dummy = *(it->second);
if(Infos[1]==dummy[1]) Infos[4]+=dummy[4]; //accumulate ionisation energy deposit to get total accross pad if(Infos[1]==dummy[1]) Infos[5]+=dummy[5]; //accumulate ionisation energy deposit to get total accross pad
delete dummy; delete dummy;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment