ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
SCT_RadDamageSummaryTool Class Reference

#include <SCT_RadDamageSummaryTool.h>

Inheritance diagram for SCT_RadDamageSummaryTool:
Collaboration diagram for SCT_RadDamageSummaryTool:

Public Member Functions

 SCT_RadDamageSummaryTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~SCT_RadDamageSummaryTool ()=default
 
virtual StatusCode initialize () override
 
virtual StatusCode finalize () override
 
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
 
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 override
 
virtual SCT_ChargeTrappingCondData getCondData (const IdentifierHash &elementHash, const double &zpos, const EventContext &ctx) const override
 
virtual SCT_ChargeTrappingCondData getCondData (const IdentifierHash &elementHash, const double &zpos) const override
 

Private Attributes

ToolHandle< ISCT_ChargeTrappingToolm_chargeTrappingTool {this, "ChargeTrappingTool", "SCT_ChargeTrappingTool", "Tool to retrieve charge trapping properties"}
 

Detailed Description

Definition at line 29 of file SCT_RadDamageSummaryTool.h.

Constructor & Destructor Documentation

◆ SCT_RadDamageSummaryTool()

SCT_RadDamageSummaryTool::SCT_RadDamageSummaryTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 10 of file SCT_RadDamageSummaryTool.cxx.

10  :
11  base_class(type, name, parent)
12 {
13 }

◆ ~SCT_RadDamageSummaryTool()

virtual SCT_RadDamageSummaryTool::~SCT_RadDamageSummaryTool ( )
virtualdefault

Member Function Documentation

◆ finalize()

StatusCode SCT_RadDamageSummaryTool::finalize ( )
overridevirtual

Definition at line 26 of file SCT_RadDamageSummaryTool.cxx.

26  {
27  ATH_MSG_INFO("Finalizing SCT_RadDamageSummaryTool");
28 
29  return StatusCode::SUCCESS;
30 }

◆ getCondData() [1/2]

SCT_ChargeTrappingCondData SCT_RadDamageSummaryTool::getCondData ( const IdentifierHash elementHash,
const double &  zpos 
) const
overridevirtual

Definition at line 36 of file SCT_RadDamageSummaryTool.cxx.

36  {
37  const EventContext& ctx{Gaudi::Hive::currentContext()};
38  return getCondData(elementHash, zpos, ctx);
39 }

◆ getCondData() [2/2]

SCT_ChargeTrappingCondData SCT_RadDamageSummaryTool::getCondData ( const IdentifierHash elementHash,
const double &  zpos,
const EventContext &  ctx 
) const
overridevirtual

Definition at line 32 of file SCT_RadDamageSummaryTool.cxx.

32  {
33  return m_chargeTrappingTool->getCondData(elementHash, zpos, ctx);
34 }

◆ holeTransport() [1/2]

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
overridevirtual

Definition at line 45 of file SCT_RadDamageSummaryTool.cxx.

45  {
46  const EventContext& ctx{Gaudi::Hive::currentContext()};
47  holeTransport(x0, y0, xfin, yfin, Q_m2, Q_m1, Q_00, Q_p1, Q_p2, ctx);
48 }

◆ holeTransport() [2/2]

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
overridevirtual

Definition at line 41 of file SCT_RadDamageSummaryTool.cxx.

41  {
42  m_chargeTrappingTool->getHoleTransport(x0, y0, xfin, yfin, Q_m2, Q_m1, Q_00, Q_p1, Q_p2, ctx);
43 }

◆ initialize()

StatusCode SCT_RadDamageSummaryTool::initialize ( )
overridevirtual

Definition at line 16 of file SCT_RadDamageSummaryTool.cxx.

16  {
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 }

Member Data Documentation

◆ m_chargeTrappingTool

ToolHandle<ISCT_ChargeTrappingTool> SCT_RadDamageSummaryTool::m_chargeTrappingTool {this, "ChargeTrappingTool", "SCT_ChargeTrappingTool", "Tool to retrieve charge trapping properties"}
private

Definition at line 43 of file SCT_RadDamageSummaryTool.h.


The documentation for this class was generated from the following files:
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
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:41
SCT_RadDamageSummaryTool::m_chargeTrappingTool
ToolHandle< ISCT_ChargeTrappingTool > m_chargeTrappingTool
Definition: SCT_RadDamageSummaryTool.h:43
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
SCT_RadDamageSummaryTool::getCondData
virtual SCT_ChargeTrappingCondData getCondData(const IdentifierHash &elementHash, const double &zpos, const EventContext &ctx) const override
Definition: SCT_RadDamageSummaryTool.cxx:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78