Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::ComplexTrack Class Reference
Inheritance diagram for Hal::ComplexTrack:
Hal::Track

Public Member Functions

 ComplexTrack (const ComplexTrack &other)
 
ComplexTrackoperator= (const ComplexTrack &other)
 
void SetMatchID (Int_t match)
 
void SetRealTrack (Track *tr)
 
void SetImgTrack (Track *tr)
 
Int_t GetMatchID () const
 
virtual void Clear (Option_t *opt="")
 
virtual Float_t GetFieldVal (Int_t fieldID) const
 
virtual void CopyData (Track *other)
 
virtual void CopyAllData (Track *other)
 
virtual void ResetTrack (Int_t thisId=-1, Event *event=nullptr)
 
virtual TString GetFieldName (Int_t fieldID) const
 
TrackGetRealTrack () const
 
TrackGetImgTrack () 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 Boost (Double_t vx, Double_t vy, Double_t vz)
 
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 RotateZ (Double_t angle)
 
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)
 

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
 
- 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
 

Detailed Description

Definition at line 19 of file ComplexTrack.h.

Constructor & Destructor Documentation

◆ ComplexTrack() [1/2]

Hal::ComplexTrack::ComplexTrack ( )

Definition at line 16 of file ComplexTrack.cxx.

◆ ComplexTrack() [2/2]

Hal::ComplexTrack::ComplexTrack ( const ComplexTrack & other)

Definition at line 25 of file ComplexTrack.cxx.

◆ ~ComplexTrack()

Hal::ComplexTrack::~ComplexTrack ( )
virtual

Definition at line 18 of file ComplexTrack.cxx.

Member Function Documentation

◆ Clear()

void Hal::ComplexTrack::Clear ( Option_t * opt = "")
virtual

clear flags and links

Parameters

Reimplemented from Hal::Track.

Definition at line 109 of file ComplexTrack.cxx.

◆ CopyAllData()

void Hal::ComplexTrack::CopyAllData ( Track * other)
virtual

copy all data from other track

Parameters
other

Reimplemented from Hal::Track.

Definition at line 122 of file ComplexTrack.cxx.

◆ CopyData()

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

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

Parameters
other

Reimplemented from Hal::Track.

Definition at line 20 of file ComplexTrack.cxx.

◆ GetFieldName()

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

return name of the track property by ID

Parameters
fieldID
Returns

Reimplemented from Hal::Track.

Definition at line 72 of file ComplexTrack.cxx.

◆ GetFieldVal()

Float_t Hal::ComplexTrack::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 38 of file ComplexTrack.cxx.

◆ GetImgTrack()

Track * Hal::ComplexTrack::GetImgTrack ( ) const
inline

Definition at line 39 of file ComplexTrack.h.

◆ GetMatchID()

Int_t Hal::ComplexTrack::GetMatchID ( ) const
inline

Definition at line 31 of file ComplexTrack.h.

◆ GetRealTrack()

Track * Hal::ComplexTrack::GetRealTrack ( ) const
inline

Definition at line 38 of file ComplexTrack.h.

◆ operator=()

ComplexTrack & Hal::ComplexTrack::operator= ( const ComplexTrack & other)

Definition at line 28 of file ComplexTrack.cxx.

◆ ResetTrack()

void Hal::ComplexTrack::ResetTrack ( Int_t thisID = -1,
Event * event = nullptr )
virtual

clean variables before filling with values overwriten in ComplexTrack

Parameters
thisID
event

Reimplemented from Hal::Track.

Definition at line 115 of file ComplexTrack.cxx.

◆ SetImgTrack()

void Hal::ComplexTrack::SetImgTrack ( Track * tr)
inline

Definition at line 30 of file ComplexTrack.h.

◆ SetMatchID()

void Hal::ComplexTrack::SetMatchID ( Int_t match)
inline

Definition at line 28 of file ComplexTrack.h.

◆ SetRealTrack()

void Hal::ComplexTrack::SetRealTrack ( Track * tr)
inline

Definition at line 29 of file ComplexTrack.h.


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