ATLAS Offline Software
Loading...
Searching...
No Matches
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
9FatrasG4Tool::FatrasG4Tool(const std::string& type, const std::string& name, const IInterface *parent)
10: FastSimulationBase(type, name, parent)
11{
12}
13
14G4VFastSimulationModel* 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}
#define ATH_MSG_DEBUG(x)
FastSimulationBase(const std::string &type, const std::string &name, const IInterface *parent)
G4Region * getRegion() const
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
FatrasG4Tool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.