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

Constructs a hit from averaged TBs. More...

#include <AtPSATBAvg.h>

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

Public Member Functions

HitVector AnalyzePad (AtPad *pad) override
 
std::unique_ptr< AtPSAClone () override
 
int GetNumTBToAvg ()
 
double GetMaxThreshold ()
 
void SetNumTBToAvg (Int_t num)
 
void SetMaxThreshold (Double_t max)
 
void UseArrayAugment (std::string name)
 
- 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

Constructs a hit from averaged TBs.

Definition at line 21 of file AtPSATBAvg.h.

Member Function Documentation

◆ AnalyzePad()

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

Implements AtPSA.

Definition at line 26 of file AtPSATBAvg.cxx.

◆ Clone()

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

Implements AtPSA.

Definition at line 30 of file AtPSATBAvg.h.

◆ GetMaxThreshold()

double AtPSATBAvg::GetMaxThreshold ( )
inline

Definition at line 33 of file AtPSATBAvg.h.

◆ GetNumTBToAvg()

int AtPSATBAvg::GetNumTBToAvg ( )
inline

Definition at line 32 of file AtPSATBAvg.h.

◆ SetMaxThreshold()

void AtPSATBAvg::SetMaxThreshold ( Double_t  max)
inline

Definition at line 36 of file AtPSATBAvg.h.

◆ SetNumTBToAvg()

void AtPSATBAvg::SetNumTBToAvg ( Int_t  num)
inline

Definition at line 35 of file AtPSATBAvg.h.

◆ UseArrayAugment()

void AtPSATBAvg::UseArrayAugment ( std::string  name)
inline

Definition at line 37 of file AtPSATBAvg.h.


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