ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsTools
src
SCT_RadDamageSummaryTool.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 "
SCT_RadDamageSummaryTool.h
"
6
7
#include "
Identifier/IdentifierHash.h
"
8
9
// -- constructor
10
SCT_RadDamageSummaryTool::SCT_RadDamageSummaryTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent) :
11
base_class(
type
, name, parent)
12
{
13
}
14
15
//-- initialize
16
StatusCode
SCT_RadDamageSummaryTool::initialize
() {
17
ATH_MSG_INFO
(
"Initializing SCT_RadDamageSummaryTool"
);
18
19
ATH_CHECK
(
m_chargeTrappingTool
.retrieve());
20
ATH_MSG_INFO
(
"SCT_ChargeTrappingTool retrieved"
);
21
22
return
StatusCode::SUCCESS;
23
}
24
25
// -- finalize
26
StatusCode
SCT_RadDamageSummaryTool::finalize
() {
27
ATH_MSG_INFO
(
"Finalizing SCT_RadDamageSummaryTool"
);
28
29
return
StatusCode::SUCCESS;
30
}
31
32
SCT_ChargeTrappingCondData
SCT_RadDamageSummaryTool::getCondData
(
const
IdentifierHash
& elementHash,
const
double
& zpos,
const
EventContext& ctx)
const
{
33
return
m_chargeTrappingTool
->getCondData(elementHash, zpos, ctx);
34
}
35
36
void
SCT_RadDamageSummaryTool::holeTransport
(
double
& x0,
double
& y0,
double
& xfin,
double
& yfin,
double
& Q_m2,
double
& Q_m1,
double
& Q_00,
double
& Q_p1,
double
& Q_p2,
const
EventContext& ctx)
const
{
37
m_chargeTrappingTool
->getHoleTransport(x0, y0, xfin, yfin, Q_m2, Q_m1, Q_00, Q_p1, Q_p2, ctx);
38
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
IdentifierHash.h
SCT_RadDamageSummaryTool.h
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
SCT_ChargeTrappingCondData
Data object for SCT_ChargeTrappingTool, SCT_RadDamageSummaryTool, SCT_SurfaceChargesGenerator.
Definition
SCT_ChargeTrappingCondData.h:22
SCT_RadDamageSummaryTool::getCondData
virtual SCT_ChargeTrappingCondData getCondData(const IdentifierHash &elementHash, const double &zpos, const EventContext &ctx) const override
Definition
SCT_RadDamageSummaryTool.cxx:32
SCT_RadDamageSummaryTool::SCT_RadDamageSummaryTool
SCT_RadDamageSummaryTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
SCT_RadDamageSummaryTool.cxx:10
SCT_RadDamageSummaryTool::holeTransport
virtual void holeTransport(double &x0, double &y0, double &xfin, double &yfin, double &Q_m2, double &Q_m1, double &Q_00, double &Q_p1, double &Q_p2, const EventContext &ctx) const override
Definition
SCT_RadDamageSummaryTool.cxx:36
SCT_RadDamageSummaryTool::m_chargeTrappingTool
ToolHandle< ISCT_ChargeTrappingTool > m_chargeTrappingTool
Definition
SCT_RadDamageSummaryTool.h:41
SCT_RadDamageSummaryTool::initialize
virtual StatusCode initialize() override
Definition
SCT_RadDamageSummaryTool.cxx:16
SCT_RadDamageSummaryTool::finalize
virtual StatusCode finalize() override
Definition
SCT_RadDamageSummaryTool.cxx:26
type
Generated on
for ATLAS Offline Software by
1.17.0