]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TENDER/TenderSupplies/AliAnalysisTaskVZEROEqFactorTask.h
Removing obsolete installation instructions
[u/mrichter/AliRoot.git] / TENDER / TenderSupplies / AliAnalysisTaskVZEROEqFactorTask.h
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17 //
18 // Modified version of AliAnalysisTaskCheckCascade.h
19 // Used bits of code from AliAnalysisTaskCheckPerformanceStrange
20 //
21 // --- David Dobrigkeit Chinellato
22 //
23 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
24
25 #ifndef ALIANALYSISTASKVZEROEQFACTORTASK_H
26 #define ALIANALYSISTASKVZEROEQFACTORTASK_H
27
28 //Needed for this task
29 #include "AliAnalysisTaskSE.h"
30
31 class TList;
32 class TH1F;
33 class TH2F;
34 class TH3F;
35 class TVector3;
36 class THnSparse;
37
38 class AliESDpid;
39 class AliESDtrackCuts;
40 class AliAnalysisUtils;
41 class AliESDEvent;
42 class AliPhysicsSelection;
43 class AliCFContainer;
44 class AliVZEROCalibData; 
45 //class AliAnalysisTaskSE;
46
47 //#include "TString.h"
48 //#include "AliESDtrackCuts.h"
49
50
51 class AliAnalysisTaskVZEROEqFactorTask : public AliAnalysisTaskSE {
52  public:
53   AliAnalysisTaskVZEROEqFactorTask();
54   AliAnalysisTaskVZEROEqFactorTask(const char *name);
55   virtual ~AliAnalysisTaskVZEROEqFactorTask();
56   
57   virtual void   UserCreateOutputObjects();
58   virtual void   UserExec(Option_t *option);
59   virtual void   Terminate(Option_t *);
60   AliVZEROCalibData* GetCalibData() const;
61
62   void SetIsAODAnalysis(Bool_t flag) {fisAOD=flag;}
63   Bool_t GetIsAODAnalysis() const {return fisAOD;}
64   
65  private:
66         // Note : In ROOT, "//!" means "do not stream the data from Master node to Worker node" ...
67         // your data member object is created on the worker nodes and streaming is not needed.
68         // http://root.cern.ch/download/doc/11InputOutput.pdf, page 14
69   TList  *fListHist;  //! List of Cascade histograms
70
71   //Re-loaded per event if required, a la AliCentrality
72   TH1F*   fEqFactors;               //! Histogram with the equalization factors used in event-plane reconstruction
73   AliVZEROCalibData* fCalibData;    //! calibration data
74   Long_t fRunNumber;                //! Needed to make sure we haven't swapped runs
75  
76 //===========================================================================================
77 //   Histograms - Event Counting only 
78 //===========================================================================================
79
80   TH1D *fHistEventCounter; //! 
81   Bool_t fisAOD; // flag for analysis on AODs
82
83    AliAnalysisTaskVZEROEqFactorTask(const AliAnalysisTaskVZEROEqFactorTask&);            // not implemented
84    AliAnalysisTaskVZEROEqFactorTask& operator=(const AliAnalysisTaskVZEROEqFactorTask&); // not implemented
85    
86    ClassDef(AliAnalysisTaskVZEROEqFactorTask, 12);
87 };
88
89 #endif