ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4FastSimulation
src
FatrasG4Tool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FatrasG4Tool.h
"
6
#include "
FatrasG4.h
"
7
8
9
FatrasG4Tool::FatrasG4Tool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent)
10
:
FastSimulationBase
(
type
, name, parent)
11
{
12
}
13
14
G4VFastSimulationModel*
FatrasG4Tool::makeFastSimModel
()
15
{
16
ATH_MSG_DEBUG
(
"Initializing Fast Simulation Model FatrasG4"
);
17
18
// Create the FatrasG4 fast simulation model
19
return
new
FatrasG4
(name(),
getRegion
());
20
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
FatrasG4Tool.h
FatrasG4.h
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
FatrasG4Tool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition
FatrasG4Tool.cxx:14
FatrasG4Tool::FatrasG4Tool
FatrasG4Tool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition
FatrasG4Tool.cxx:9
FatrasG4
Definition
FatrasG4.h:14
type
Generated on
for ATLAS Offline Software by
1.14.0