Fixes for object target dependencies
[u/mrichter/AliRoot.git] / T0 / AliT0HIanalysisTask.h
CommitLineData
a65a7e70 1#ifndef AliT0HIanalysisTask_cxx
2#define AliT0HIanalysisTask_cxx
3
4// example of an analysis task creating a p_t spectrum
5// Authors: Panos Cristakoglou, Jan Fiete Grosse-Oetringhaus, Christian Klein-Boesing
6
7#include "TH1F.h"
8#include "TH2F.h"
9#include "TList.h"
10#include "TTree.h"
11#include "TString.h"
12
13#define NPMT0 24 //number T0 of photomultipliers
14
15class AliESDEvent;
16#include "AliAnalysisTaskSE.h"
17
18class AliT0HIanalysisTask : public AliAnalysisTaskSE {
19 public:
20 AliT0HIanalysisTask() : AliAnalysisTaskSE(),
21 fESD(0), fOutputList(0), fT0OutTree(0) {};
22 AliT0HIanalysisTask(const char *name);
23 virtual ~AliT0HIanalysisTask();
24
25 virtual void UserCreateOutputObjects();
26 virtual void UserExec(Option_t *option);
27 virtual void Terminate(Option_t *);
28 Bool_t UserNotify();
29 private:
30 AliESDEvent *fESD; //! ESD object
31 TList *fOutputList; //! Output list
32 TTree *fT0OutTree; //output tree
33 Int_t fEvent;
34 Int_t fOrbit;
35 Int_t fBC;
36 Int_t fTrackletSPD;
37 Int_t fClustersSPD;
38 Int_t fNcont;
39 Int_t fNcontTPC;
40 Float_t fVertex;
41 Float_t fVertexPrim;
42 Float_t fVertexSPD;
43 Float_t fVertexTPC;
44 Float_t fMeanAC;
45 Float_t fMeanA;
46 Float_t fMeanC;
47 Float_t fMeanACcalc;
48 Float_t fMeanAcalc;
49 Float_t fMeanCcalc;
50 Float_t fMultV0A;
51 Float_t fMultV0C;
52 Float_t fTimeV0A;
53 Float_t fTimeV0C;
54 Float_t fSumampA;
55 Float_t fSumampC;
56 UInt_t ftimestamp;
57 Float_t fSep2;
58 Bool_t fZDCcut;
59 Int_t fT0Trigger;
60 Bool_t fpileup;
61 TObjString fTrigger;
62 TH1F **fT0_amplitude; //! Amplitudes
63 TH1F **fT0_time; //! Time
64 Float_t fcentralityV0M;
65 Float_t fcentralityZDC;
66 Float_t fcentralityTRK;
67 Float_t fcentralityCLA;
68 Int_t fESDtracks;
69 Float_t fOrA[5];
70 Float_t fOrC[5];
71 Float_t fTVDC[5];
72
73 Float_t famp[24];
74 Float_t ftime[24];
75 Float_t fRawTime[24][5];
76 Bool_t fT0pileup[3];
77 Int_t fMultiplicity;
78 TObjString fTriggerinput ;
79 Int_t fTOFtracks;
80 Float_t t0tofTrack;
81 AliESDpid* fESDpid; //! esd pid
82
83 AliT0HIanalysisTask(const AliT0HIanalysisTask&); // not implemented
84 AliT0HIanalysisTask& operator=(const AliT0HIanalysisTask&); // not implemented
85
86 ClassDef(AliT0HIanalysisTask, 3); // example of analysis
87};
88
89#endif