AliPhysics  8bb951a (8bb951a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskRhoAverage.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKRHOAVERAGE_H
2 #define ALIANALYSISTASKRHOAVERAGE_H
3 
4 // $Id$
5 
7 
9 
10  public:
12  AliAnalysisTaskRhoAverage(const char *name, Bool_t histo=kFALSE);
14 
15  void SetRhoType(Int_t t) { fRhoType = t ; }
16  void SetExcludeLeadPart(UInt_t n) { fNExclLeadPart = n ; }
17  void SetUseMedian(Bool_t b=kTRUE) { fUseMedian = b ; }
18 
19  protected:
20  void ExecOnce();
21  Bool_t Run();
22 
23  Int_t fRhoType ;// rho type: 0 = charged+neutral, 1 = charged, 2 = neutral
24  UInt_t fNExclLeadPart ;// number of leading particles to be excluded from the median calculation
25  Bool_t fUseMedian ;// whether or not use the median to calculate rho (mean is used if false)
26  Double_t fTotalArea ;
27 
28  AliAnalysisTaskRhoAverage(const AliAnalysisTaskRhoAverage&); // not implemented
30 
31  ClassDef(AliAnalysisTaskRhoAverage, 4); // Rho task
32 };
33 #endif
AliAnalysisTaskRhoAverage & operator=(const AliAnalysisTaskRhoAverage &)
ClassDef(AliAnalysisTaskRhoAverage, 4)