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

Simple max finding PSA method. More...

#include <AtPSAMax.h>

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

Public Member Functions

virtual HitVector AnalyzePad (AtPad *pad) override
 
std::unique_ptr< AtPSAClone () override
 
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)
 
virtual void Analyze (AtRawEvent *rawEvent, AtEvent *event)
 

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

Simple max finding PSA method.

Definition at line 22 of file AtPSAMax.h.

Member Function Documentation

◆ AnalyzePad()

AtPSAMax::HitVector AtPSAMax::AnalyzePad ( AtPad pad)
overridevirtual

Implements AtPSA.

Definition at line 23 of file AtPSAMax.cxx.

◆ Clone()

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

Implements AtPSA.

Definition at line 29 of file AtPSAMax.h.

◆ SetTimeCorrection()

void AtPSAMax::SetTimeCorrection ( Bool_t  value)
inline

Definition at line 31 of file AtPSAMax.h.


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