1 #ifndef ALIANALYSISTASKRHOAVERAGE_H
2 #define ALIANALYSISTASKRHOAVERAGE_H
6 #include "AliAnalysisTaskRhoBase.h"
8 class AliAnalysisTaskRhoAverage : public AliAnalysisTaskRhoBase {
11 AliAnalysisTaskRhoAverage();
12 AliAnalysisTaskRhoAverage(const char *name, Bool_t histo=kFALSE);
13 virtual ~AliAnalysisTaskRhoAverage() {}
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 ; }
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 ;//!total area
28 AliAnalysisTaskRhoAverage(const AliAnalysisTaskRhoAverage&); // not implemented
29 AliAnalysisTaskRhoAverage& operator=(const AliAnalysisTaskRhoAverage&); // not implemented
31 ClassDef(AliAnalysisTaskRhoAverage, 4); // Rho task