ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
8 #include <TVirtualFFT.h>
59 std::unique_ptr<TVirtualFFT>
fFFT{
nullptr};
73 virtual std::unique_ptr<AtPSA>
Clone()
override {
return std::make_unique<AtPSADeconv>(*
this); }
124 virtual double getZhitVariance(
double zLoc,
double zLocVar)
const override;
135 #endif //#ifndef ATPSADECONV_H
Struct for storing Z and Q hit data used by getZandQ function.
void initFilter()
Update all "filter" augments in fEventResponse with the new parameters.
void SetCutoffFreq(int freq)
virtual HitVector chargeToHits(AtPad &charge, std::string qName)
virtual HitVector AnalyzePad(AtPad *pad) override
AtRawEvent fEventResponse
std::unique_ptr< TVirtualFFT > fFFT
void updateFilter(const AtPadFFT &fft, AtPadFFT *filter)
virtual HitData getZandQ(const AtPad::trace &charge)
AtPSADeconv & operator=(AtPSADeconv &&obj)=default
virtual double getZhitVariance(double zLoc, double zLocVar) const override
std::array< Double_t, 512 > trace
std::vector< std::unique_ptr< AtHit > > HitVector
AtPad & GetResponse(int padNum)
Get the AtPad describing the response of the electronics.
std::unique_ptr< TVirtualFFT > fFFTbackward
const AtPadFFT & GetResponseFFT(int padNum)
Get the fourier transform describing the response of the electronics.
void SetFilterOrder(int order)
void SetResponse(ResponseFunc response)
double getFilterKernel(int freq)
const AtPadFFT & GetResponseFilter(int padNum)
Get the filter in fourier space describing the response of the electronics.
AtPad * createResponsePad(int padNum)
Abstract base class for getting current through deconvolution.
std::function< double(int, double)> ResponseFunc
std::vector< ZHitData > HitData
Data structure for Z loc (TB), Z variance (TB), Charge (arb), Charge variance (arb)
virtual std::unique_ptr< AtPSA > Clone() override
AtPSADeconv(AtPSADeconv &&obj)=default
Container class for AtPadBase objects.
HitVector AnalyzeFFTpad(AtPad &pad)
Assumes that the pad has it's fourier transform information filled.
void SetUseSimCharge(bool val)
void SetResponse(AtRawEvent response)