AliPhysics  9df6235 (9df6235)
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 ; }
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)
27 
28  AliAnalysisTaskRhoAverage(const AliAnalysisTaskRhoAverage&); // not implemented
30 
31  ClassDef(AliAnalysisTaskRhoAverage, 4); // Rho task
32 };
33 #endif
AliAnalysisTaskRhoAverage & operator=(const AliAnalysisTaskRhoAverage &)
double Double_t
Definition: External.C:58
void ExecOnce()
Perform steps needed to initialize the analysis.
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
bool Bool_t
Definition: External.C:53