coverity fix
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / Kinks / 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
e3c296cd 8// This task is an example of an analysis task
9// for analysing resonances having one kaon kink
f9afc48d 10//Author: Paraskevi Ganoti, University of Athens (pganoti@phys.uoa.gr)
11//------------------------------------------------------------------------------
12
be1a7181 13class TList;
894840ad 14class AliResonanceKink;
15
16#include "AliAnalysisTaskSE.h"
be1a7181 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