1 #ifndef ALIEPFLATTENER_H
2 #define ALIEPFLATTENER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Class to perform flattening of the event plane distribution
10 // It stores necessary parameterizations and apply when requested
12 //*-- Author: Dmitri Peressounko (RRC KI)
14 // --- ROOT system ---
18 class AliEPFlattener : public TNamed {
23 AliEPFlattener(const char * name) ; //To separate different runs use names
24 AliEPFlattener(const AliEPFlattener & fl) ;
25 virtual ~AliEPFlattener() ;
26 AliEPFlattener & operator = (const AliEPFlattener & flat);
30 Double_t MakeFlat(Double_t oldPhi,Double_t centrality)const ; //Apply (centrality-dependent) flattening to oldPhi
31 void SetParameterization(TH2 * h) ; //Set Parameterization to use (see code for the meaning of parameters
34 Int_t fNCentrBins ; // Number of centrality bins
35 Int_t fNHarmonics ; // Number of harmonics used in parameterization
36 Int_t fNparam ; // Total number of parameters (fNCentrBins*fNHarmonics)
37 Double32_t *fParam ; //[fNparam][-1.,1.,16] array of flattening parameters
39 ClassDef(AliEPFlattener,1)
43 #endif // ALIEPFLATTENER_H