Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::TrackInterface Class Reference
Inheritance diagram for Hal::TrackInterface:
Hal::TrackInterfaceAdvanced Hal::McTrackInterface HalUni::UnigenTrackInterface

Public Member Functions

 TrackInterface (Int_t rawObj=1)
 
virtual void SetCharge (Double_t)
 
virtual void SetID (Int_t)
 
virtual void SetPxPyPzE (Double_t, Double_t, Double_t, Double_t)
 
virtual void SetMotherIndex (Int_t)
 
virtual void SetStatus (Int_t)
 
virtual void SetPrimary (Int_t)
 
virtual Double_t GetPx () const
 
virtual Double_t GetPy () const
 
virtual Double_t GetPz () const
 
virtual Double_t GetE () const
 
virtual Double_t GetCharge () const
 
virtual Int_t GetID () const
 
virtual Int_t GetMotherIndex () const
 
virtual Int_t GetStatus () const
 
virtual Int_t GetDaughterIndex (Int_t)
 
virtual Bool_t IsPrimary () const
 
void SetRawTrack (TObject *source, Int_t obj=0)
 
TObject * GetSource (Int_t obj=0) const
 

Protected Attributes

const Int_t fRawObjNo
 
TObject ** fRawObject
 

Detailed Description

Definition at line 17 of file TrackInterface.h.

Constructor & Destructor Documentation

◆ TrackInterface()

Hal::TrackInterface::TrackInterface ( Int_t rawObj = 1)

Definition at line 11 of file TrackInterface.cxx.

◆ ~TrackInterface()

Hal::TrackInterface::~TrackInterface ( )
virtual

Definition at line 13 of file TrackInterface.cxx.

Member Function Documentation

◆ GetCharge()

virtual Double_t Hal::TrackInterface::GetCharge ( ) const
inlinevirtual
Returns
particle charge

Definition at line 81 of file TrackInterface.h.

◆ GetDaughterIndex()

virtual Int_t Hal::TrackInterface::GetDaughterIndex ( Int_t )
inlinevirtual

return daughter Ids

Parameters
i
Returns

Definition at line 102 of file TrackInterface.h.

◆ GetE()

virtual Double_t Hal::TrackInterface::GetE ( ) const
inlinevirtual
Returns
energy

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 76 of file TrackInterface.h.

◆ GetID()

virtual Int_t Hal::TrackInterface::GetID ( ) const
inlinevirtual
Returns
particle ID

Definition at line 86 of file TrackInterface.h.

◆ GetMotherIndex()

virtual Int_t Hal::TrackInterface::GetMotherIndex ( ) const
inlinevirtual
Returns
mother index

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 91 of file TrackInterface.h.

◆ GetPx()

virtual Double_t Hal::TrackInterface::GetPx ( ) const
inlinevirtual
Returns
Px

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 61 of file TrackInterface.h.

◆ GetPy()

virtual Double_t Hal::TrackInterface::GetPy ( ) const
inlinevirtual
Returns
Py

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 66 of file TrackInterface.h.

◆ GetPz()

virtual Double_t Hal::TrackInterface::GetPz ( ) const
inlinevirtual
Returns
Pz

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 71 of file TrackInterface.h.

◆ GetSource()

TObject * Hal::TrackInterface::GetSource ( Int_t obj = 0) const
inline
Parameters
no- number of objects in array of objects
Returns
pointer to oryginal track

Definition at line 119 of file TrackInterface.h.

◆ GetStatus()

virtual Int_t Hal::TrackInterface::GetStatus ( ) const
inlinevirtual
Returns
particle status

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 96 of file TrackInterface.h.

◆ IsPrimary()

virtual Bool_t Hal::TrackInterface::IsPrimary ( ) const
inlinevirtual
Returns
true if this is primary particle

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 107 of file TrackInterface.h.

◆ SetCharge()

virtual void Hal::TrackInterface::SetCharge ( Double_t )
inlinevirtual
Parameters
chargeset charge

Definition at line 28 of file TrackInterface.h.

◆ SetID()

virtual void Hal::TrackInterface::SetID ( Int_t )
inlinevirtual
Parameters
idparticle id

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 33 of file TrackInterface.h.

◆ SetMotherIndex()

virtual void Hal::TrackInterface::SetMotherIndex ( Int_t )
inlinevirtual
Parameters
indexmother index

Definition at line 46 of file TrackInterface.h.

◆ SetPrimary()

virtual void Hal::TrackInterface::SetPrimary ( Int_t )
inlinevirtual
Parameters
primtrue if particle should be primary false otherwise

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 56 of file TrackInterface.h.

◆ SetPxPyPzE()

virtual void Hal::TrackInterface::SetPxPyPzE ( Double_t ,
Double_t ,
Double_t ,
Double_t  )
inlinevirtual

set four-momentum

Parameters
pxPx
pyPy
pzPz
eE

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 41 of file TrackInterface.h.

◆ SetRawTrack()

void Hal::TrackInterface::SetRawTrack ( TObject * source,
Int_t obj = 0 )
inline

set pointer to oryginal track

Parameters
source
no- number of obj in array of objects

Definition at line 113 of file TrackInterface.h.

◆ SetStatus()

virtual void Hal::TrackInterface::SetStatus ( Int_t )
inlinevirtual
Parameters
statparticle status

Reimplemented in HalUni::UnigenTrackInterface.

Definition at line 51 of file TrackInterface.h.

Member Data Documentation

◆ fRawObject

TObject** Hal::TrackInterface::fRawObject
protected

Definition at line 20 of file TrackInterface.h.

◆ fRawObjNo

const Int_t Hal::TrackInterface::fRawObjNo
protected

Definition at line 19 of file TrackInterface.h.


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