|
ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtPSADeconvFit.h>


Public Member Functions | |
| virtual void | Init () override |
| virtual std::unique_ptr< AtPSA > | Clone () override |
Public Member Functions inherited from AtPSADeconv | |
| AtPSADeconv () | |
| AtPSADeconv (AtPSADeconv &&obj)=default | |
| AtPSADeconv & | operator= (AtPSADeconv &&obj)=default |
| AtPSADeconv (const AtPSADeconv &obj) | |
| ~AtPSADeconv ()=default | |
| virtual HitVector | AnalyzePad (AtPad *pad) 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 |
| 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) |
Protected Member Functions | |
| HitData | getZandQ (const AtPad::trace &charge) override |
| const ROOT::Fit::FitResult | FitHistorgramParallel (TH1F &hist, TF1 &func) |
Protected Member Functions inherited from AtPSADeconv | |
| AtPad * | createResponsePad (int padNum) |
| virtual HitVector | chargeToHits (AtPad &charge, std::string qName) |
| 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 | |
| double | fDiffLong |
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 {} |
Static Protected Attributes | |
| static thread_local std::unique_ptr< TH1F > | fHist = nullptr |
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 > > |
Definition at line 13 of file AtPSADeconvFit.h.
|
inlineoverridevirtual |
Reimplemented from AtPSADeconv.
Definition at line 20 of file AtPSADeconvFit.h.
|
protected |
Definition at line 99 of file AtPSADeconvFit.cxx.
|
overrideprotectedvirtual |
Returns the salient data from the charge distribution: Hit charge/location in Z and their std. deviation. Called by chargeToHits. By default it returns the weighted average of the charge and it's variance.
Reimplemented from AtPSADeconv.
Definition at line 39 of file AtPSADeconvFit.cxx.
|
overridevirtual |
Reimplemented from AtPSA.
Definition at line 32 of file AtPSADeconvFit.cxx.
|
protected |
Definition at line 15 of file AtPSADeconvFit.h.
|
staticprotected |
Definition at line 16 of file AtPSADeconvFit.h.
1.8.18