]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALILNBA_H | |
2 | #define ALILNBA_H | |
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 | ||
14 | class AliLnBA: public TObject | |
15 | { | |
16 | public: | |
17 | ||
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); | |
19 | ||
20 | virtual ~AliLnBA(); | |
21 | ||
22 | TGraphErrors* GetBAPt(const TGraphErrors* grPrtInvDYieldPt, const TGraphErrors* grNucInvDYieldPt, const TString& name) const; | |
23 | ||
24 | TString GetNucleusName() const { return fNucleusName; } | |
25 | Int_t GetA() const { return fA; } | |
26 | Int_t GetZ() const { return fZ; } | |
27 | ||
28 | Double_t Rside2Rlong(Double_t pt, Double_t B2, Double_t Cd) const; | |
29 | TGraphErrors* Rside2Rlong(const TGraphErrors* grB2, const TString& name, Double_t Cd) const; | |
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 | ||
38 | AliLnBA(const AliLnBA& other); | |
39 | AliLnBA& operator=(const AliLnBA& other); | |
40 | ||
41 | Double_t GetErrorY(const TGraphErrors* gr, Double_t x0) const; | |
42 | ||
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 | ||
59 | ClassDef(AliLnBA,2) | |
60 | }; | |
61 | ||
62 | #endif // ALILNBA_H |