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