]>
Commit | Line | Data |
---|---|---|
e11ea0cb | 1 | #ifndef ALILNBA_H |
2 | #define ALILNBA_H | |
2403d402 | 3 | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | // coalescence parameter | |
8 | // author: Eulogio Serradilla <eulogio.serradilla@cern.ch> | |
9 | ||
10 | #include <TObject.h> | |
11 | ||
12 | class TGraphErrors; | |
13 | ||
e11ea0cb | 14 | class AliLnBA: public TObject |
2403d402 | 15 | { |
16 | public: | |
17 | ||
e11ea0cb | 18 | AliLnBA(const TString& protonSpectra, const TString& nucleusSpectra, const TString& protonTag, const TString& nucleusTag, const TString& outputFilename, const TString& otag, Int_t a, Int_t z); |
2403d402 | 19 | |
e11ea0cb | 20 | virtual ~AliLnBA(); |
2403d402 | 21 | |
aa54def0 | 22 | TGraphErrors* GetBAPt(const TGraphErrors* grPrtInvDYieldPt, const TGraphErrors* grNucInvDYieldPt, const TString& name) const; |
2403d402 | 23 | |
e11ea0cb | 24 | TString GetNucleusName() const { return fNucleusName; } |
25 | Int_t GetA() const { return fA; } | |
26 | Int_t GetZ() const { return fZ; } | |
27 | ||
2403d402 | 28 | Double_t Rside2Rlong(Double_t pt, Double_t B2, Double_t Cd) const; |
aa54def0 | 29 | TGraphErrors* Rside2Rlong(const TGraphErrors* grB2, const TString& name, Double_t Cd) const; |
2403d402 | 30 | |
31 | Int_t Run(); | |
32 | ||
33 | void SetNucleus(Int_t a, Int_t z); | |
34 | void SetCd(Double_t Cd) { fCd = Cd; } | |
35 | ||
36 | private: | |
37 | ||
e11ea0cb | 38 | AliLnBA(const AliLnBA& other); |
39 | AliLnBA& operator=(const AliLnBA& other); | |
2403d402 | 40 | |
aa54def0 | 41 | Double_t GetErrorY(const TGraphErrors* gr, Double_t x0) const; |
42 | ||
2403d402 | 43 | private: |
44 | ||
45 | TString fProtonSpectra; // proton spectra filename | |
46 | TString fProtonTag; // tag for proton file | |
47 | TString fNucleusSpectra; // nucleus spectra filename | |
48 | TString fNucleusTag; // tag for nucleus file | |
49 | ||
50 | TString fOutputFilename; // output filename | |
51 | TString fOutputTag; // tag for output file | |
52 | ||
53 | Int_t fA; // nucleus mass | |
54 | Int_t fZ; // nucleus charge | |
55 | TString fNucleusName; // nucleus name | |
56 | ||
57 | Double_t fCd; // correction factor for homogeneity volume | |
58 | ||
e11ea0cb | 59 | ClassDef(AliLnBA,2) |
2403d402 | 60 | }; |
61 | ||
e11ea0cb | 62 | #endif // ALILNBA_H |