ATLAS Offline Software
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
(), verboseLevel,
m_FwdTrSvcName
);
24
25
}
FastSimulationBase
Definition:
FastSimulationBase.h:26
ForwardTransportModelTool::ForwardTransportModelTool
ForwardTransportModelTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
ForwardTransportModelTool.cxx:9
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ForwardTransportModelTool.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
ForwardTransportModel.h
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
DEBUG
#define DEBUG
Definition:
page_access.h:11
ForwardTransportModel
Definition:
ForwardTransportModel.h:15
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
python.Constants.VERBOSE
int VERBOSE
Definition:
Control/AthenaCommon/python/Constants.py:14
ForwardTransportModelTool::m_FwdTrSvcName
std::string m_FwdTrSvcName
Definition:
ForwardTransportModelTool.h:26
Generated on Thu Nov 7 2024 21:15:23 for ATLAS Offline Software by
1.8.18