ATLAS Offline Software
Loading...
Searching...
No Matches
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
7
8// the Fast Sim Model itself
9#include "SimpleFastKiller.h"
10
11SimpleFastKillerTool::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
18{
19 ATH_MSG_DEBUG( "Initializing Fast Sim Model" );
20
21 // Create a fresh Fast Sim Model
22 return new SimpleFastKiller(name(), getRegion());
23}
#define ATH_MSG_DEBUG(x)
Gaudi::Property< std::string > m_regionName
The region to which this fast sim is assigned.
FastSimulationBase(const std::string &type, const std::string &name, const IInterface *parent)
G4Region * getRegion() const
SimpleFastKillerTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.