ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class 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
G4bool ModelTrigger(const G4FastTrack &) override final
G4bool IsApplicable(const G4ParticleDefinition &) override final
void DoIt(const G4FastTrack &, G4FastStep &) override final