- classes for pT spectra charged hadrons analysis added
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / ChargedHadrons / dNdPt / AlidNdPtTask.h
CommitLineData
0aaa8b91 1#ifndef ALIDNDPTTASK_H
2#define ALIDNDPTTASK_H
3
4//------------------------------------------------------------------------------
5// Task for dNdPt analysis.
6//
7// Author: J.Otwinowski 04/11/2008
8//------------------------------------------------------------------------------
9
10class AliESDEvent;
11class AliMCEvent;
12class AlidNdPtEventCuts;
13class AlidNdPtAcceptanceCuts;
14class AliESDtrackCuts;
15class AlidNdPt;
16class AlidNdPtAnalysis;
17class AlidNdPtCorrection;
18class AliMagFMaps;
19class TList;
20
bdd49ee6 21#include "AlidNdPtHelper.h"
de93884d 22#include "AliAnalysisTaskSE.h"
0aaa8b91 23
de93884d 24class AlidNdPtTask : public AliAnalysisTaskSE {
0aaa8b91 25 public:
26 AlidNdPtTask(const char *name = "AlidNdPtTask");
27 virtual ~AlidNdPtTask();
28
de93884d 29 virtual void UserCreateOutputObjects();
30 virtual void UserExec(Option_t *option);
0aaa8b91 31 virtual void Terminate(Option_t *);
32 virtual Bool_t Notify();
a26e43aa 33 virtual void FinishTaskOutput();
0aaa8b91 34 Bool_t AddAnalysisObject(AlidNdPt *pObj);
35 void SetUseMCInfo(Bool_t info) { fUseMCInfo = info; }
0487c490 36
0aaa8b91 37 private:
38
39 AliESDEvent *fESD; //! ESD event
40 AliMCEvent *fMC; //! MC event
41 TList* fOutput; //! list send on output slot 0
42 TIterator *fPitList; //! iterator over the output objetcs
43 TList *fCompList; // list of comparison objects
44
0487c490 45 Bool_t fUseMCInfo; // use MC information
46
0aaa8b91 47 AlidNdPtTask(const AlidNdPtTask&); // not implemented
48 AlidNdPtTask& operator=(const AlidNdPtTask&); // not implemented
49
a26e43aa 50 ClassDef(AlidNdPtTask, 4); // example of analysis
0aaa8b91 51};
52
53#endif