3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDgtuTMU.h 27496 2008-07-22 08:35:45Z cblume $ */
8 //--------------------------------------------------------------------
10 // This class simulates the tracklet processing in a TMU
12 //--------------------------------------------------------------------
17 #include "AliTRDtrackletGTU.h"
18 #include "AliTRDgtuParam.h"
25 class AliTRDgtuTMU : public TObject {
27 AliTRDgtuTMU(Int_t stack = -1, Int_t sector = -1);
30 Bool_t SetSector(Int_t sector);
31 Bool_t SetStack(Int_t stack);
33 Bool_t AddTracklet(AliTRDtrackletGTU *tracklet, Int_t link);
34 Bool_t WriteTrackletsToTree(TTree *trklTree);
36 Bool_t RunTMU(TList *ListOfTracks = 0x0, AliESDEvent *esd = 0x0);
39 // ----- successive stages of the processing in the TMU -----
40 Bool_t RunInputUnit(Int_t layer);
41 Bool_t RunZChannelUnit(Int_t layer);
42 Bool_t RunTrackFinder(Int_t zchannel, TList* ListOfTracks);
43 Bool_t RunTrackMerging(TList* ListOfTracks);
44 Bool_t RunTrackReconstruction(TList* ListOfTracks);
46 Bool_t CalculateTrackParams(AliTRDtrackGTU *track);
47 Bool_t Uniquifier(TList* inlist, TList *outlist);
48 Bool_t CalculatePID(AliTRDtrackGTU *track);
51 TObjArray **fTracklets; // holding all tracklets per link
52 TObjArray **fTrackletsPostInput; // holding all tracklets of a layer
53 // after sorting/calculation in input units
54 TList **fZChannelTracklets; // holding all tracklets for layer and z-channel
55 TList **fTracks; // lists of tracks
56 AliTRDgtuParam *fGtuParam; // pointer to the instance of the GtuParam class
58 Int_t fStack; // Stack of this TMU
59 Int_t fSector; // Sector of this TMU
62 AliTRDgtuTMU(const AliTRDgtuTMU &rhs); // not implemented
63 AliTRDgtuTMU& operator=(const AliTRDgtuTMU &rhs); // not implemented
65 ClassDef(AliTRDgtuTMU, 1);