Header file for ITkStripAmp Class
Dummy Amplifier for ITkStrips.
More...
#include <ITkStripAmp.h>
|
| virtual | ~ITkStripAmp ()=default |
| | Destructor.
|
| virtual StatusCode | initialize () override |
| | AlgTool initialize.
|
| virtual float | response (const list_t &Charges, const float timeOverThreshold) const override |
| virtual void | response (const list_t &Charges, const float time, std::vector< float > &resp) const override |
| 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.
|
| virtual void | crosstalk (const list_t &Charges, const float timeOverThreshold, std::vector< float > &resp) const override |
Header file for ITkStripAmp Class
Dummy Amplifier for ITkStrips.
Definition at line 19 of file ITkStripAmp.h.
◆ ~ITkStripAmp()
| virtual ITkStripAmp::~ITkStripAmp |
( |
| ) |
|
|
virtualdefault |
◆ crosstalk() [1/2]
| float ITkStripAmp::crosstalk |
( |
const list_t & | Charges, |
|
|
const float | timeOverThreshold ) const |
|
overridevirtual |
Neighbour strip cross talk response strip to a list of charges with times.
Definition at line 55 of file ITkStripAmp.cxx.
55 {
56 float resp{1};
57 return resp;
58}
◆ crosstalk() [2/2]
| void ITkStripAmp::crosstalk |
( |
const list_t & | Charges, |
|
|
const float | timeOverThreshold, |
|
|
std::vector< float > & | resp ) const |
|
overridevirtual |
Definition at line 60 of file ITkStripAmp.cxx.
60 {
62}
virtual float response(const list_t &Charges, const float timeOverThreshold) const override
◆ initialize()
| StatusCode ITkStripAmp::initialize |
( |
| ) |
|
|
overridevirtual |
AlgTool initialize.
Definition at line 17 of file ITkStripAmp.cxx.
17 {
22}
FloatProperty m_PeakTime
signal peak time
::StatusCode StatusCode
StatusCode definition for legacy code.
◆ response() [1/2]
| void ITkStripAmp::response |
( |
const list_t & | Charges, |
|
|
const float | time, |
|
|
std::vector< float > & | resp ) const |
|
overridevirtual |
Definition at line 32 of file ITkStripAmp.cxx.
32 {
36 for (
const SiCharge&
charge: Charges) {
37 float ch{
static_cast<float>(
charge.charge())};
38 float ch_time{
static_cast<float>(
charge.time())};
39 auto bin_end{bin_max-1};
40 for (
int bin{-1};
bin<bin_end; ++
bin) {
42 float tC{bin_time - ch_time};
43 if (tC > 0.0f) {
46 }
47 }
48 }
50}
double charge(const T &p)
time(flags, cells_name, *args, **kw)
◆ response() [2/2]
| float ITkStripAmp::response |
( |
const list_t & | Charges, |
|
|
const float | timeOverThreshold ) const |
|
overridevirtual |
Definition at line 27 of file ITkStripAmp.cxx.
27 {
28 float resp{1.0f};
29 return resp;
30}
◆ m_NormConstCentral
| float ITkStripAmp::m_NormConstCentral {0.} |
|
private |
◆ m_PeakTime
| FloatProperty ITkStripAmp::m_PeakTime {this, "PeakTime", 25., "Front End Electronics peaking time"} |
|
private |
signal peak time
Definition at line 38 of file ITkStripAmp.h.
38{this, "PeakTime", 25., "Front End Electronics peaking time"};
The documentation for this class was generated from the following files: