ATLAS Offline Software
Public Member Functions | List of all members
SimpleFastKiller Class Reference

#include <SimpleFastKiller.h>

Inheritance diagram for SimpleFastKiller:
Collaboration diagram for SimpleFastKiller:

Public Member Functions

 SimpleFastKiller (const std::string &name)
 
 ~SimpleFastKiller ()
 
G4bool IsApplicable (const G4ParticleDefinition &) override final
 
void DoIt (const G4FastTrack &, G4FastStep &) override final
 
G4bool ModelTrigger (const G4FastTrack &) override final
 

Detailed Description

Definition at line 14 of file SimpleFastKiller.h.

Constructor & Destructor Documentation

◆ SimpleFastKiller()

SimpleFastKiller::SimpleFastKiller ( const std::string &  name)

Definition at line 10 of file SimpleFastKiller.cxx.

11  : G4VFastSimulationModel(name)
12 {
13 }

◆ ~SimpleFastKiller()

SimpleFastKiller::~SimpleFastKiller ( )
inline

Definition at line 18 of file SimpleFastKiller.h.

18 {}

Member Function Documentation

◆ DoIt()

void SimpleFastKiller::DoIt ( const G4FastTrack &  ,
G4FastStep &  fastStep 
)
finaloverride

Definition at line 15 of file SimpleFastKiller.cxx.

16 {
17  fastStep.KillPrimaryTrack();
18  fastStep.SetPrimaryTrackPathLength(0.0);
19 }

◆ IsApplicable()

G4bool SimpleFastKiller::IsApplicable ( const G4ParticleDefinition &  )
inlinefinaloverride

Definition at line 21 of file SimpleFastKiller.h.

21 { return true; }

◆ ModelTrigger()

G4bool SimpleFastKiller::ModelTrigger ( const G4FastTrack &  )
inlinefinaloverride

Definition at line 23 of file SimpleFastKiller.h.

23 { return true; }

The documentation for this class was generated from the following files:
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228