ATLAS Offline Software
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  // Standard constructor
18  using G4VFastSimulationModel::G4VFastSimulationModel;
19 
21 
22  //Fast sim methods
23  G4bool IsApplicable(const G4ParticleDefinition&) override final { return true; }
24  void DoIt(const G4FastTrack&, G4FastStep&) override final;
25  G4bool ModelTrigger(const G4FastTrack &) override final { return true; }
26 };
27 
28 #endif //G4FASTSIMULATION_SIMPLEFASTKILLER_H
SimpleFastKiller::ModelTrigger
G4bool ModelTrigger(const G4FastTrack &) override final
Definition: SimpleFastKiller.h:25
SimpleFastKiller::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition: SimpleFastKiller.cxx:10
SimpleFastKiller::~SimpleFastKiller
~SimpleFastKiller()
Definition: SimpleFastKiller.h:20
SimpleFastKiller::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition: SimpleFastKiller.h:23
SimpleFastKiller
Definition: SimpleFastKiller.h:15