Heavy ion Analysis Libriares
|
#include <Track.h>
Public Member Functions | |
Track (const Track &track) | |
Track & | operator= (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 |
V0Track * | GetV0Info () const |
XiTrack * | GetXiInfo () 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 | CopyData (Track *other) |
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) |
Event * | GetEvent () 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) |
virtual Float_t | GetFieldVal (Int_t fieldID) const |
virtual TString | GetFieldName (Int_t fieldID) const |
Protected Types | |
enum | ETrackBits { kPrimary = 0 , kV0 = 1 , kXi = 2 , kGlobal = 3 , kMother = 4 , kV0Daughters = 5 , kXiDaughters = 6 } |
Protected Member Functions | |
Float_t | GetV0IfPossible (Int_t fieldId) const |
Protected Attributes | |
Event * | fEvent |
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 |
Friends | |
class | Event |
Hal::Track::Track | ( | const Track & | track | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
copy basic data from other track does not copy event or "thisID"
other |
Reimplemented in Hal::ComplexTrack, Hal::ExpTrack, Hal::ExpTrackHelix, Hal::McTrack, and Hal::SmearedTrack.
void Hal::Track::EnableV0 | ( | Bool_t | v0, |
Bool_t | daughters = kTRUE ) |
void Hal::Track::EnableXi | ( | Bool_t | xi, |
Bool_t | daughters = kTRUE ) |
|
inline |
|
inline |
|
inline |
|
virtual |
return name of the track property by ID
fieldID |
Reimplemented in Hal::ComplexTrack, Hal::ExpTrack, and Hal::McTrack.
|
virtual |
return track property by ID, this should be positve number larger than 200 and smaller than 10000
fieldID |
Reimplemented in Hal::ComplexTrack, Hal::ExpTrack, and Hal::McTrack.
|
inline |
|
inline |
|
inlinevirtual |
std::vector< int > Hal::Track::GetLinks | ( | ) | const |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
V0Track * Hal::Track::GetV0Info | ( | ) | const |
XiTrack * Hal::Track::GetXiInfo | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
assignement operator
track |
|
virtual |
|
virtual |
clean variables before filling with values overwriten in ComplexTrack
thisID | |
event |
Reimplemented in Hal::ComplexTrack.
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
void Hal::Track::SetMass | ( | Double_t | mass | ) |
|
inline |
|
inline |
void Hal::Track::SetSecondary | ( | Bool_t | parent | ) |
|
inline |
|
inline |
void Hal::Track::TranslateLinks | ( | const CompressionMap & | map | ) |
|
protected |