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

#include <AtPSAHitPerTB.h>

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

Public Member Functions

virtual HitVector AnalyzePad (AtPad *pad) override
 
std::unique_ptr< AtPSAClone () override
 
void SetTBLimits (std::pair< Int_t, Int_t > limits)
 
- 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)
 

Protected Attributes

Int_t fIniTB {0}
 
Int_t fEndTB {512}
 
- 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 {}
 

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
 

Detailed Description

Definition at line 16 of file AtPSAHitPerTB.h.

Member Function Documentation

◆ AnalyzePad()

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

Implements AtPSA.

Definition at line 23 of file AtPSAHitPerTB.cxx.

◆ Clone()

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

Implements AtPSA.

Definition at line 23 of file AtPSAHitPerTB.h.

◆ SetTBLimits()

void AtPSAHitPerTB::SetTBLimits ( std::pair< Int_t, Int_t >  limits)

Definition at line 59 of file AtPSAHitPerTB.cxx.

Member Data Documentation

◆ fEndTB

Int_t AtPSAHitPerTB::fEndTB {512}
protected

Definition at line 19 of file AtPSAHitPerTB.h.

◆ fIniTB

Int_t AtPSAHitPerTB::fIniTB {0}
protected

Definition at line 18 of file AtPSAHitPerTB.h.


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