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

Response function speficied as a trace in a txt file. More...

#include <AtElectronicResponse.h>

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

Public Member Functions

 AtFileResponse (double tbTime, std::string filePath)
 
- Public Member Functions inherited from ElectronicResponse::AtVectorResponse
 AtVectorResponse (double tbTime, std::vector< double > trace)
 
- Public Member Functions inherited from ElectronicResponse::AtElectronicResponse
virtual ~AtElectronicResponse ()=default
 
double operator() (double time) const
 
double operator() (int padNum, double time) const
 

Additional Inherited Members

- Protected Member Functions inherited from ElectronicResponse::AtVectorResponse
virtual double GetResponse (double time) const override
 
virtual double GetResponse (int padNum, double time) const override
 
- Protected Attributes inherited from ElectronicResponse::AtVectorResponse
double fTBTime
 
std::vector< double > fTrace
 Width of a time bucket in us. More...
 

Detailed Description

Response function speficied as a trace in a txt file.

Definition at line 109 of file AtElectronicResponse.h.

Constructor & Destructor Documentation

◆ AtFileResponse()

AtFileResponse::AtFileResponse ( double  tbTime,
std::string  filePath 
)

The text file is assumed to have the response function at the following points: (0.5 * tbTime, 1.5 * tbTime, 2.5 * tbTime, ...), with each point on a new line

Definition at line 56 of file AtElectronicResponse.cxx.


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