ATLAS Offline Software
Loading...
Searching...
No Matches
AFatrasG4.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef G4FASTSIMULATION_AFATRASG4_H
6#define G4FASTSIMULATION_AFATRASG4_H
7
8// Service handle to define smart pointer to Fatras parametrisation service
9#include "GaudiKernel/ServiceHandle.h"
10// Geant4 fast simulation base class
11#include "G4VFastSimulationModel.hh"
12
13// Geant4 ACTSFatras G4 Tool
15
16// FatrasG4 tool
17#include "AFatrasG4Tool.h"
18
19class G4FieldTrack;
20class G4SafetyHelper;
21
22class AFatrasG4: public G4VFastSimulationModel
23{
24 public:
25 AFatrasG4(const std::string& name,
26 G4Region* region,
27 const PublicToolHandle<IActsFatrasG4Tool>& ActsFatrasG4Tool,
29
30 virtual ~AFatrasG4() = default;
31
32 virtual G4bool IsApplicable(const G4ParticleDefinition&) override final;
33 virtual void DoIt(const G4FastTrack&, G4FastStep&) override final;
34
37 virtual G4bool ModelTrigger(const G4FastTrack &) override final;
38
39 private:
40 // Geant4 ACTSFatras G4 Tool
41 PublicToolHandle<IActsFatrasG4Tool> m_ActsFatrasG4Tool;
42
43};
44
45#endif //G4FASTSIMULATION_AFATRASG4_H
46
AFatrasG4(const std::string &name, G4Region *region, const PublicToolHandle< IActsFatrasG4Tool > &ActsFatrasG4Tool, AFatrasG4Tool *FatrasG4Tool)
Definition AFatrasG4.cxx:27
PublicToolHandle< IActsFatrasG4Tool > m_ActsFatrasG4Tool
Definition AFatrasG4.h:41
virtual G4bool ModelTrigger(const G4FastTrack &) override final
Determines the applicability of the fast sim model to this particular track.
Definition AFatrasG4.cxx:59
virtual ~AFatrasG4()=default
virtual void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition AFatrasG4.cxx:94
virtual G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition AFatrasG4.cxx:37
Tool for ACTS Fatras G4.