]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowTasks/AliAnalysisTaskFlowEventforRP.h
changed the order of call of endofcycle so that images are produced
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliAnalysisTaskFlowEventforRP.h
CommitLineData
0692a009 1/////////////////////////////////////////////////////
2// AliAnalysisTaskFlowEventfoRP:
3// analysis task to fill the flow event
4// and calculate the ReactionPlane for the AODheader
5//////////////////////////////////////////////////////
6
7/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
8* See cxx source for full Copyright notice */
9/* $Id: $ */
10
11#ifndef AliAnalysisTaskFlowEventforRP_H
12#define AliAnalysisTaskFlowEventforRP_H
13
713d0676 14//class AliESDEvent;
15//class AliAODEvent;
0692a009 16class AliCFManager;
17class AliFlowEventSimpleMaker;
0692a009 18
19#include "TString.h"
20#include "AliAnalysisTaskSE.h"
21
22class AliAnalysisTaskFlowEventforRP : public AliAnalysisTaskSE {
23 public:
24 AliAnalysisTaskFlowEventforRP();
713d0676 25 AliAnalysisTaskFlowEventforRP(const char *name);
0692a009 26 virtual ~AliAnalysisTaskFlowEventforRP();
27
28 //virtual void ConnectInputData(Option_t *);
29 virtual void UserCreateOutputObjects();
30 virtual void UserExec(Option_t *option);
31 virtual void Terminate(Option_t *);
32
33 void SetAnalysisType(TString type) { this->fAnalysisType = type; }
34 TString GetAnalysisType() const { return this->fAnalysisType; }
35
36 void SetMinMult(Int_t multmin) {this->fMinMult = multmin; }
37 Int_t GetMinMult() const {return this->fMinMult; }
38 void SetMaxMult(Int_t multmax) {this->fMaxMult = multmax; }
39 Int_t GetMaxMult() const {return this->fMaxMult; }
40
0692a009 41 void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; }
42 AliCFManager* GetCFManager1() {return this->fCFManager1; }
43 void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; }
44 AliCFManager* GetCFManager2() {return this->fCFManager2; }
713d0676 45
46
0692a009 47 private:
48
49 AliAnalysisTaskFlowEventforRP(const AliAnalysisTaskFlowEventforRP& aAnalysisTask);
50 AliAnalysisTaskFlowEventforRP& operator=(const AliAnalysisTaskFlowEventforRP& aAnalysisTask);
51
713d0676 52 //TFile* fOutputFile; // temporary output file for testing
0692a009 53 //AliESDEvent* fESD; // ESD object
54 //AliAODEvent* fAOD; // AOD object
55 AliFlowEventSimpleMaker* fEventMaker; // FlowEventSimple maker object
56 TString fAnalysisType; // can be MC, ESD or AOD
57 AliCFManager* fCFManager1; // correction framework manager
58 AliCFManager* fCFManager2; // correction framework manager
0692a009 59 Int_t fMinMult; // Minimum multiplicity from tracks selected using CORRFW
60 Int_t fMaxMult; // Maximum multiplicity from tracks selected using CORRFW
0692a009 61
713d0676 62 Double_t fMCReactionPlaneAngle; // the angle of the reaction plane from the MC truth
0692a009 63
64 ClassDef(AliAnalysisTaskFlowEventforRP, 1); // example of analysis
65};
66
67#endif
68