Update Kink Analysis from Evi Ganoti
[u/mrichter/AliRoot.git] / PWG2 / KINK / AliAnalysisTaskKinkResonance.h
CommitLineData
f9afc48d 1#ifndef ALIANALYSISTASKKINKRESONANCE_H
2#define ALIANALYSISTASKKINKRESONANCE_H
3
4/* See cxx source for full Copyright notice */
5
6//------------------------------------------------------------------------------
7// class AliAnalysisTaskKinkResonance
8// This task is an example of an analysis task
9// for analysing resonances having one kaon kink
10//Author: Paraskevi Ganoti, University of Athens (pganoti@phys.uoa.gr)
11//------------------------------------------------------------------------------
12
13class TList;
14class AliESDEvent;
15class AliMCEvent;
16class AliResonanceKink;
17class TH1D;
18
19class AliAnalysisTaskKinkResonance : public AliAnalysisTaskSE {
20 public:
21 AliAnalysisTaskKinkResonance();
22 AliAnalysisTaskKinkResonance(const char *name);
23 virtual ~AliAnalysisTaskKinkResonance() {}
24
25 virtual void ConnectInputData(Option_t *);
26 virtual void CreateOutputObjects();
27 virtual void Exec(Option_t *option);
28 virtual void Terminate(Option_t *);
29
30 void SetAnalysisKinkObject(AliResonanceKink * const kinkResonance) {
31 fKinkResonance=kinkResonance;}
32
33 private:
34 AliESDEvent *fESD; //! ESD object
35 AliMCEvent *fmcEventH;
36 TList *fList; //! List
37 AliResonanceKink *fKinkResonance;
38
39 AliAnalysisTaskKinkResonance(const AliAnalysisTaskKinkResonance&); // not implemented
40 AliAnalysisTaskKinkResonance& operator=(const AliAnalysisTaskKinkResonance&); // not implemented
41
42 ClassDef(AliAnalysisTaskKinkResonance, 1); // example of analysis
43};
44
45#endif