ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
TrackWriteFastSim
src
StoppedParticleFastSimTool.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 TRACKWRITEFASTSIM_StoppedParticleFastSimTool_h
6
#define TRACKWRITEFASTSIM_StoppedParticleFastSimTool_h
7
8
#include "
G4AtlasTools/FastSimulationBase.h
"
9
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
G4AtlasInterfaces/ISensitiveDetector.h
"
// What we have a handle on
12
13
class
G4VFastSimulationModel;
14
15
class
StoppedParticleFastSimTool
:
public
FastSimulationBase
16
{
17
public
:
18
19
StoppedParticleFastSimTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
20
~StoppedParticleFastSimTool
() {}
21
StatusCode
initialize
() override final;
22
protected
:
26
virtual G4VFastSimulationModel*
makeFastSimModel
() override final;
27
private
:
28
ToolHandle<
ISensitiveDetector
>
m_trackFastSimSDTool
;
29
};
30
31
#endif
// TRACKWRITEFASTSIM_StoppedParticleFastSimTool_h
FastSimulationBase.h
ISensitiveDetector.h
FastSimulationBase::FastSimulationBase
FastSimulationBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FastSimulationBase.cxx:13
ISensitiveDetector
Abstract interface to service for Geant4 sensitive detector classes.
Definition
ISensitiveDetector.h:21
StoppedParticleFastSimTool::initialize
StatusCode initialize() override final
Definition
StoppedParticleFastSimTool.cxx:14
StoppedParticleFastSimTool::~StoppedParticleFastSimTool
~StoppedParticleFastSimTool()
Definition
StoppedParticleFastSimTool.h:20
StoppedParticleFastSimTool::StoppedParticleFastSimTool
StoppedParticleFastSimTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
StoppedParticleFastSimTool.cxx:8
StoppedParticleFastSimTool::m_trackFastSimSDTool
ToolHandle< ISensitiveDetector > m_trackFastSimSDTool
Definition
StoppedParticleFastSimTool.h:28
StoppedParticleFastSimTool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition
StoppedParticleFastSimTool.cxx:21
type
protected
#define protected
Definition
testRead.cxx:26
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0