]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaRec/AliTRDalignmentTask.h
new task "TRD alignment". Responsible persons A.Bercuci, D.Miskowiec,
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDalignmentTask.h
1 #ifndef AliTRDALIGNMENTTASK_H
2 #define AliTRDALIGNMENTTASK_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 ////////////////////////////////////////////////////////////////////////////
8 //                                                                        //
9 //  TRD Alignment QA                                                     //
10 //                                                                        //
11 ////////////////////////////////////////////////////////////////////////////
12
13 #ifndef ALITRDRECOTASK_H
14 #include "AliTRDrecoTask.h"
15 #endif
16
17 class TH1;
18 class TTree;
19 class AliTrackPoint;
20 class AliTrackPointArray;
21 class AliTRDtrackV1;
22 class AliTRDalignmentTask : public AliTRDrecoTask
23 {
24 public:
25
26   AliTRDalignmentTask();
27   virtual ~AliTRDalignmentTask();
28   
29   void    CreateOutputObjects();
30   void    Exec(Option_t *opt);
31   void    GetRefFigure(Int_t ifig);
32   TObjArray*  Histos(); 
33   TH1*    PlotTrackPoints(const AliTRDtrackV1 *track=0x0);
34   Bool_t  PostProcess(){return kTRUE;}
35   void    Terminate(Option_t *);
36   
37 private:
38   Bool_t IsIdenticalWithOneOf(AliTrackPoint *p, AliTrackPointArray *parray, int nmax);
39   AliTRDalignmentTask(const AliTRDalignmentTask&);
40   AliTRDalignmentTask& operator=(const AliTRDalignmentTask&);
41
42 private:
43   TTree          *fTree;    //! pointer to the output TTree 
44   AliTrackPointArray *fArray; // pointer to the track points
45  
46   ClassDef(AliTRDalignmentTask, 1) // tracking resolution task
47 };
48 #endif