ATLAS Offline Software
SimpleFastKiller.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // class header include
6 #include "SimpleFastKiller.h"
7 // G4 includes
8 #include "G4FastStep.hh"
9 
10 void SimpleFastKiller::DoIt(const G4FastTrack&, G4FastStep& fastStep)
11 {
12  fastStep.KillPrimaryTrack();
13  fastStep.ProposePrimaryTrackPathLength(0.0);
14 }
SimpleFastKiller::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition: SimpleFastKiller.cxx:10
SimpleFastKiller.h