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

Uses different PSA methods in/out of beam region. More...

#include <AtPSAComposite.h>

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

Public Member Functions

 AtPSAComposite (std::unique_ptr< AtPSA > beamPSA, std::unique_ptr< AtPSA > PSA, double beamRadius=40)
 
 AtPSAComposite (const AtPSAComposite &)
 
void Init () override
 
virtual HitVector AnalyzePad (AtPad *) override
 
std::unique_ptr< AtPSAClone () override
 
- 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)
 

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

Uses different PSA methods in/out of beam region.

Definition at line 13 of file AtPSAComposite.h.

Constructor & Destructor Documentation

◆ AtPSAComposite() [1/2]

AtPSAComposite::AtPSAComposite ( std::unique_ptr< AtPSA beamPSA,
std::unique_ptr< AtPSA PSA,
double  beamRadius = 40 
)

Definition at line 10 of file AtPSAComposite.cxx.

◆ AtPSAComposite() [2/2]

AtPSAComposite::AtPSAComposite ( const AtPSAComposite o)

Definition at line 15 of file AtPSAComposite.cxx.

Member Function Documentation

◆ AnalyzePad()

AtPSA::HitVector AtPSAComposite::AnalyzePad ( AtPad pad)
overridevirtual

Implements AtPSA.

Definition at line 25 of file AtPSAComposite.cxx.

◆ Clone()

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

Implements AtPSA.

Definition at line 26 of file AtPSAComposite.h.

◆ Init()

void AtPSAComposite::Init ( )
overridevirtual

Reimplemented from AtPSA.

Definition at line 20 of file AtPSAComposite.cxx.


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