AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskTemplate.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id: $ */
4 
5 #ifndef AliAnalysisTaskTemplate_H
6 #define AliAnalysisTaskTemplate_H
7 
8 // author: Redmer Alexander Bertens, Utrecht University, 2013
9 // rbertens@cern.ch, rbertens@nihef.nl, r.a.bertens@uu.nl
10 class AliFlowEventSimple;
12 class TList;
13 
14 #include "AliAnalysisTaskSE.h"
15 
16 class AliAnalysisTaskTemplate : public AliAnalysisTaskSE {
17  public:
19  AliAnalysisTaskTemplate(const char *name, Bool_t usePhiWeights);
20  virtual ~AliAnalysisTaskTemplate();
21  virtual void UserCreateOutputObjects();
22  virtual void UserExec(Option_t *option);
23  virtual void Terminate(Option_t *);
24  // setters
26  void SetHarmonic(Int_t const h) {fHarmonic = h;}
27  // getters
29  Int_t GetHarmonic() const {return fHarmonic;};
30  private:
31  AliFlowAnalysisTemplate* fFlowTask; // analysis object
32  TList* fOutputList; // collection of output
33  Bool_t fUsePhiWeights; // use phi weights
34  TList* fListWeights; // list with weights
35  Bool_t fApplyCorrectionForNUA; // apply automatic correction for non-uniform acceptance
36  Int_t fHarmonic; // harmonic
37 
38  AliAnalysisTaskTemplate(const AliAnalysisTaskTemplate& aAnalysisTask); // not implemented
39  AliAnalysisTaskTemplate& operator=(const AliAnalysisTaskTemplate& aAnalysisTask); // not implemented
40 
41  ClassDef(AliAnalysisTaskTemplate, 1); // example of analysis
42 };
43 #endif
virtual void Terminate(Option_t *)
virtual void UserExec(Option_t *option)
AliFlowAnalysisTemplate * fFlowTask
void SetHarmonic(Int_t const h)
AliAnalysisTaskTemplate & operator=(const AliAnalysisTaskTemplate &aAnalysisTask)
Bool_t GetApplyCorrectionForNUA() const
ClassDef(AliAnalysisTaskTemplate, 1)
void SetApplyCorrectionForNUA(Bool_t const a)