ATLAS Offline Software
Simulation
G4Utilities
G4FastSimulation
src
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
10
SimpleFastKiller::SimpleFastKiller
(
const
std::string&
name
)
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:228
Generated on Fri Jan 10 2025 21:17:44 for ATLAS Offline Software by
1.8.18