coverity fix
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / MultEvShape / AliAnalysisCentralExtrapolate.h
CommitLineData
8a993eac 1#ifndef ALIANALYSISCENTRALEXTRAPOLATE_H
2#define ALIANALYSISCENTRALEXTRAPOLATE_H
410ff8cc 3
4
bde49c8a 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
410ff8cc 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// ----------------------------------------------------------
bde49c8a 19
bde49c8a 20
21#include "TObject.h"
22
23class TList;
24class TString;
25
26class AliAnalysisCentralExtrapolate : public TObject {
27
28public:
29 AliAnalysisCentralExtrapolate(const char *name="AliAnalysisCentralExtrapolate");
30 virtual ~AliAnalysisCentralExtrapolate();
31
32 void SetInputList(TList* const list) {fInputList = list;} //get the input from the task
410ff8cc 33
bde49c8a 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
0fb1f0cf 38
bde49c8a 39 void TsallisFit(); //fit the corrected spectrum with TBW model
40 void BoltzmannFit(); //fit the corrected spectrum with BGBW model
0fb1f0cf 41
bde49c8a 42 TList *GetOutputList() const {return fResultsList;} //return the results
0fb1f0cf 43
bde49c8a 44private:
45 AliAnalysisCentralExtrapolate(const AliAnalysisCentralExtrapolate& ref);
46 AliAnalysisCentralExtrapolate& operator=(const AliAnalysisCentralExtrapolate& ref);
0fb1f0cf 47
bde49c8a 48 TString fPartType; //can be kPi*, kK* or kProton
0fb1f0cf 49
bde49c8a 50 TList *fInputList; //the input list = the output of the analysis Task
410ff8cc 51
bde49c8a 52 TList *fResultsList; //List containing the results: corrected, normalized and extrapolated spectra
0fb1f0cf 53
bde49c8a 54 ClassDef(AliAnalysisCentralExtrapolate, 1);
55};
56
57#endif