ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_ElectricFieldTool.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
12
13
14#ifndef SCT_ElectricFieldTool_h
15#define SCT_ElectricFieldTool_h
16
19
20#include "TF1.h"
21
26class SCT_ElectricFieldTool: public extends<AthAlgTool, ISCT_ElectricFieldTool>
27{
28 public:
29 SCT_ElectricFieldTool(const std::string& t, const std::string& n, const IInterface* p);
30
31 virtual ~SCT_ElectricFieldTool() = default;
32 virtual StatusCode initialize() override;
33 virtual StatusCode finalize() override;
34
35 virtual double getElectricField(double positionZ,
36 double fluence,
37 double depletionVoltage,
38 double sensorThickness,
39 double biasVoltage) const override;
40 private:
42
43 IntegerProperty m_eFieldModel{this, "EFieldModel", FLAT_DIODE, "UNIFORM_FIELD=0 uniform E-field model, FLAT_DIODE=1 flat diode model"};
44 TF1 m_model{"pol6", "pol6", 0., 0.03};
45};
46
47#endif // SCT_ElectricFieldTool_h
SCT_ElectricFieldTool(const std::string &t, const std::string &n, const IInterface *p)
virtual StatusCode initialize() override
virtual double getElectricField(double positionZ, double fluence, double depletionVoltage, double sensorThickness, double biasVoltage) const override
virtual StatusCode finalize() override
virtual ~SCT_ElectricFieldTool()=default