ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ForwardTransport
src
ForwardTransportModelTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ForwardTransportModelTool.h
"
6
7
#include "
ForwardTransportModel.h
"
8
9
ForwardTransportModelTool::ForwardTransportModelTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent)
10
:
FastSimulationBase
(
type
,name,parent)
11
{
12
declareProperty(
"ForwardTransportSvcName"
,
m_FwdTrSvcName
=
"ForwardTransportSvc"
,
""
);
13
}
14
15
G4VFastSimulationModel*
ForwardTransportModelTool::makeFastSimModel
()
16
{
17
ATH_MSG_DEBUG
(
"Initializing Fast Sim Model"
);
18
19
int
verboseLevel(0);
20
if
(msgLvl(MSG::VERBOSE)) verboseLevel = 10;
21
else
if
(msgLvl(MSG::DEBUG)) verboseLevel = 5;
22
// Create a fresh Fast Sim Model
23
return
new
ForwardTransportModel
(name(),
getRegion
(), verboseLevel,
m_FwdTrSvcName
);
24
25
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
ForwardTransportModelTool.h
ForwardTransportModel.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
ForwardTransportModelTool::ForwardTransportModelTool
ForwardTransportModelTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ForwardTransportModelTool.cxx:9
ForwardTransportModelTool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition
ForwardTransportModelTool.cxx:15
ForwardTransportModelTool::m_FwdTrSvcName
std::string m_FwdTrSvcName
Definition
ForwardTransportModelTool.h:26
ForwardTransportModel
Definition
ForwardTransportModel.h:16
type
Generated on
for ATLAS Offline Software by
1.17.0