ATLAS Offline Software
Simulation
G4Utilities
G4FastSimulation
src
SimpleFastKiller.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4FASTSIMULATION_SIMPLEFASTKILLER_H
6
#define G4FASTSIMULATION_SIMPLEFASTKILLER_H
7
8
//Base class header
9
#include "G4VFastSimulationModel.hh"
10
11
//STL headers
12
#include <string>
13
14
class
SimpleFastKiller
:
public
G4VFastSimulationModel
15
{
16
public
:
17
SimpleFastKiller
(
const
std::string&
name
);
18
~SimpleFastKiller
() {}
19
20
//Fast sim methods
21
G4bool
IsApplicable
(
const
G4ParticleDefinition&)
override
final
{
return
true
; }
22
void
DoIt
(
const
G4FastTrack&, G4FastStep&)
override
final
;
23
G4bool
ModelTrigger
(
const
G4FastTrack &)
override
final
{
return
true
; }
24
};
25
26
#endif //G4FASTSIMULATION_SIMPLEFASTKILLER_H
SimpleFastKiller::ModelTrigger
G4bool ModelTrigger(const G4FastTrack &) override final
Definition:
SimpleFastKiller.h:23
SimpleFastKiller::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition:
SimpleFastKiller.cxx:15
SimpleFastKiller::~SimpleFastKiller
~SimpleFastKiller()
Definition:
SimpleFastKiller.h:18
SimpleFastKiller::SimpleFastKiller
SimpleFastKiller(const std::string &name)
Definition:
SimpleFastKiller.cxx:10
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
SimpleFastKiller::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition:
SimpleFastKiller.h:21
SimpleFastKiller
Definition:
SimpleFastKiller.h:15
Generated on Sun Dec 22 2024 21:18:11 for ATLAS Offline Software by
1.8.18