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

#include <AtPSASimple2.h>

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

Public Member Functions

void Analyze (AtRawEvent *rawEvent, AtEvent *event) override
 
HitVector AnalyzePad (AtPad *pad) override
 
std::unique_ptr< AtPSAClone () override
 
void SetGainCalibration (TString gainFile)
 
void SetJitterCalibration (TString jitterFile)
 
void SetBackGroundSuppression ()
 
void SetBackGroundInterpolation ()
 
void SetPeakFinder ()
 
void SetMaxFinder ()
 
void SetBaseCorrection (Bool_t value)
 
void SetTimeCorrection (Bool_t value)
 
- 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)
 

Additional Inherited Members

- Protected Types inherited from AtPSA
using HitVector = std::vector< std::unique_ptr< AtHit > >
 
- 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 double getZhitVariance (double zLoc, double zLocVar) const
 
virtual std::pair< double, double > getXYhitVariance () const
 
- 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

Definition at line 19 of file AtPSASimple2.h.

Member Function Documentation

◆ Analyze()

void AtPSASimple2::Analyze ( AtRawEvent rawEvent,
AtEvent event 
)
overridevirtual

Analyzes every pad in event, and add the hits to AtEvent. Called by AtPSATask.

Reimplemented from AtPSA.

Definition at line 32 of file AtPSASimple2.cxx.

◆ AnalyzePad()

HitVector AtPSASimple2::AnalyzePad ( AtPad pad)
inlineoverridevirtual

Implements AtPSA.

Definition at line 33 of file AtPSASimple2.h.

◆ Clone()

std::unique_ptr<AtPSA> AtPSASimple2::Clone ( )
inlineoverridevirtual

Implements AtPSA.

Definition at line 34 of file AtPSASimple2.h.

◆ SetBackGroundInterpolation()

void AtPSASimple2::SetBackGroundInterpolation ( )

Definition at line 276 of file AtPSASimple2.cxx.

◆ SetBackGroundSuppression()

void AtPSASimple2::SetBackGroundSuppression ( )

Definition at line 271 of file AtPSASimple2.cxx.

◆ SetBaseCorrection()

void AtPSASimple2::SetBaseCorrection ( Bool_t  value)

Definition at line 261 of file AtPSASimple2.cxx.

◆ SetGainCalibration()

void AtPSASimple2::SetGainCalibration ( TString  gainFile)
inline

Definition at line 36 of file AtPSASimple2.h.

◆ SetJitterCalibration()

void AtPSASimple2::SetJitterCalibration ( TString  jitterFile)
inline

Definition at line 37 of file AtPSASimple2.h.

◆ SetMaxFinder()

void AtPSASimple2::SetMaxFinder ( )

Definition at line 287 of file AtPSASimple2.cxx.

◆ SetPeakFinder()

void AtPSASimple2::SetPeakFinder ( )

Definition at line 281 of file AtPSASimple2.cxx.

◆ SetTimeCorrection()

void AtPSASimple2::SetTimeCorrection ( Bool_t  value)

Definition at line 266 of file AtPSASimple2.cxx.


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