Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaTrackInfo Class Reference

Definition at line 16 of file THaTrackInfo.h.

Public Member Functions

void Clear (Option_t *opt="")
 
Double_t GetDp () const
 
Double_t GetP () const
 
Double_t GetPhi () const
 
const TVector3GetPvect () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
THaSpectrometerGetSpectrometer () const
 
Double_t GetTheta () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Bool_t IsOK () const
 
THaTrackInfooperator= (const THaTrack &)
 
THaTrackInfooperator= (const THaTrackInfo &)
 
void Set (Double_t p, Double_t dp, Double_t x, Double_t y, Double_t th, Double_t ph, const TVector3 &pvect)
 
void Set (Double_t p, Double_t dp, Double_t x, Double_t y, Double_t th, Double_t ph, Double_t px, Double_t py, Double_t pz)
 
void SetP (Double_t p)
 
void SetSpectrometer (THaSpectrometer *s)
 
 THaTrackInfo ()
 
 THaTrackInfo (const THaTrackInfo &t)=default
 
 THaTrackInfo (Double_t p, Double_t dp, Double_t x, Double_t y, Double_t th, Double_t ph, const TVector3 &pvect)
 
 THaTrackInfo (Double_t p, Double_t dp, Double_t x, Double_t y, Double_t th, Double_t ph, Double_t px, Double_t py, Double_t pz)
 
virtual ~THaTrackInfo ()=default
 

Protected Attributes

Double_t fDp
 
Int_t fOK
 
Double_t fP
 
Double_t fPhi
 
TVector3 fPvect
 
THaSpectrometerfSpectro
 
Double_t fTheta
 
Double_t fX
 
Double_t fY
 

#include <THaTrackInfo.h>

Constructor & Destructor Documentation

◆ THaTrackInfo() [1/4]

THaTrackInfo::THaTrackInfo ( )
inline

Definition at line 18 of file THaTrackInfo.h.

◆ THaTrackInfo() [2/4]

THaTrackInfo::THaTrackInfo ( Double_t  p,
Double_t  dp,
Double_t  x,
Double_t  y,
Double_t  th,
Double_t  ph,
Double_t  px,
Double_t  py,
Double_t  pz 
)
inline

Definition at line 21 of file THaTrackInfo.h.

◆ THaTrackInfo() [3/4]

THaTrackInfo::THaTrackInfo ( Double_t  p,
Double_t  dp,
Double_t  x,
Double_t  y,
Double_t  th,
Double_t  ph,
const TVector3 pvect 
)
inline

Definition at line 26 of file THaTrackInfo.h.

◆ THaTrackInfo() [4/4]

THaTrackInfo::THaTrackInfo ( const THaTrackInfo t)
default

◆ ~THaTrackInfo()

virtual THaTrackInfo::~THaTrackInfo ( )
virtualdefault

Member Function Documentation

◆ Clear()

void THaTrackInfo::Clear ( Option_t opt = "")
inline

Definition at line 86 of file THaTrackInfo.h.

◆ GetDp()

Double_t THaTrackInfo::GetDp ( ) const
inline

Definition at line 45 of file THaTrackInfo.h.

◆ GetP()

Double_t THaTrackInfo::GetP ( ) const
inline

Definition at line 44 of file THaTrackInfo.h.

◆ GetPhi()

Double_t THaTrackInfo::GetPhi ( ) const
inline

Definition at line 49 of file THaTrackInfo.h.

◆ GetPvect()

const TVector3 & THaTrackInfo::GetPvect ( ) const
inline

Definition at line 50 of file THaTrackInfo.h.

◆ GetPx()

Double_t THaTrackInfo::GetPx ( ) const
inline

Definition at line 40 of file THaTrackInfo.h.

◆ GetPy()

Double_t THaTrackInfo::GetPy ( ) const
inline

Definition at line 41 of file THaTrackInfo.h.

◆ GetPz()

Double_t THaTrackInfo::GetPz ( ) const
inline

Definition at line 42 of file THaTrackInfo.h.

◆ GetSpectrometer()

THaSpectrometer * THaTrackInfo::GetSpectrometer ( ) const
inline

Definition at line 52 of file THaTrackInfo.h.

◆ GetTheta()

Double_t THaTrackInfo::GetTheta ( ) const
inline

Definition at line 48 of file THaTrackInfo.h.

◆ GetX()

Double_t THaTrackInfo::GetX ( ) const
inline

Definition at line 46 of file THaTrackInfo.h.

◆ GetY()

Double_t THaTrackInfo::GetY ( ) const
inline

Definition at line 47 of file THaTrackInfo.h.

◆ IsOK()

Bool_t THaTrackInfo::IsOK ( ) const
inline

Definition at line 39 of file THaTrackInfo.h.

◆ operator=() [1/2]

THaTrackInfo & THaTrackInfo::operator= ( const THaTrack track)

Definition at line 38 of file THaTrackInfo.cxx.

◆ operator=() [2/2]

THaTrackInfo & THaTrackInfo::operator= ( const THaTrackInfo rhs)

Definition at line 19 of file THaTrackInfo.cxx.

◆ Set() [1/2]

void THaTrackInfo::Set ( Double_t  p,
Double_t  dp,
Double_t  x,
Double_t  y,
Double_t  th,
Double_t  ph,
const TVector3 pvect 
)
inline

Definition at line 60 of file THaTrackInfo.h.

◆ Set() [2/2]

void THaTrackInfo::Set ( Double_t  p,
Double_t  dp,
Double_t  x,
Double_t  y,
Double_t  th,
Double_t  ph,
Double_t  px,
Double_t  py,
Double_t  pz 
)
inline

Definition at line 54 of file THaTrackInfo.h.

◆ SetP()

void THaTrackInfo::SetP ( Double_t  p)
inline

Definition at line 94 of file THaTrackInfo.h.

◆ SetSpectrometer()

void THaTrackInfo::SetSpectrometer ( THaSpectrometer s)
inline

Definition at line 67 of file THaTrackInfo.h.

Member Data Documentation

◆ fDp

Double_t THaTrackInfo::fDp
protected

Definition at line 71 of file THaTrackInfo.h.

◆ fOK

Int_t THaTrackInfo::fOK
protected

Definition at line 77 of file THaTrackInfo.h.

◆ fP

Double_t THaTrackInfo::fP
protected

Definition at line 70 of file THaTrackInfo.h.

◆ fPhi

Double_t THaTrackInfo::fPhi
protected

Definition at line 75 of file THaTrackInfo.h.

◆ fPvect

TVector3 THaTrackInfo::fPvect
protected

Definition at line 76 of file THaTrackInfo.h.

◆ fSpectro

THaSpectrometer* THaTrackInfo::fSpectro
protected

Definition at line 79 of file THaTrackInfo.h.

◆ fTheta

Double_t THaTrackInfo::fTheta
protected

Definition at line 74 of file THaTrackInfo.h.

◆ fX

Double_t THaTrackInfo::fX
protected

Definition at line 72 of file THaTrackInfo.h.

◆ fY

Double_t THaTrackInfo::fY
protected

Definition at line 73 of file THaTrackInfo.h.

Collaboration diagram for THaTrackInfo:

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