]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/TRD/AliTRDalignmentTask.h
fix for bug report https://savannah.cern.ch/bugs/index.php?78827#comment6
[u/mrichter/AliRoot.git] / PWG1 / TRD / 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   AliTRDalignmentTask(char* name);
28   virtual ~AliTRDalignmentTask();
29   
30   void    UserCreateOutputObjects();
31   void    UserExec(Option_t *opt);
32   TH1*    PlotTrackPoints(const AliTRDtrackV1 *track=NULL);
33   //Bool_t  PostProcess() { return kTRUE;}
34   
35 private:
36   Bool_t IsIdenticalWithOneOf(AliTrackPoint * const p, AliTrackPointArray *parray, int nmax);
37   AliTRDalignmentTask(const AliTRDalignmentTask&);
38   AliTRDalignmentTask& operator=(const AliTRDalignmentTask&);
39
40 private:
41   TTree          *fTree;    //! pointer to the output TTree 
42   AliTrackPointArray *fArray; // pointer to the track points
43  
44   ClassDef(AliTRDalignmentTask, 1) // tracking resolution task
45 };
46 #endif