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(AliTRDtrackletBase *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 from one detector (i. e. one chamber)
52 TList **fZChannelTracklets; // holding all tracklets for layer and z-channel
53 TList **fTracks; // lists of tracks
54 AliTRDgtuParam *fGtuParam; // pointer to the instance of the GtuParam class
56 Int_t fStack; // Stack of this TMU
57 Int_t fSector; // Sector of this TMU
60 AliTRDgtuTMU(const AliTRDgtuTMU &rhs); // not implemented
61 AliTRDgtuTMU& operator=(const AliTRDgtuTMU &rhs); // not implemented
63 ClassDef(AliTRDgtuTMU, 1);