Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::McTrack Class Reference
Inheritance diagram for Hal::McTrack:
Hal::Track Hal::SmearedTrack HalDbg::McTrack HalOTF::McTrack HalUni::UnigenTrack

Public Member Functions

McTrackoperator= (const McTrack &other)=default
 
virtual Int_t GetPdg () const
 
const TLorentzVector & GetFreezoutPosition () const
 
const TLorentzVector & GetStartPosition () const
 
virtual void CopyData (Track *other)
 
virtual void RotateZ (Double_t phi)
 
void Boost (Double_t x, Double_t y, Double_t z)
 
void SetPdg (Int_t pdg)
 
void SetFreezoutPosition (Double_t x, Double_t y, Double_t z, Double_t t)
 
void SetStartPosition (Double_t x, Double_t y, Double_t z, Double_t t)
 
virtual Float_t GetFieldVal (Int_t fieldID) const
 
virtual TString GetFieldName (Int_t fieldID) const
 
- Public Member Functions inherited from Hal::Track
 Track (const Track &track)
 
Trackoperator= (const Track &track)=default
 
void SetThisID (Int_t id)
 
Int_t GetThisID () const
 
void SetIDs (Int_t id)
 
Int_t GetHiddenInfoIndex () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetE () const
 
const TLorentzVector & GetMomentum () const
 
virtual void Print (Option_t *option="") const
 
void SetCharge (Double_t charge)
 
void SetID (Int_t id)
 
void SetStatus (Int_t status)
 
void SetMomentum (Double_t px, Double_t py, Double_t pz, Double_t e)
 
void EnableV0 (Bool_t v0, Bool_t daughters=kTRUE)
 
void EnableXi (Bool_t xi, Bool_t daughters=kTRUE)
 
void SetMotherIndex (Int_t index)
 
Double_t GetMass () const
 
Double_t GetCharge () const
 
Int_t GetHiddenInfoId () const
 
virtual Int_t GetID () const
 
Int_t GetStatus () const
 
Int_t GetMotherIndex () const
 
Bool_t IsPrimary () const
 
Bool_t IsGoodSecondary () const
 
Bool_t IsGoodV0 () const
 
Bool_t IsGoodXi () const
 
Bool_t IsGlobal () const
 
V0TrackGetV0Info () const
 
XiTrackGetXiInfo () const
 
void SetGlobal (Bool_t global=kTRUE)
 
void ClearType ()
 
void SetMass (Double_t mass)
 
void SetPrimary ()
 
void SetSecondary (Bool_t parent)
 
void TranslateLinks (const CompressionMap &map)
 
Bool_t IsV0 () const
 
Bool_t IsXi () const
 
virtual void CopyAllData (Track *other)
 
virtual void Clear (Option_t *opt="")
 
virtual void ResetTrack (Int_t thisID=-1, Event *event=nullptr)
 
EventGetEvent () const
 
std::vector< int > GetLinks () const
 
virtual Int_t GetLinksFast (std::vector< int > &vec, Bool_t fast=kTRUE) const
 
virtual void SetLinks (std::vector< int > &vec)
 
void SetEvent (Event *event)
 

Protected Attributes

TLorentzVector fFreez
 
TLorentzVector fStart
 
Int_t fPDG
 
- Protected Attributes inherited from Hal::Track
EventfEvent
 
TLorentzVector fP
 don't stream it will be build on the fly
 
Int_t fID
 
Int_t fStatus
 
Int_t fHiddenInfo
 
Int_t fMotherID
 
Int_t fThisID
 
UInt_t fType
 
Float_t fCharge
 

Additional Inherited Members

- Protected Types inherited from Hal::Track
enum  ETrackBits {
  kPrimary = 0 , kV0 = 1 , kXi = 2 , kGlobal = 3 ,
  kMother = 4 , kV0Daughters = 5 , kXiDaughters = 6
}
 
- Protected Member Functions inherited from Hal::Track
Float_t GetV0IfPossible (Int_t fieldId) const
 

Detailed Description

Definition at line 17 of file McTrack.h.

Constructor & Destructor Documentation

◆ McTrack()

Hal::McTrack::McTrack ( )

Definition at line 12 of file McTrack.cxx.

◆ ~McTrack()

Hal::McTrack::~McTrack ( )
virtual

Definition at line 14 of file McTrack.cxx.

Member Function Documentation

◆ Boost()

void Hal::McTrack::Boost ( Double_t vx,
Double_t vy,
Double_t vz )
virtual

boost this particle

Parameters
vx
vy
vz

Reimplemented from Hal::Track.

Definition at line 16 of file McTrack.cxx.

◆ CopyData()

void Hal::McTrack::CopyData ( Track * other)
virtual

copy basic data from other track does not copy event or "thisID"

Parameters
other

Reimplemented from Hal::Track.

Reimplemented in Hal::SmearedTrack.

Definition at line 21 of file McTrack.cxx.

◆ GetFieldName()

TString Hal::McTrack::GetFieldName ( Int_t fieldID) const
virtual

return name of the track property by ID

Parameters
fieldID
Returns

Reimplemented from Hal::Track.

Definition at line 47 of file McTrack.cxx.

◆ GetFieldVal()

Float_t Hal::McTrack::GetFieldVal ( Int_t fieldID) const
virtual

return track property by ID, this should be positve number larger than 200 and smaller than 10000

Parameters
fieldID
Returns

Reimplemented from Hal::Track.

Definition at line 28 of file McTrack.cxx.

◆ GetFreezoutPosition()

const TLorentzVector & Hal::McTrack::GetFreezoutPosition ( ) const
inline
Returns
freezout position

Definition at line 35 of file McTrack.h.

◆ GetPdg()

virtual Int_t Hal::McTrack::GetPdg ( ) const
inlinevirtual
Returns
track pid code

Definition at line 31 of file McTrack.h.

◆ GetStartPosition()

const TLorentzVector & Hal::McTrack::GetStartPosition ( ) const
inline
Returns
start position of particle

Definition at line 40 of file McTrack.h.

◆ RotateZ()

void Hal::McTrack::RotateZ ( Double_t angle)
virtual

rotate particle in Z-axis

Parameters
angle

Reimplemented from Hal::Track.

Definition at line 66 of file McTrack.cxx.

◆ SetFreezoutPosition()

void Hal::McTrack::SetFreezoutPosition ( Double_t x,
Double_t y,
Double_t z,
Double_t t )
inline

set freezout position

Parameters
x
y
z
t

Definition at line 52 of file McTrack.h.

◆ SetPdg()

void Hal::McTrack::SetPdg ( Int_t pdg)
inline

Definition at line 44 of file McTrack.h.

◆ SetStartPosition()

void Hal::McTrack::SetStartPosition ( Double_t x,
Double_t y,
Double_t z,
Double_t t )
inline

set start point position

Parameters
fieldID
Returns

Definition at line 58 of file McTrack.h.

Member Data Documentation

◆ fFreez

TLorentzVector Hal::McTrack::fFreez
protected

Definition at line 20 of file McTrack.h.

◆ fPDG

Int_t Hal::McTrack::fPDG
protected

Definition at line 22 of file McTrack.h.

◆ fStart

TLorentzVector Hal::McTrack::fStart
protected

Definition at line 21 of file McTrack.h.


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