AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskSimpleSP.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 AliAnalysisTaskSimpleSP_H
6 #define AliAnalysisTaskSimpleSP_H
7 
9 // AliAnalysisTaskSimpleSP:
10 // analysis task for Scalar Product method
11 // Author: Naomi van der Kolk (kolk@nikhef.nl)
13 
14 class AliFlowEventSimple;
16 class TList;
17 
18 #include "TString.h"
19 #include "AliAnalysisTaskSE.h"
20 
21 //===============================================================
22 
24  public:
26  AliAnalysisTaskSimpleSP(const char *name, Bool_t usePhiWeights);
27  virtual ~AliAnalysisTaskSimpleSP();
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 SetRelDiffMsub(Double_t diff) { this->fRelDiffMsub = diff; }
37  Double_t GetRelDiffMsub() const { return this->fRelDiffMsub; }
38 
39  void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;};
41 
42  void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
43  void SetUseWeights(Bool_t weights) {fWeights = weights; }
44  void SetUseScaling(Bool_t scaling) {fScaling = scaling; }
45  Int_t GetHarmonic() const {return this->fHarmonic;};
46 
49 
50  void SetTotalQvector(const char *tqv) {*this->fTotalQvector = tqv;};
51 
52  void SetBookOnlyBasicCCH(Bool_t const aMB) {this->fMinimalBook = aMB;}
53 
54  private:
55 
58 
59  AliFlowEventSimple* fEvent; //input event
60  AliFlowAnalysisWithSimpleSP* fSP; // analysis object
61  TList* fListHistos; // collection of output
62 
63  Bool_t fMinimalBook; // flag to turn off QA and minimize FlowCommonHist
64  Bool_t fUsePhiWeights; // use phi weights
65  TList* fListWeights; // list with weights
66 
67  Double_t fRelDiffMsub; // the relative difference the two subevent multiplicities can have
68 
69  Bool_t fApplyCorrectionForNUA; // apply automatic correction for non-uniform acceptance
70 
71  Int_t fHarmonic; // harmonic
72  Bool_t fWeights; // use event weights
73  Bool_t fScaling; // use q-vector scaling
74  Int_t fNormalizationType; // 0: EP mode || 1: SP mode (default)
75  Bool_t fV0SanityCheck; // 14102016 test flag
76 
77  TString *fTotalQvector; // total Q-vector is: "QaQb" (means Qa+Qb), "Qa" or "Qb"
78 
79  ClassDef(AliAnalysisTaskSimpleSP, 1); // example of analysis
80 };
81 
82 //==================================================================
83 
84 #endif
double Double_t
Definition: External.C:58
void SetTotalQvector(const char *tqv)
virtual void Terminate(Option_t *)
void SetUseScaling(Bool_t scaling)
void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA)
AliFlowAnalysisWithSimpleSP * fSP
Bool_t GetApplyCorrectionForNUA() const
void SetUseWeights(Bool_t weights)
int Int_t
Definition: External.C:63
void SetRelDiffMsub(Double_t diff)
void SetUsePhiWeights(Bool_t const aPhiW)
void SetHarmonic(Int_t const harmonic)
AliAnalysisTaskSimpleSP & operator=(const AliAnalysisTaskSimpleSP &aAnalysisTask)
void SetBookOnlyBasicCCH(Bool_t const aMB)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
virtual void UserExec(Option_t *option)