From 430f5f437b898a965826cafaa83f68e25a4bdb92 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Tue, 2 Feb 2016 12:27:58 +0000
Subject: [PATCH] DDFORHEP-17: move comments

---
 DDG4/plugins/Geant4TCUserParticleHandler.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/DDG4/plugins/Geant4TCUserParticleHandler.cpp b/DDG4/plugins/Geant4TCUserParticleHandler.cpp
index a0c99bd75..3648f2892 100644
--- a/DDG4/plugins/Geant4TCUserParticleHandler.cpp
+++ b/DDG4/plugins/Geant4TCUserParticleHandler.cpp
@@ -125,16 +125,15 @@ void Geant4TCUserParticleHandler::end(const G4Track* track, Particle& p)  {
   G4StepPoint* theLastPostStepPoint = NULL;
   if(theLastStep) theLastPostStepPoint = theLastStep->GetPostStepPoint();
   if( theLastPostStepPoint &&
-      ( theLastPostStepPoint->GetStepStatus() == fWorldBoundary
+      ( theLastPostStepPoint->GetStepStatus() == fWorldBoundary //particle left world volume
 	//|| theLastPostStepPoint->GetStepStatus() == fGeomBoundary
       )
-    ){ //particle left world volume
+    ) {
     simStatus.set(G4PARTICLE_SIM_LEFT_DETECTOR);
   }
 
   // if the particle doesn't end in the tracker volume it must have ended in the calorimeter
   if( not ends_in_trk_vol && not simStatus.isSet(G4PARTICLE_SIM_LEFT_DETECTOR) ) {
-    // need to check for decay process
     simStatus.set(G4PARTICLE_SIM_DECAY_CALO);
   }
 
-- 
GitLab