AliPhysics  764b6ea (764b6ea)
AliAnalysisTaskScalarProduct.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 AliAnalysisTaskScalarProduct_H
6 #define AliAnalysisTaskScalarProduct_H
7 
9 // AliAnalysisTaskScalarProduct:
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  AliAnalysisTaskScalarProduct(const char *name, Bool_t usePhiWeights);
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  Int_t GetHarmonic() const {return this->fHarmonic;};
44 
46 
47  void SetTotalQvector(const char *tqv) {*this->fTotalQvector = tqv;};
48 
49  void SetBookOnlyBasicCCH(Bool_t const aMB) {this->fMinimalBook = aMB;}
50 
51  private:
52 
55 
56  AliFlowEventSimple* fEvent; //input event
58  TList* fListHistos; // collection of output
59 
60  Bool_t fMinimalBook; // flag to turn off QA and minimize FlowCommonHist
61  Bool_t fUsePhiWeights; // use phi weights
62  TList* fListWeights; // list with weights
63 
64  Double_t fRelDiffMsub; // the relative difference the two subevent multiplicities can have
65 
66  Bool_t fApplyCorrectionForNUA; // apply automatic correction for non-uniform acceptance
67 
68  Int_t fHarmonic; // harmonic
69  Int_t fNormalizationType; // 0: EP mode || 1: SP mode (default)
70 
71  TString *fTotalQvector; // total Q-vector is: "QaQb" (means Qa+Qb), "Qa" or "Qb"
72 
73  ClassDef(AliAnalysisTaskScalarProduct, 2); // example of analysis
74 };
75 
76 //==================================================================
77 
78 #endif
double Double_t
Definition: External.C:58
void SetUsePhiWeights(Bool_t const aPhiW)
void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA)
AliAnalysisTaskScalarProduct & operator=(const AliAnalysisTaskScalarProduct &aAnalysisTask)
virtual void UserExec(Option_t *option)
AliFlowAnalysisWithScalarProduct * fSP
int Int_t
Definition: External.C:63
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
void SetHarmonic(Int_t const harmonic)