|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "CLHEP/Units/SystemOfUnits.h"
76 float ch{
static_cast<float>(
charge.charge())};
77 float tC{
static_cast<float>(timeOfThreshold -
charge.time())};
87 short bin_max{
static_cast<short>(
response.size())};
91 float ch{
static_cast<float>(
charge.charge())};
92 float ch_time{
static_cast<float>(
charge.time())};
93 short bin_end{
static_cast<short>(bin_max-1)};
95 float bin_timeOfThreshold{timeOfThreshold +
bin*25};
96 float tC{bin_timeOfThreshold - ch_time};
113 float ch{
static_cast<float>(
charge.charge())};
114 float tC{
static_cast<float>(timeOfThreshold -
charge.time())};
124 short bin_max{
static_cast<short>(
response.size())};
128 float ch{
static_cast<float>(
charge.charge())};
129 float ch_time{
static_cast<float>(
charge.time())};
130 short bin_end{
static_cast<short>(bin_max-1)};
131 for (
short bin{-1};
bin<bin_end; ++
bin) {
132 float bin_timeOfThreshold{timeOfThreshold +
bin*25};
133 float tC{bin_timeOfThreshold - ch_time};
virtual StatusCode finalize() override
AlgTool finalize.
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
FloatProperty m_CrossFactorBack
cross factor
SCT_Amp(const std::string &type, const std::string &name, const IInterface *parent)
constructor
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
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.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
AlgTool initialize.
float m_NormConstCentral
Normalisation factor for the signal response.
FloatProperty m_CrossFactor2sides
Cross factor 2 side.
void fill(H5::Group &out_file, size_t iterations)
float m_NormConstNeigh
Normalisation factor for the neighbour strip signal response.
double charge(const T &p)
FloatProperty m_PeakTime
signal peak time