]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaRec/AliTRDalignmentTask.h
- fix in AliTRDcheckDetector in the PHs plotter that uses the cluster
[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   TObjArray*  Histos(); 
32   TH1*    PlotTrackPoints(const AliTRDtrackV1 *track=0x0);
33   Bool_t  PostProcess(){return kTRUE;}
34   void    Terminate(Option_t *);
35   
36 private:
37   Bool_t IsIdenticalWithOneOf(AliTrackPoint *p, AliTrackPointArray *parray, int nmax);
38   AliTRDalignmentTask(const AliTRDalignmentTask&);
39   AliTRDalignmentTask& operator=(const AliTRDalignmentTask&);
40
41 private:
42   TTree          *fTree;    //! pointer to the output TTree 
43   AliTrackPointArray *fArray; // pointer to the track points
44  
45   ClassDef(AliTRDalignmentTask, 1) // tracking resolution task
46 };
47 #endif