ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4FastSimulation
src
SimpleFastKillerTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// class header include
6
#include "
SimpleFastKillerTool.h
"
7
8
// the Fast Sim Model itself
9
#include "
SimpleFastKiller.h
"
10
11
SimpleFastKillerTool::SimpleFastKillerTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent)
12
:
FastSimulationBase
(
type
,name,parent)
13
{
14
m_regionName
.setValue({
"BeampipeFwdCut"
});
15
}
16
17
G4VFastSimulationModel*
SimpleFastKillerTool::makeFastSimModel
()
18
{
19
ATH_MSG_DEBUG
(
"Initializing Fast Sim Model"
);
20
21
// Create a fresh Fast Sim Model
22
return
new
SimpleFastKiller
(name(),
getRegion
());
23
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
SimpleFastKillerTool.h
SimpleFastKiller.h
FastSimulationBase::m_regionName
Gaudi::Property< std::string > m_regionName
The region to which this fast sim is assigned.
Definition
FastSimulationBase.h:52
FastSimulationBase::FastSimulationBase
FastSimulationBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FastSimulationBase.cxx:13
FastSimulationBase::getRegion
G4Region * getRegion() const
Definition
FastSimulationBase.cxx:18
SimpleFastKillerTool::SimpleFastKillerTool
SimpleFastKillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
SimpleFastKillerTool.cxx:11
SimpleFastKillerTool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition
SimpleFastKillerTool.cxx:17
SimpleFastKiller
Definition
SimpleFastKiller.h:15
type
Generated on
for ATLAS Offline Software by
1.14.0