ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4FastSimulation
src
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
14
#include "
G4AtlasInterfaces/IActsFatrasG4Tool.h
"
15
16
// FatrasG4 tool
17
#include "
AFatrasG4Tool.h
"
18
19
class
G4FieldTrack;
20
class
G4SafetyHelper;
21
22
class
AFatrasG4
:
public
G4VFastSimulationModel
23
{
24
public
:
25
AFatrasG4
(
const
std::string& name,
26
G4Region* region,
27
const
PublicToolHandle<IActsFatrasG4Tool>&
ActsFatrasG4Tool
,
28
AFatrasG4Tool
*
FatrasG4Tool
);
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
AFatrasG4Tool.h
IActsFatrasG4Tool.h
AFatrasG4Tool
Definition
AFatrasG4Tool.h:23
AFatrasG4::AFatrasG4
AFatrasG4(const std::string &name, G4Region *region, const PublicToolHandle< IActsFatrasG4Tool > &ActsFatrasG4Tool, AFatrasG4Tool *FatrasG4Tool)
Definition
AFatrasG4.cxx:27
AFatrasG4::m_ActsFatrasG4Tool
PublicToolHandle< IActsFatrasG4Tool > m_ActsFatrasG4Tool
Definition
AFatrasG4.h:41
AFatrasG4::ModelTrigger
virtual G4bool ModelTrigger(const G4FastTrack &) override final
Determines the applicability of the fast sim model to this particular track.
Definition
AFatrasG4.cxx:59
AFatrasG4::~AFatrasG4
virtual ~AFatrasG4()=default
AFatrasG4::DoIt
virtual void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition
AFatrasG4.cxx:94
AFatrasG4::IsApplicable
virtual G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition
AFatrasG4.cxx:37
ActsFatrasG4Tool
Tool for ACTS Fatras G4.
Definition
ActsFatrasG4Tool.h:90
FatrasG4Tool
Definition
FatrasG4Tool.h:23
Generated on
for ATLAS Offline Software by
1.17.0