]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/TenderSupplies/AliAnalysisTaskVZEROEqFactorTask.h
Fixes for invalid write, detected by valgrind
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliAnalysisTaskVZEROEqFactorTask.h
CommitLineData
21c2a03e 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
31class TList;
32class TH1F;
33class TH2F;
34class TH3F;
35class TVector3;
36class THnSparse;
37
38class AliESDpid;
39class AliESDtrackCuts;
40class AliAnalysisUtils;
41class AliESDEvent;
42class AliPhysicsSelection;
43class AliCFContainer;
44class AliVZEROCalibData;
45//class AliAnalysisTaskSE;
46
47//#include "TString.h"
48//#include "AliESDtrackCuts.h"
49
50
51class 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 private:
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
67
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
72
73//===========================================================================================
74// Histograms - Event Counting only
75//===========================================================================================
76
77 TH1D *fHistEventCounter; //!
78
79 AliAnalysisTaskVZEROEqFactorTask(const AliAnalysisTaskVZEROEqFactorTask&); // not implemented
80 AliAnalysisTaskVZEROEqFactorTask& operator=(const AliAnalysisTaskVZEROEqFactorTask&); // not implemented
81
82 ClassDef(AliAnalysisTaskVZEROEqFactorTask, 11);
83};
84
85#endif