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_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:195
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