ATLAS Offline Software
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)
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 }
SimpleFastKillerTool.h
FastSimulationBase::m_regionName
Gaudi::Property< std::string > m_regionName
The region to which this fast sim is assigned.
Definition: FastSimulationBase.h:57
FastSimulationBase
Definition: FastSimulationBase.h:27
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
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:240
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
FastSimulationBase::getRegion
G4Region * getRegion() const
Definition: FastSimulationBase.cxx:22
SimpleFastKillerTool::SimpleFastKillerTool
SimpleFastKillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SimpleFastKillerTool.cxx:11
SimpleFastKiller
Definition: SimpleFastKiller.h:15