ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ElectronicResponse::AtReducedTimeResponse Class Reference

Response of GET electronics given by a function of the reduced time. More...

#include <AtElectronicResponse.h>

Inheritance diagram for ElectronicResponse::AtReducedTimeResponse:
Inheritance graph
[legend]
Collaboration diagram for ElectronicResponse::AtReducedTimeResponse:
Collaboration graph
[legend]

Public Member Functions

 AtReducedTimeResponse (double peakingTime, ReducedResponse response)
 
- Public Member Functions inherited from ElectronicResponse::AtElectronicResponse
virtual ~AtElectronicResponse ()=default
 
double operator() (double time) const
 
double operator() (int padNum, double time) const
 

Protected Types

using ReducedResponse = std::function< double(double)>
 

Protected Member Functions

virtual double GetResponse (double time) const override
 
virtual double GetResponse (int padNum, double time) const override
 

Protected Attributes

double fPeakingTime
 
ReducedResponse fResponse
 Electric peaking time in us. More...
 

Detailed Description

Response of GET electronics given by a function of the reduced time.

Definition at line 69 of file AtElectronicResponse.h.

Member Typedef Documentation

◆ ReducedResponse

using ElectronicResponse::AtReducedTimeResponse::ReducedResponse = std::function<double(double)>
protected

Definition at line 71 of file AtElectronicResponse.h.

Constructor & Destructor Documentation

◆ AtReducedTimeResponse()

AtReducedTimeResponse::AtReducedTimeResponse ( double  peakingTime,
ReducedResponse  response 
)
Parameters
[in]peakingTimePeaking time of the electronics in us.
[in]responseFunction pointer (or callable object) where the input is the reduced time and output is the response function value at that reduced time.

Definition at line 26 of file AtElectronicResponse.cxx.

Member Function Documentation

◆ GetResponse() [1/2]

double AtReducedTimeResponse::GetResponse ( double  time) const
overrideprotectedvirtual

Implements ElectronicResponse::AtElectronicResponse.

Definition at line 31 of file AtElectronicResponse.cxx.

◆ GetResponse() [2/2]

virtual double ElectronicResponse::AtReducedTimeResponse::GetResponse ( int  padNum,
double  time 
) const
inlineoverrideprotectedvirtual

Implements ElectronicResponse::AtElectronicResponse.

Definition at line 80 of file AtElectronicResponse.h.

Member Data Documentation

◆ fPeakingTime

double ElectronicResponse::AtReducedTimeResponse::fPeakingTime
protected

Definition at line 72 of file AtElectronicResponse.h.

◆ fResponse

ReducedResponse ElectronicResponse::AtReducedTimeResponse::fResponse
protected

Electric peaking time in us.

Definition at line 73 of file AtElectronicResponse.h.


The documentation for this class was generated from the following files: