ROOT logo
AliRoot » TRD » AliTRDtrackGTU

class AliTRDtrackGTU: public TObject


A GTU track

Author: J. Klein (Jochen.Klein@cern.ch)


Function Members (Methods)

public:
AliTRDtrackGTU()
AliTRDtrackGTU(const AliTRDtrackGTU& rhs)
virtual~AliTRDtrackGTU()
voidTObject::AbstractMethod(const char* method) const
voidAddTracklet(const AliTRDtrackletGTU *const tracklet, Int_t layer)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tCookLabel()
virtual voidTObject::Copy(TObject& object) const
AliESDTrdTrack*CreateTrdTrack() const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Float_tGetA() const
Float_tGetB() const
Float_tGetC() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tGetLabel() const
virtual const char*TObject::GetName() const
Int_tGetNTracklets() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetPID() const
Float_tGetPt() const
Int_tGetPtInt() const
Int_tGetRefLayer() const
Int_tGetRefLayerIdx() const
Int_tGetSector() const
Int_tGetStack() const
virtual const char*TObject::GetTitle() const
AliTRDtrackletGTU*GetTracklet(Int_t layer) const
Int_tGetTrackletIndex(Int_t layer)
Int_tGetTrackletMask() const
virtual UInt_tTObject::GetUniqueID() const
Int_tGetYapprox()
Int_tGetZChannel() const
Int_tGetZSubChannel()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsTrackletInLayer(Int_t layer) const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AliTRDtrackGTU&operator=(const AliTRDtrackGTU& rhs)
AliTRDtrackGTU&operator=(const AliESDTrdTrack& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFitParams(Float_t a, Float_t b, Float_t c)
voidSetLabel(Int_t label)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPID(Int_t pid)
voidSetRefLayerIdx(Int_t reflayer)
voidSetSector(Int_t sector)
voidSetStack(Int_t stack)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetZChannel(Int_t zch)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
Float_tfAfit parameter of y' = a + b*x + c*z
Float_tfBfit parameter of y' = a + b*x + c*z
Float_tfCfit parameter of y' = a + b*x + c*z
Int_tfLabelMC label
Int_tfNTrackletsnumber of tracklets in this track
Int_tfPIDPID calculated from tracklet PID
Int_tfRefLayerIdxindex of the reference layer in which this track was found
Int_tfSectorsector in which the track was found
Int_tfStackTRD stack to which this track belongs
Int_tfTrackletMaskmask in which layers tracklets have been assigned
TClonesArray*fTrackletsarray holding the tracklets composing this track
Int_tfZChannelz-channel unit in which this track was found
Int_tfZSubChannelz-subchannel of the assigned tracklets

Class Charts

Inheritance Chart:
TObject
AliTRDtrackGTU

Function documentation

AliTRDtrackGTU()
 default ctor
AliTRDtrackGTU(const AliTRDtrackGTU& rhs)
AliTRDtrackGTU& operator=(const AliTRDtrackGTU& rhs)
AliTRDtrackGTU& operator=(const AliESDTrdTrack& rhs)
~AliTRDtrackGTU()
 dtor
void AddTracklet(const AliTRDtrackletGTU *const tracklet, Int_t layer)
 add a tracklet to this track
AliTRDtrackletGTU* GetTracklet(Int_t layer) const
 get a pointer to the tracklet in the layer specified
Int_t GetNTracklets() const
 returns the number of tracklets in this track
Bool_t IsTrackletInLayer(Int_t layer) const
 checks for a tracklet in the given layer
void SetFitParams(Float_t a, Float_t b, Float_t c)
 set the fit parameters
Int_t GetZSubChannel()
 returns the z-subchannel
Int_t GetYapprox()
 returns an approximated y-position for the track
 taken from the projected y-position of the tracklet in the reference layer
 in which the track was found
AliESDTrdTrack* CreateTrdTrack() const
 creates an AliESDTrdTrack to be added to the ESD
Bool_t CookLabel()
 assign label from tracklets according to frequency
Int_t GetPtInt() const
 ----- Track properties
{ return AliTRDgtuParam::GetPt(fTrackletMask, (Int_t) this->GetA(), 0, 0, 0, 0); }
Float_t GetPt() const
{ return (Float_t) this->GetPtInt() / 128.; }
Int_t GetPID() const
{ return fPID; }
Int_t GetSector() const
{ return fSector; }
Int_t GetStack() const
{ return fStack; }
Int_t GetLabel() const
{ return fLabel; }
Int_t GetTrackletMask() const
{ return fTrackletMask; }
Int_t GetTrackletIndex(Int_t layer)
{ return IsTrackletInLayer(layer) ? ((AliTRDtrackletGTU*) (*fTracklets)[layer])->GetIndex() : -1; }
Float_t GetA() const
 ----- Quantities used internally for the calculation
{ return fA; }
Float_t GetB() const
{ return fB; }
Float_t GetC() const
{ return fC; }
Int_t GetZChannel() const
{ return fZChannel; }
Int_t GetRefLayer() const
Int_t GetRefLayerIdx() const
{ return fRefLayerIdx; }
void SetStack(Int_t stack)
{ fStack = stack; }
void SetSector(Int_t sector)
{ fSector = sector; }
void SetPID(Int_t pid)
{ fPID = pid; }
void SetLabel(Int_t label)
{ fLabel = label; }
void SetZChannel(Int_t zch)
{ fZChannel = zch; }
void SetRefLayerIdx(Int_t reflayer)
  void SetInnerIntPoint(Float_t *x);
  void SetOuterIntPoint(Float_t *x);
{ fRefLayerIdx = reflayer; }