Adding the example on how to access the kine tree with tha TaskRL
[u/mrichter/AliRoot.git] / PWG2 / AnalysisMacros / Kine / AliAnalysisTaskRLPt.h
CommitLineData
0f400c1a 1#include "TH1.h"
2
3#include "AliESD.h"
4
5#include "AliAnalysisTaskRL.h"
6
7class AliAnalysisTaskRLPt : public AliAnalysisTaskRL {
8 public:
9 AliAnalysisTaskRLPt(const char *name);
10 virtual ~AliAnalysisTaskRLPt() {}
11
12 virtual void ConnectInputData(Option_t *);
13 virtual void CreateOutputObjects();
14 virtual void Exec(Option_t *option);
15 virtual void Terminate(Option_t *);
16
17 private:
18 AliESD *fESD; //ESD object
19 TH1F *fHistPt; //Pt spectrum
20
21 ClassDef(AliAnalysisTaskRLPt, 0); // example of analysis
22};
23