ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
TrackWriteFastSim
TrackWriteFastSim
StoppedParticleFastSim.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRACKWRITEFASTSIM_StoppedParticleFastSim_h
6
#define TRACKWRITEFASTSIM_StoppedParticleFastSim_h
7
8
//Base class header
9
#include "G4VFastSimulationModel.hh"
10
#include <G4Region.hh>
11
12
//STL headers
13
#include <string>
14
15
class
TrackFastSimSD
;
16
17
class
StoppedParticleFastSim
:
public
G4VFastSimulationModel
18
{
19
public
:
20
21
StoppedParticleFastSim
(
const
std::string& name, G4Region* region,
const
std::string& fsSDname);
22
~StoppedParticleFastSim
() {}
23
24
// Fast Sim Methods
25
G4bool
IsApplicable
(
const
G4ParticleDefinition&)
override
final
;
26
virtual
G4bool
ModelTrigger
(
const
G4FastTrack &)
override
final
;
27
void
DoIt
(
const
G4FastTrack&, G4FastStep&)
override
final
;
28
29
protected
:
30
31
TrackFastSimSD
*
m_fsSD
{};
32
bool
m_init
{
false
};
33
std::string
m_fsSDname
{
""
};
34
};
35
36
#endif
// TRACKWRITEFASTSIM_StoppedParticleFastSim_h
StoppedParticleFastSim::StoppedParticleFastSim
StoppedParticleFastSim(const std::string &name, G4Region *region, const std::string &fsSDname)
Definition
StoppedParticleFastSim.cxx:24
StoppedParticleFastSim::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition
StoppedParticleFastSim.cxx:30
StoppedParticleFastSim::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition
StoppedParticleFastSim.cxx:57
StoppedParticleFastSim::m_fsSDname
std::string m_fsSDname
Definition
StoppedParticleFastSim.h:33
StoppedParticleFastSim::ModelTrigger
virtual G4bool ModelTrigger(const G4FastTrack &) override final
Definition
StoppedParticleFastSim.cxx:35
StoppedParticleFastSim::m_fsSD
TrackFastSimSD * m_fsSD
Definition
StoppedParticleFastSim.h:31
StoppedParticleFastSim::~StoppedParticleFastSim
~StoppedParticleFastSim()
Definition
StoppedParticleFastSim.h:22
StoppedParticleFastSim::m_init
bool m_init
Definition
StoppedParticleFastSim.h:32
TrackFastSimSD
Definition
TrackFastSimSD.h:24
Generated on
for ATLAS Offline Software by
1.17.0