]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/SPECTRA/MultEvShape/AliAnalysisCentralExtrapolate.h
Small change in binning to take higer pT reach into account
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / MultEvShape / AliAnalysisCentralExtrapolate.h
1 #ifndef ALIANALYSISCENTRALEXTRAPOLATE_H
2 #define ALIANALYSISCENTRALEXTRAPOLATE_H
3
4
5 /*
6  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
7  * See cxx source for full Copyright notice
8  * $Id$
9  */
10
11 //  -------------------------------------------------------
12 //  pt spectra extrapolation in the 0. - 0.2 region using
13 //  Boltzmann-Gibbs Blast Wave model or Tsallis Blast
14 //  Wave model for azimuthal isotropic  expansion in
15 //  highly central collisions analysis
16 //  author: Cristian Andrei
17 //          acristian@niham.nipne.ro
18 //  ----------------------------------------------------------
19
20
21 #include "TObject.h"
22
23 class TList;
24 class TString;
25
26 class AliAnalysisCentralExtrapolate : public TObject {
27         
28 public:
29         AliAnalysisCentralExtrapolate(const char *name="AliAnalysisCentralExtrapolate");
30         virtual ~AliAnalysisCentralExtrapolate();
31         
32         void SetInputList(TList* const list) {fInputList = list;} //get the input from the task
33
34         void SetParticle(TString part) {fPartType = part;} //set the particle type to be processed
35                                                        //suported: kPi*, kK* and kProton
36
37         void ApplyEff(); //apply the eff correction
38
39         void TsallisFit();  //fit the corrected spectrum with TBW model
40         void BoltzmannFit(); //fit the corrected spectrum with BGBW model
41
42         TList *GetOutputList() const {return fResultsList;} //return the results
43
44 private:
45         AliAnalysisCentralExtrapolate(const AliAnalysisCentralExtrapolate& ref);
46         AliAnalysisCentralExtrapolate& operator=(const AliAnalysisCentralExtrapolate& ref);
47
48         TString fPartType; //can be kPi*, kK* or kProton
49
50         TList *fInputList; //the input list = the output of the analysis Task
51
52         TList *fResultsList; //List containing the results: corrected, normalized and extrapolated spectra
53
54         ClassDef(AliAnalysisCentralExtrapolate, 1); 
55 };
56
57 #endif