]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDtrackerDebug.h
8f6ac60cf9bcc7bf893f7023438a9aee150a9ac2
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackerDebug.h
1 #ifndef ALITRDTRACKERDEBUG_H
2 #define ALITRDTRACKERDEBUG_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id: AliTRDtrackerDebug.h 22646 2007-11-29 18:13:40Z cblume $ */
8
9 ////////////////////////////////////////////////////////////////////////////
10 //                                                                        //
11 //  Reader for the TRD tracker debug streamer                             // 
12 //                                                                        // 
13 //  Authors:                                                              //
14 //                                                                        //
15 //    Alex Bercuci <A.Bercuci@gsi.de>                                     //
16 //                                                                        // 
17 ////////////////////////////////////////////////////////////////////////////
18
19 #ifndef ALITRDTRACKERV1_H
20 #include "AliTRDtrackerV1.h"
21 #endif
22
23 class TTree;
24 class TTreeSRedirector;
25 class AliTRDtrackV1;
26 class AliTRDseedV1;
27
28 class AliTRDtrackerDebug : public AliTRDtrackerV1
29 {
30 public:
31         AliTRDtrackerDebug();
32         ~AliTRDtrackerDebug();
33
34         void                            Draw(const Option_t *);
35
36         Bool_t      Init();
37         Bool_t      Open(const char *method);
38         Int_t       Process();
39
40         void        ResidualsClustersTrack(const AliTRDseedV1 *tracklet);
41         void        ResidualsClustersTracklet(const AliTRDseedV1 *tracklet) const;
42         void        ResidualsClustersParametrisation(const AliTRDseedV1 *tracklet) const;
43         void        ResidualsTrackletsTrack() const;
44
45
46 private:
47         AliTRDtrackerDebug(const AliTRDtrackerDebug &);
48         AliTRDtrackerDebug& operator=(const AliTRDtrackerDebug &);
49
50
51   TTreeSRedirector *fOutputStreamer;                 //!Output streamer
52         TTree            *fTree;       // debug tree
53         AliTRDseedV1     *fTracklet;   // current tracklet
54         AliTRDtrackV1    *fTrack;      // current TRD track
55         Int_t            fNClusters;   // N clusters for current track
56         Float_t          fAlpha;       // sector
57
58         ClassDef(AliTRDtrackerDebug, 1) // debug suite of the TRD tracker
59 };
60
61 #endif
62