Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::ExpTrack Class Reference
Inheritance diagram for Hal::ExpTrack:
Hal::Track Hal::ExpTrackHelix HalDbg::RecoTrack HalOTF::RecoTrack

Public Member Functions

 ExpTrack (const ExpTrack &other)=default
 
ExpTrackoperator= (const ExpTrack &track)=default
 
Int_t GetNHits () const
 
Float_t GetChi2 () const
 
Float_t GetTrackLenght () const
 
const TVector3 & GetDCA () const
 
void SetDCA (Double_t x, Double_t y, Double_t z)
 
void SetNHits (Int_t nHits)
 
void SetChi2 (Float_t chi2)
 
void SetTrackLenght (Float_t lenght)
 
virtual DetectorTrackGetDetTrack (const UInt_t) const
 
virtual void CopyData (Track *other)
 
Bool_t IsGlobal () const
 
void SetGlobal (Bool_t global=kTRUE)
 
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 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 CopyAllData (Track *other)
 
virtual void Clear (Option_t *opt="")
 
virtual void ResetTrack (Int_t thisID=-1, Event *event=nullptr)
 
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 25 of file ExpTrack.h.

Constructor & Destructor Documentation

◆ ExpTrack() [1/2]

Hal::ExpTrack::ExpTrack ( )

Definition at line 15 of file ExpTrack.cxx.

◆ ExpTrack() [2/2]

Hal::ExpTrack::ExpTrack ( const ExpTrack & other)
default

copy ctor

Parameters
other

◆ ~ExpTrack()

Hal::ExpTrack::~ExpTrack ( )
virtual

Definition at line 25 of file ExpTrack.cxx.

Member Function Documentation

◆ CopyData()

void Hal::ExpTrack::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::ExpTrackHelix.

Definition at line 27 of file ExpTrack.cxx.

◆ GetChi2()

Float_t Hal::ExpTrack::GetChi2 ( ) const
inline
Returns
chi2 of fitting in all detectors

Definition at line 55 of file ExpTrack.h.

◆ GetDCA()

const TVector3 & Hal::ExpTrack::GetDCA ( ) const
inline
Returns
DCA vector

Definition at line 65 of file ExpTrack.h.

◆ GetDetTrack()

virtual DetectorTrack * Hal::ExpTrack::GetDetTrack ( const UInt_t ) const
inlinevirtual
Parameters
detIDdetector id
Returns

Definition at line 93 of file ExpTrack.h.

◆ GetFieldName()

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

return name of the track property by ID

Parameters
fieldID
Returns

Reimplemented from Hal::Track.

Definition at line 80 of file ExpTrack.cxx.

◆ GetFieldVal()

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

return track property by ID, this should be positve number above 100 (for ID outside of framework)

Parameters
fieldID
Returns

Reimplemented from Hal::Track.

Definition at line 51 of file ExpTrack.cxx.

◆ GetNHits()

Int_t Hal::ExpTrack::GetNHits ( ) const
inline
Returns
number of hits in all detectors

Definition at line 50 of file ExpTrack.h.

◆ GetTrackLenght()

Float_t Hal::ExpTrack::GetTrackLenght ( ) const
inline
Returns
track lenghth

Definition at line 60 of file ExpTrack.h.

◆ IsGlobal()

Bool_t Hal::ExpTrack::IsGlobal ( ) const
inline
Returns
true if track is global

Definition at line 99 of file ExpTrack.h.

◆ operator=()

ExpTrack & Hal::ExpTrack::operator= ( const ExpTrack & track)
default

Assignment operator

Parameters
track
Returns

◆ SetChi2()

void Hal::ExpTrack::SetChi2 ( Float_t chi2)
inline
Parameters
chi2set chi2 of fit in all detectors

Definition at line 82 of file ExpTrack.h.

◆ SetDCA()

void Hal::ExpTrack::SetDCA ( Double_t x,
Double_t y,
Double_t z )
inline

set DCA

Parameters
x
y
z

Definition at line 72 of file ExpTrack.h.

◆ SetGlobal()

void Hal::ExpTrack::SetGlobal ( Bool_t global = kTRUE)

set status of track

Parameters
globalset true if track is global

Definition at line 17 of file ExpTrack.cxx.

◆ SetNHits()

void Hal::ExpTrack::SetNHits ( Int_t nHits)
inline
Parameters
nHitsset total number of htis

Definition at line 77 of file ExpTrack.h.

◆ SetTrackLenght()

void Hal::ExpTrack::SetTrackLenght ( Float_t lenght)
inline

set track lenght

Parameters
lenght

Definition at line 87 of file ExpTrack.h.


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