ATLAS Offline Software
SCT_RadDamageSummaryTool.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_RADDAMAGESUMMARYTOOL_H
8 #define SCT_RADDAMAGESUMMARYTOOL_H
9 
11 
14 
15 #include <string>
16 
17 class IdentifierHash;
18 
19 // ----------------------------------------------------------------------------- //
20 // -- Summary tool for radiation damage related tools
21 // Provides access to SCT_ChargeTrappingTool
22 //
23 // primary author for Pixels: Carolina Deluca <carolina.deluca.silberberg@cern.ch>
24 // author for SCT: Peter Vankov <peter.vankov@cern.ch>,
25 // Marco Filipuzzi <marco.filipuzzi@cern.ch>
26 // date: 2012-05-18
27 // ----------------------------------------------------------------------------- //
28 
29 class SCT_RadDamageSummaryTool: public extends<AthAlgTool, ISCT_RadDamageSummaryTool> {
30 
31  public:
32  SCT_RadDamageSummaryTool(const std::string& type, const std::string& name, const IInterface* parent);
33  virtual ~SCT_RadDamageSummaryTool() = default;
34  virtual StatusCode initialize() override;
35  virtual StatusCode finalize() override;
36 
37  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;
38  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;
39  virtual SCT_ChargeTrappingCondData getCondData(const IdentifierHash& elementHash, const double& zpos, const EventContext& ctx) const override;
40  virtual SCT_ChargeTrappingCondData getCondData(const IdentifierHash& elementHash, const double& zpos) const override;
41 
42  private:
43  ToolHandle<ISCT_ChargeTrappingTool> m_chargeTrappingTool{this, "ChargeTrappingTool", "SCT_ChargeTrappingTool", "Tool to retrieve charge trapping properties"};
44 };
45 
46 #endif // SCT_RADDAMAGESUMMARYTOOL_H
SCT_RadDamageSummaryTool::SCT_RadDamageSummaryTool
SCT_RadDamageSummaryTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SCT_RadDamageSummaryTool.cxx:10
SCT_ChargeTrappingCondData
Data object for SCT_ChargeTrappingTool, SCT_RadDamageSummaryTool, SCT_SurfaceChargesGenerator.
Definition: SCT_ChargeTrappingCondData.h:22
SCT_RadDamageSummaryTool::~SCT_RadDamageSummaryTool
virtual ~SCT_RadDamageSummaryTool()=default
SCT_RadDamageSummaryTool::finalize
virtual StatusCode finalize() override
Definition: SCT_RadDamageSummaryTool.cxx:26
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
ISCT_RadDamageSummaryTool.h
ISCT_ChargeTrappingTool.h
SCT_RadDamageSummaryTool::m_chargeTrappingTool
ToolHandle< ISCT_ChargeTrappingTool > m_chargeTrappingTool
Definition: SCT_RadDamageSummaryTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SCT_RadDamageSummaryTool
Definition: SCT_RadDamageSummaryTool.h:29
SCT_RadDamageSummaryTool::initialize
virtual StatusCode initialize() override
Definition: SCT_RadDamageSummaryTool.cxx:16
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:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25