Adding Domenico Colella as responsible for SPD part in TRI pp
[u/mrichter/AliRoot.git] / TRD / AliTRDAnalysisTaskTP.h
1 #ifndef ALITRDANALYSISTASKTP_H
2 #define ALITRDANALYSISTASKTP_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliTRDAnalysisTaskTP.h 42548 2010-07-27 08:10:51Z cblume $ */
7
8 ////////////////////////////////////////////////////////////////////////////
9 //                                                                        //
10 //  Track point maker for the alignment of TRD                            //
11 //                                                                        //
12 ////////////////////////////////////////////////////////////////////////////
13
14 #include "AliAnalysisTaskSE.h"
15
16 class TObjArray;
17 class AliVEvent;
18 class TTree;
19 class AliESDEvent;
20 class TH1D;
21 class TH2D;
22 class AliTrackPointArray;
23
24 class AliTRDAnalysisTaskTP:public AliAnalysisTaskSE {
25 public:
26   AliTRDAnalysisTaskTP();
27   AliTRDAnalysisTaskTP(const char *name);
28   virtual ~AliTRDAnalysisTaskTP();
29
30   //virtual void ConnectInputData(Option_t *option);
31   virtual void UserCreateOutputObjects();
32   virtual void UserExec(Option_t *option);
33   virtual void Terminate(Option_t *option);
34
35 private:
36   TObjArray          *fArrHists;         // histogram array 
37   TObjArray          *fArrTTree;         // tree array
38   TTree              *fTree;             //! alignment tree
39   AliESDEvent        *fESD;              //! esd event
40   TH2D               *fModpop;           //!
41   TH1D               *fBug;              //!
42   Int_t               fNevents;          //! number of events
43   Int_t               fNtracks;          //! number of tracks
44   Int_t               fNAcceptedTracks;  //! number of accepted tracks
45   AliTrackPointArray *fArray;            //! pointer to the track points
46   TFile              *fFile;             //! output file
47
48   AliTRDAnalysisTaskTP(const AliTRDAnalysisTaskTP&);
49   AliTRDAnalysisTaskTP& operator=(const AliTRDAnalysisTaskTP&);
50   
51   ClassDef(AliTRDAnalysisTaskTP,1)
52 };
53
54 #endif
55