ATLAS Offline Software
SCT_Amp.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
19 #ifndef SCT_DIGITIZATION_SCTAMP_H
20 #define SCT_DIGITIZATION_SCTAMP_H
21 
24 
25 #include "InDetSimEvent/SiCharge.h"
26 
27 class SCT_Amp : public extends<AthAlgTool, IAmplifier> {
28  public:
29 
31  SCT_Amp(const std::string& type, const std::string& name, const IInterface* parent);
33  virtual ~SCT_Amp() = default;
35  virtual StatusCode initialize() override;
37  virtual StatusCode finalize() override;
38 
40  virtual float response(const list_t& Charges, const float timeOverThreshold) const override;
41  virtual void response(const list_t& Charges, const float timeOverThreshold, std::vector<float>& resp) const override;
42 
44  virtual float crosstalk(const list_t& Charges, const float timeOverThreshold) const override;
45  virtual void crosstalk(const list_t& Charges, const float timeOverThreshold, std::vector<float>& resp) const override;
46 
47 private:
48 
50  FloatProperty m_PeakTime{this, "PeakTime", 21., "Front End Electronics peaking time"};
51 
53  FloatProperty m_CrossFactor2sides{this, "CrossFactor2sides", 0.1, "Loss of charge to neighbour strip constant"};
54 
56  FloatProperty m_CrossFactorBack{this, "CrossFactorBack", 0.07, "Loss of charge to back plane constant"};
57 
58  FloatProperty m_tmin{this, "Tmin", -25.0};
59  FloatProperty m_tmax{this, "Tmax", 150.0};
60  FloatProperty m_dt{this, "deltaT", 1.0};
61 
63  float m_NormConstCentral{0.};
64 
66  float m_NormConstNeigh{0.};
67 };
68 
69 #endif // SCT_DIGITIZATION_SCTAMP_H
SCT_Amp::finalize
virtual StatusCode finalize() override
AlgTool finalize.
Definition: SCT_Amp.cxx:59
SCT_Amp::m_dt
FloatProperty m_dt
Definition: SCT_Amp.h:60
SCT_Amp::m_CrossFactorBack
FloatProperty m_CrossFactorBack
cross factor
Definition: SCT_Amp.h:56
SCT_Amp::SCT_Amp
SCT_Amp(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: SCT_Amp.cxx:17
SCT_Amp::response
virtual float response(const list_t &Charges, const float timeOverThreshold) const override
main purpose: CR-RC^3 response to a list of charges with times
Definition: SCT_Amp.cxx:72
SCT_Amp::crosstalk
virtual float crosstalk(const list_t &Charges, const float timeOverThreshold) const override
Neighbour strip cross talk response strip to a list of charges with times.
Definition: SCT_Amp.cxx:109
SCT_Amp
Header file for SCT_Amp Class
Definition: SCT_Amp.h:27
SCT_Amp::~SCT_Amp
virtual ~SCT_Amp()=default
Destructor.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_Amp::initialize
virtual StatusCode initialize() override
AlgTool initialize.
Definition: SCT_Amp.cxx:25
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SCT_Amp::m_NormConstCentral
float m_NormConstCentral
Normalisation factor for the signal response.
Definition: SCT_Amp.h:63
SCT_Amp::m_CrossFactor2sides
FloatProperty m_CrossFactor2sides
Cross factor 2 side.
Definition: SCT_Amp.h:53
SCT_Amp::m_NormConstNeigh
float m_NormConstNeigh
Normalisation factor for the neighbour strip signal response.
Definition: SCT_Amp.h:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IAmplifier.h
SCT_Amp::m_tmin
FloatProperty m_tmin
Definition: SCT_Amp.h:58
SCT_Amp::m_tmax
FloatProperty m_tmax
Definition: SCT_Amp.h:59
SiCharge.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SCT_Amp::m_PeakTime
FloatProperty m_PeakTime
signal peak time
Definition: SCT_Amp.h:50
timeOverThreshold
double timeOverThreshold(unsigned int m_word)
Definition: driftCircle.h:116