Skip to content
Snippets Groups Projects
Commit 60e43267 authored by Yessica Dominguez's avatar Yessica Dominguez
Browse files

Update stepping.cc

parent 87d55197
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ void MySteppingAction :: UserSteppingAction(const G4Step* step)
G4ThreeVector position = step->GetPreStepPoint()->GetPosition();
G4double distanceThreshold = 1200.*m;
G4double distanceThreshold = -400.*m; // Punto de deteccion, debe coincidir con la interfaz de las capas de la atmosfera (-1600 (sea level) ,-1200,-800,-400,0,400,800,1200,1600,2000)
// Verifica si la distancia recorrida supera el umbral
if (position.z() == distanceThreshold)
......
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