]>
Commit | Line | Data |
---|---|---|
9d7fd9bf | 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 AliAnalysisTaskMSP_H | |
6 | #define AliAnalysisTaskMSP_H | |
7 | ||
8 | ///////////////////////////////////////////////// | |
9 | // AliAnalysisTaskMSP: | |
10 | // analysis task for Scalar Product method | |
11 | // Author: Paul Kuijer (Paul.Kuijer@nikhef.nl) | |
12 | ///////////////////////////////////////////////// | |
13 | ||
14 | class AliFlowEventSimple; | |
15 | class AliFlowAnalysisWithMSP; | |
16 | class TList; | |
17 | ||
18 | #include "TString.h" | |
19 | #include "AliAnalysisTaskSE.h" | |
20 | ||
21 | //=============================================================== | |
22 | ||
23 | class AliAnalysisTaskMSP : public AliAnalysisTaskSE { | |
24 | public: | |
25 | AliAnalysisTaskMSP(); | |
26 | AliAnalysisTaskMSP(const char *name, Bool_t usePhiWeights); | |
27 | virtual ~AliAnalysisTaskMSP(); | |
28 | ||
29 | virtual void UserCreateOutputObjects(); | |
30 | virtual void UserExec(Option_t *option); | |
31 | virtual void Terminate(Option_t *); | |
32 | ||
33 | void SetUsePhiWeights(Bool_t const aPhiW) {this->fUsePhiWeights = aPhiW;} | |
34 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;} | |
35 | ||
36 | void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;}; | |
37 | Bool_t GetApplyCorrectionForNUA() const {return this->fApplyCorrectionForNUA;}; | |
38 | ||
39 | void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;}; | |
40 | Int_t GetHarmonic() const {return this->fHarmonic;}; | |
41 | ||
42 | void SetBookOnlyBasicCCH(Bool_t const aMB) {this->fMinimalBook = aMB;} | |
43 | ||
44 | private: | |
45 | ||
46 | AliAnalysisTaskMSP(const AliAnalysisTaskMSP& aAnalysisTask); | |
47 | AliAnalysisTaskMSP& operator=(const AliAnalysisTaskMSP& aAnalysisTask); | |
48 | ||
49 | AliFlowEventSimple* fEvent; //input event | |
50 | AliFlowAnalysisWithMSP* fSP; // analysis object | |
51 | TList* fListHistos; // collection of output | |
52 | ||
53 | Bool_t fMinimalBook; // flag to turn off QA and minimize FlowCommonHist | |
54 | Bool_t fUsePhiWeights; // use phi weights | |
55 | TList* fListWeights; // list with weights | |
56 | ||
57 | Bool_t fApplyCorrectionForNUA; // apply automatic correction for non-uniform acceptance | |
58 | ||
59 | Int_t fHarmonic; // harmonic | |
60 | ||
61 | ClassDef(AliAnalysisTaskMSP, 2); // example of analysis | |
62 | }; | |
63 | ||
64 | //================================================================== | |
65 | ||
66 | #endif |