StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
AliHLTTPCCAGBTracker Class Reference

#include <AliHLTTPCCAGBTracker.h>

Public Member Functions

void Init ()
void StartEvent ()
void SetNSlices (int N)
void SetNHits (int nHits)
void FindTracks ()
void Merge ()
AliHLTArray< AliHLTTPCCATrackerSlices () const
const AliHLTTPCCATrackerSlice (int index) const
const AliHLTTPCCAGBHitHits () const
const AliHLTTPCCAGBHitHit (int index) const
int Ext2IntHitID (int i) const
int NHits () const
int NSlices () const
double Time () const
double StatTime (int iTimer) const
int NTimers () const
int StatNEvents () const
int NTracks () const
AliHLTTPCCAGBTrackTracks () const
AliHLTTPCCAGBTrackTracks ()
const AliHLTTPCCAGBTrackTrack (int i) const
int * TrackHits () const
int * TrackHits ()
int TrackHit (int i) const
bool FitTrack (AliHLTTPCCATrackParam &T, AliHLTTPCCATrackParam t0, float &Alpha, int hits[], int &NTrackHits, bool dir)
void WriteSettings (std::ostream &out) const
void ReadSettings (std::istream &in)
void WriteEvent (FILE *out) const
void ReadEvent (FILE *in)
void WriteTracks (const string &prefix) const
void ReadTracks (std::istream &in)
void SaveHitsInFile (string prefix) const
void SaveSettingsInFile (string prefix) const
bool ReadHitsFromFile (string prefix)
bool ReadSettingsFromFile (string prefix)
double SliceTrackerTime () const
double SliceTrackerCpuTime () const
const int * FirstSliceHit () const
int FirstSliceHit (int i) const
void StoreToFile (const char *filename) const
void RestoreFromFile (FILE *f)
void SetHits (const std::vector< AliHLTTPCCAGBHit > &hits)
 Try to group close hits in row formed by one track. After sort hits.
void SetHits (const AliHLTTPCCAGBHit *hits, int nHits)
void SetSettings (const std::vector< AliHLTTPCCAParam > &settings)
int GetHitsSize () const

Protected Attributes

< AliHLTTPCCATracker
int fNSlices
int * fExt2IntHitID
int fNHits
int * fTrackHits
int fNTracks
< AliHLTTPCCAClusterData,
1, AliHLTFullyCacheLineAligned > 
double fTime
double fStatTime [fNTimers]
int fStatNEvents
int fFirstSliceHit [100]
double fSliceTrackerTime
double fSliceTrackerCpuTime

Static Protected Attributes

static const int fNTimers = 25


class AliHLTTPCCAPerformance
 Try to group close hits in row formed by one track. After sort hits.

Detailed Description

Global Cellular Automaton-based HLT tracker for TPC detector The class reconstructs tracks in the whole TPC It calls the AliHLTTPCCATracker slice tracker and constructs the global TPC tracks by merging the slice tracks

The tracker is designed stand-alone. It will be integrated to the HLT framework via AliHLTTPCCAGBTrackerComponent interface, and to off-line framework via TPC/AliTPCtrackerCA class The class is under construction.

Definition at line 41 of file AliHLTTPCCAGBTracker.h.

Member Function Documentation

void AliHLTTPCCAGBTracker::FindTracks ( )

The necessary data is transfered to the track-finder

The necessary data is transfered to the track-finder Data is structured and saved by track-finders for each sector. To speed up the process in each row 2D-grid with the bin size inversely proportional to the number of hits in the row is introduced. Hits are sorted by grid bins and for each grid bin 1st hit is found and saved. Such data structure allows to quickly find closest hits to the point with given coordinates, which is required while neighbours hits are searched and additional hits are attached to segments.


give the data to the slice tracker


Read hits, row by row

Run the slice trackers in parallel. The mutex is only necessary for storing the timings after the reconstruction.

Definition at line 196 of file AliHLTTPCCAGBTracker.cxx.

References AliHLTTPCCAGBHit::Compare(), AliHLTArray< T, Dim >::Data(), Merge(), AliHLTResizableArray< T, Dim, alignment >::Resize(), AliHLTArray< T, Dim >::Size(), and AliHLTTPCCAClusterData::Slice().

Referenced by StiCATpcTrackerInterface::Run().

bool AliHLTTPCCAGBTracker::FitTrack ( AliHLTTPCCATrackParam T,
AliHLTTPCCATrackParam  t0,
float &  Alpha,
int  hits[],
int &  NTrackHits,
bool  dir 

mvz start 20.01.2010

mvz end 20.01.2010

Definition at line 563 of file AliHLTTPCCAGBTracker.cxx.

void AliHLTTPCCAGBTracker::Merge ( )

mvz start

#ifdef MAIN_DRAW std::cout << "bdzyn! " << std::endl; AliHLTTPCCADisplay::Instance().ClearView(); AliHLTTPCCADisplay::Instance().SetTPCView(); AliHLTTPCCADisplay::Instance().DrawTPC(); AliHLTTPCCADisplay::Instance().DrawGBHits( *this ); #endif

#ifdef MAIN_DRAW AliHLTTPCCADisplay::Instance().Ask(); #endif // MAIN_DRAW

mvz end

Definition at line 362 of file AliHLTTPCCAGBTracker.cxx.

Referenced by FindTracks().

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