ATLAS Offline Software
SimpleFastKiller.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
11  : G4VFastSimulationModel(name)
12 {
13 }
14 
15 void SimpleFastKiller::DoIt(const G4FastTrack&, G4FastStep& fastStep)
16 {
17  fastStep.KillPrimaryTrack();
18  fastStep.SetPrimaryTrackPathLength(0.0);
19 }
SimpleFastKiller::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition: SimpleFastKiller.cxx:15
SimpleFastKiller::SimpleFastKiller
SimpleFastKiller(const std::string &name)
Definition: SimpleFastKiller.cxx:10
SimpleFastKiller.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195