1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
18 // Modified version of AliAnalysisTaskCheckCascade.h
19 // Used bits of code from AliAnalysisTaskCheckPerformanceStrange
21 // --- David Dobrigkeit Chinellato
23 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25 #ifndef ALIANALYSISTASKVZEROEQFACTORTASK_H
26 #define ALIANALYSISTASKVZEROEQFACTORTASK_H
28 //Needed for this task
29 #include "AliAnalysisTaskSE.h"
39 class AliESDtrackCuts;
40 class AliAnalysisUtils;
42 class AliPhysicsSelection;
44 class AliVZEROCalibData;
45 //class AliAnalysisTaskSE;
47 //#include "TString.h"
48 //#include "AliESDtrackCuts.h"
51 class AliAnalysisTaskVZEROEqFactorTask : public AliAnalysisTaskSE {
53 AliAnalysisTaskVZEROEqFactorTask();
54 AliAnalysisTaskVZEROEqFactorTask(const char *name);
55 virtual ~AliAnalysisTaskVZEROEqFactorTask();
57 virtual void UserCreateOutputObjects();
58 virtual void UserExec(Option_t *option);
59 virtual void Terminate(Option_t *);
60 AliVZEROCalibData* GetCalibData() const;
63 // Note : In ROOT, "//!" means "do not stream the data from Master node to Worker node" ...
64 // your data member object is created on the worker nodes and streaming is not needed.
65 // http://root.cern.ch/download/doc/11InputOutput.pdf, page 14
66 TList *fListHist; //! List of Cascade histograms
68 //Re-loaded per event if required, a la AliCentrality
69 TH1F* fEqFactors; //! Histogram with the equalization factors used in event-plane reconstruction
70 AliVZEROCalibData* fCalibData; //! calibration data
71 Long_t fRunNumber; //! Needed to make sure we haven't swapped runs
73 //===========================================================================================
74 // Histograms - Event Counting only
75 //===========================================================================================
77 TH1D *fHistEventCounter; //!
79 AliAnalysisTaskVZEROEqFactorTask(const AliAnalysisTaskVZEROEqFactorTask&); // not implemented
80 AliAnalysisTaskVZEROEqFactorTask& operator=(const AliAnalysisTaskVZEROEqFactorTask&); // not implemented
82 ClassDef(AliAnalysisTaskVZEROEqFactorTask, 11);