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

Definition at line 15 of file THaBeamInfo.h.

Public Member Functions

void Clear (Option_t *opt="")
 
THaBeamGetBeam () const
 
Double_t GetdE () const
 
Double_t GetE () const
 
Double_t GetM () const
 
Double_t GetP () const
 
Double_t GetPhi () const
 
Double_t GetPol () const
 
const TVector3GetPosition () const
 
const TVector3GetPvect () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Int_t GetQ () const
 
Double_t GetTheta () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Bool_t IsOK () const
 
THaBeamInfooperator= (const THaBeamInfo &rhs)
 
void Set (const TVector3 &pvect, const TVector3 &position, Double_t pol=0.0)
 
void Set (Double_t p, const TVector3 &vect, const TVector3 &position, Double_t pol=0.0)
 
void SetBeam (THaBeam *obj)
 
void SetP (Double_t p)
 
void SetPol (Double_t pol)
 
 THaBeamInfo ()
 
 THaBeamInfo (const THaBeamInfo &t)=default
 
 THaBeamInfo (const TVector3 &pvect, const TVector3 &position, Double_t pol=0.0)
 
 THaBeamInfo (Double_t p, const TVector3 &vect, const TVector3 &position, Double_t pol=0.0)
 
virtual ~THaBeamInfo ()=default
 

Protected Attributes

THaBeamfBeam
 
Int_t fOK
 
Double_t fPol
 
TVector3 fPosition
 
TVector3 fPvect
 

#include <THaBeamInfo.h>

Constructor & Destructor Documentation

◆ THaBeamInfo() [1/4]

THaBeamInfo::THaBeamInfo ( )
inline

Definition at line 17 of file THaBeamInfo.h.

◆ THaBeamInfo() [2/4]

THaBeamInfo::THaBeamInfo ( const TVector3 pvect,
const TVector3 position,
Double_t  pol = 0.0 
)
inline

Definition at line 19 of file THaBeamInfo.h.

◆ THaBeamInfo() [3/4]

THaBeamInfo::THaBeamInfo ( Double_t  p,
const TVector3 vect,
const TVector3 position,
Double_t  pol = 0.0 
)
inline

Definition at line 22 of file THaBeamInfo.h.

◆ THaBeamInfo() [4/4]

THaBeamInfo::THaBeamInfo ( const THaBeamInfo t)
default

◆ ~THaBeamInfo()

virtual THaBeamInfo::~THaBeamInfo ( )
virtualdefault

Member Function Documentation

◆ Clear()

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

Definition at line 86 of file THaBeamInfo.h.

◆ GetBeam()

THaBeam * THaBeamInfo::GetBeam ( ) const
inline

Definition at line 59 of file THaBeamInfo.h.

◆ GetdE()

Double_t THaBeamInfo::GetdE ( ) const

Definition at line 60 of file THaBeamInfo.cxx.

◆ GetE()

Double_t THaBeamInfo::GetE ( ) const

Definition at line 19 of file THaBeamInfo.cxx.

◆ GetM()

Double_t THaBeamInfo::GetM ( ) const

Definition at line 34 of file THaBeamInfo.cxx.

◆ GetP()

Double_t THaBeamInfo::GetP ( ) const
inline

Definition at line 45 of file THaBeamInfo.h.

◆ GetPhi()

Double_t THaBeamInfo::GetPhi ( ) const
inline

Definition at line 50 of file THaBeamInfo.h.

◆ GetPol()

Double_t THaBeamInfo::GetPol ( ) const
inline

Definition at line 51 of file THaBeamInfo.h.

◆ GetPosition()

const TVector3 & THaBeamInfo::GetPosition ( ) const
inline

Definition at line 57 of file THaBeamInfo.h.

◆ GetPvect()

const TVector3 & THaBeamInfo::GetPvect ( ) const
inline

Definition at line 56 of file THaBeamInfo.h.

◆ GetPx()

Double_t THaBeamInfo::GetPx ( ) const
inline

Definition at line 42 of file THaBeamInfo.h.

◆ GetPy()

Double_t THaBeamInfo::GetPy ( ) const
inline

Definition at line 43 of file THaBeamInfo.h.

◆ GetPz()

Double_t THaBeamInfo::GetPz ( ) const
inline

Definition at line 44 of file THaBeamInfo.h.

◆ GetQ()

Int_t THaBeamInfo::GetQ ( ) const

Definition at line 47 of file THaBeamInfo.cxx.

◆ GetTheta()

Double_t THaBeamInfo::GetTheta ( ) const
inline

Definition at line 49 of file THaBeamInfo.h.

◆ GetX()

Double_t THaBeamInfo::GetX ( ) const
inline

Definition at line 46 of file THaBeamInfo.h.

◆ GetY()

Double_t THaBeamInfo::GetY ( ) const
inline

Definition at line 47 of file THaBeamInfo.h.

◆ GetZ()

Double_t THaBeamInfo::GetZ ( ) const
inline

Definition at line 48 of file THaBeamInfo.h.

◆ IsOK()

Bool_t THaBeamInfo::IsOK ( ) const
inline

Definition at line 41 of file THaBeamInfo.h.

◆ operator=()

THaBeamInfo & THaBeamInfo::operator= ( const THaBeamInfo rhs)
inline

Definition at line 28 of file THaBeamInfo.h.

◆ Set() [1/2]

void THaBeamInfo::Set ( const TVector3 pvect,
const TVector3 position,
Double_t  pol = 0.0 
)
inline

Definition at line 63 of file THaBeamInfo.h.

◆ Set() [2/2]

void THaBeamInfo::Set ( Double_t  p,
const TVector3 vect,
const TVector3 position,
Double_t  pol = 0.0 
)
inline

Definition at line 67 of file THaBeamInfo.h.

◆ SetBeam()

void THaBeamInfo::SetBeam ( THaBeam obj)
inline

Definition at line 71 of file THaBeamInfo.h.

◆ SetP()

void THaBeamInfo::SetP ( Double_t  p)
inline

Definition at line 61 of file THaBeamInfo.h.

◆ SetPol()

void THaBeamInfo::SetPol ( Double_t  pol)
inline

Definition at line 62 of file THaBeamInfo.h.

Member Data Documentation

◆ fBeam

THaBeam* THaBeamInfo::fBeam
protected

Definition at line 79 of file THaBeamInfo.h.

◆ fOK

Int_t THaBeamInfo::fOK
protected

Definition at line 77 of file THaBeamInfo.h.

◆ fPol

Double_t THaBeamInfo::fPol
protected

Definition at line 76 of file THaBeamInfo.h.

◆ fPosition

TVector3 THaBeamInfo::fPosition
protected

Definition at line 74 of file THaBeamInfo.h.

◆ fPvect

TVector3 THaBeamInfo::fPvect
protected

Definition at line 75 of file THaBeamInfo.h.

Collaboration diagram for THaBeamInfo:

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