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

Modifies AtPSADeconv to make iterative corrections to the output current. More...

#include <AtPSAIterDeconv.h>

Inheritance diagram for AtPSAIterDeconv:
Inheritance graph
[legend]
Collaboration diagram for AtPSAIterDeconv:
Collaboration graph
[legend]

Public Member Functions

virtual HitVector AnalyzePad (AtPad *pad) override
 
void RunPad (AtPad *pad)
 
void SetIterations (int iterations)
 
void SetIterQName (std::string name)
 
int GetIterations ()
 
- Public Member Functions inherited from AtPSADeconv
 AtPSADeconv ()
 
 AtPSADeconv (AtPSADeconv &&obj)=default
 
AtPSADeconv & operator= (AtPSADeconv &&obj)=default
 
 AtPSADeconv (const AtPSADeconv &obj)
 
 ~AtPSADeconv ()=default
 
virtual std::unique_ptr< AtPSA > Clone () override
 
void SetFilterOrder (int order)
 
void SetCutoffFreq (int freq)
 
void SetUseSimCharge (bool val)
 
int GetFilterOrder ()
 
int GetCutoffFreq ()
 
void SetResponse (AtRawEvent response)
 
void SetResponse (ResponseFunc response)
 
AtPad & GetResponse (int padNum)
 Get the AtPad describing the response of the electronics. More...
 
const AtPadFFT & GetResponseFFT (int padNum)
 Get the fourier transform describing the response of the electronics. More...
 
const AtPadFFT & GetResponseFilter (int padNum)
 Get the filter in fourier space describing the response of the electronics. More...
 
- Public Member Functions inherited from AtPSA
 AtPSA ()=default
 
virtual ~AtPSA ()=default
 
virtual void Init ()
 
void SetThreshold (Int_t threshold)
 
void SetThresholdLow (Int_t thresholdlow)
 
int GetThreshold ()
 
int GetThresholdLow ()
 
void SetSimulatedEvent (TClonesArray *MCSimPointArray)
 
AtEvent Analyze (AtRawEvent &rawEvent)
 
virtual void Analyze (AtRawEvent *rawEvent, AtEvent *event)
 

Additional Inherited Members

- Protected Types inherited from AtPSADeconv
using ResponseFunc = std::function< double(int, double)>
 
using HitData = std::vector< ZHitData >
 Data structure for Z loc (TB), Z variance (TB), Charge (arb), Charge variance (arb) More...
 
- Protected Types inherited from AtPSA
using HitVector = std::vector< std::unique_ptr< AtHit > >
 
- Protected Member Functions inherited from AtPSADeconv
AtPad * createResponsePad (int padNum)
 
virtual HitVector chargeToHits (AtPad &charge, std::string qName)
 
virtual HitData getZandQ (const AtPad::trace &charge)
 
virtual double getZhitVariance (double zLoc, double zLocVar) const override
 
void initFFTs ()
 
void initFilter ()
 Update all "filter" augments in fEventResponse with the new parameters. More...
 
void updateFilter (const AtPadFFT &fft, AtPadFFT *filter)
 
double getFilterKernel (int freq)
 
HitVector AnalyzeFFTpad (AtPad &pad)
 Assumes that the pad has it's fourier transform information filled. More...
 
- Protected Member Functions inherited from AtPSA
void TrackMCPoints (std::multimap< Int_t, std::size_t > &map, AtHit &hit)
 
Double_t CalculateZ (Double_t peakIdx)
 Calculate z position in mm using the peak index. More...
 
Double_t CalculateZGeo (Double_t peakIdx)
 
Double_t getThreshold (int padSize=-1)
 
virtual std::pair< double, double > getXYhitVariance () const
 
- Protected Attributes inherited from AtPSADeconv
AtRawEvent fEventResponse
 
ResponseFunc fResponse {nullptr}
 
std::unique_ptr< TVirtualFFT > fFFT {nullptr}
 
std::unique_ptr< TVirtualFFT > fFFTbackward {nullptr}
 
int fFilterOrder {0}
 
int fCutoffFreq {-1}
 
bool fUseSimulatedCharge {false}
 
- Protected Attributes inherited from AtPSA
TClonesArray * fMCSimPointArray {}
 
Bool_t fUsingLowThreshold {false}
 
Double_t fBField {}
 
Double_t fEField {}
 
Int_t fTB0 {}
 
Int_t fNumTbs {512}
 
Int_t fTBTime {}
 
Int_t fEntTB {}
 
Double_t fDriftVelocity {}
 
Double_t fZk {}
 

Detailed Description

Modifies AtPSADeconv to make iterative corrections to the output current.

Definition at line 15 of file AtPSAIterDeconv.h.

Member Function Documentation

◆ AnalyzePad()

AtPSAIterDeconv::HitVector AtPSAIterDeconv::AnalyzePad ( AtPad *  pad)
overridevirtual

Reimplemented from AtPSADeconv.

Definition at line 19 of file AtPSAIterDeconv.cxx.

◆ GetIterations()

int AtPSAIterDeconv::GetIterations ( )
inline

Definition at line 26 of file AtPSAIterDeconv.h.

◆ RunPad()

void AtPSAIterDeconv::RunPad ( AtPad *  pad)

Definition at line 57 of file AtPSAIterDeconv.cxx.

◆ SetIterations()

void AtPSAIterDeconv::SetIterations ( int  iterations)
inline

Definition at line 23 of file AtPSAIterDeconv.h.

◆ SetIterQName()

void AtPSAIterDeconv::SetIterQName ( std::string  name)
inline

Definition at line 24 of file AtPSAIterDeconv.h.


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