ATLAS Offline Software
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_regionNames
.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
());
23
}
SimpleFastKillerTool.h
FastSimulationBase
Definition:
FastSimulationBase.h:26
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
SimpleFastKiller.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
FastSimulationBase::m_regionNames
Gaudi::Property< std::vector< std::string > > m_regionNames
All the regions to which this fast sim is assigned.
Definition:
FastSimulationBase.h:53
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
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
SimpleFastKillerTool::SimpleFastKillerTool
SimpleFastKillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
SimpleFastKillerTool.cxx:11
SimpleFastKiller
Definition:
SimpleFastKiller.h:15
Generated on Fri Jan 10 2025 21:17:44 for ATLAS Offline Software by
1.8.18