couple of changes by C.Andrei
[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
92adf4f6 13#include "AliAnalysisTaskSE.h"
14
be1a7181 15class AliResonanceKink;
16class TList;
17
f9afc48d 18class AliAnalysisTaskKinkResonance : public AliAnalysisTaskSE {
19 public:
92adf4f6 20 AliAnalysisTaskKinkResonance(const char *dname = "AliAnalysisTaskKinkResonance");
f9afc48d 21 virtual ~AliAnalysisTaskKinkResonance() {}
22
92adf4f6 23 virtual void UserCreateOutputObjects();
24 virtual void UserExec(Option_t *option);
f9afc48d 25 virtual void Terminate(Option_t *);
26
27 void SetAnalysisKinkObject(AliResonanceKink * const kinkResonance) {
28 fKinkResonance=kinkResonance;}
29
30 private:
92adf4f6 31 TList *fList; // List
04c3c355 32 AliResonanceKink *fKinkResonance; // resonance object configured externaly
f9afc48d 33
34 AliAnalysisTaskKinkResonance(const AliAnalysisTaskKinkResonance&); // not implemented
35 AliAnalysisTaskKinkResonance& operator=(const AliAnalysisTaskKinkResonance&); // not implemented
36
37 ClassDef(AliAnalysisTaskKinkResonance, 1); // example of analysis
38};
39
40#endif