ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4FastSimulation
src
FastCaloSimTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FastCaloSimTool.h
"
6
#include "
FastCaloSim.h
"
7
8
9
FastCaloSimTool::FastCaloSimTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent)
10
:
FastSimulationBase
(
type
, name, parent)
11
{
12
}
13
14
G4VFastSimulationModel*
FastCaloSimTool::makeFastSimModel
()
15
{
16
ATH_MSG_DEBUG
(
"Initializing Fast Sim Model"
);
17
18
// Create the FastCaloSim fast simulation model
19
return
new
FastCaloSim
(name(),
getRegion
(),
m_FastCaloSimCaloTransportation
,
m_FastCaloSimCaloExtrapolation
,
m_G4CaloTransportTool
,
m_PunchThroughSimWrapper
,
m_FastCaloSimSvc
,
m_CaloCellContainerSDName
,
m_doG4Transport
,
m_doPunchThrough
,
this
);
20
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
FastCaloSimTool.h
FastCaloSim.h
FastCaloSimTool::FastCaloSimTool
FastCaloSimTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition
FastCaloSimTool.cxx:9
FastCaloSimTool::m_doPunchThrough
Gaudi::Property< bool > m_doPunchThrough
Definition
FastCaloSimTool.h:53
FastCaloSimTool::m_FastCaloSimCaloTransportation
PublicToolHandle< IFastCaloSimCaloTransportation > m_FastCaloSimCaloTransportation
Definition
FastCaloSimTool.h:40
FastCaloSimTool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition
FastCaloSimTool.cxx:14
FastCaloSimTool::m_doG4Transport
Gaudi::Property< bool > m_doG4Transport
Definition
FastCaloSimTool.h:51
FastCaloSimTool::m_PunchThroughSimWrapper
PublicToolHandle< IPunchThroughSimWrapper > m_PunchThroughSimWrapper
Definition
FastCaloSimTool.h:46
FastCaloSimTool::m_G4CaloTransportTool
PublicToolHandle< IG4CaloTransportTool > m_G4CaloTransportTool
Definition
FastCaloSimTool.h:44
FastCaloSimTool::m_FastCaloSimCaloExtrapolation
PublicToolHandle< IFastCaloSimCaloExtrapolation > m_FastCaloSimCaloExtrapolation
Definition
FastCaloSimTool.h:42
FastCaloSimTool::m_CaloCellContainerSDName
Gaudi::Property< std::string > m_CaloCellContainerSDName
Definition
FastCaloSimTool.h:49
FastCaloSimTool::m_FastCaloSimSvc
ServiceHandle< ISF::IFastCaloSimParamSvc > m_FastCaloSimSvc
Definition
FastCaloSimTool.h:38
FastCaloSim
Definition
FastCaloSim.h:32
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
type
Generated on
for ATLAS Offline Software by
1.17.0