]>
Commit | Line | Data |
---|---|---|
7e77f2e1 | 1 | #ifndef ALIHBTRDISTRIBUTIONS_H |
2 | #define ALIHBTRDISTRIBUTIONS_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | // AliHBTRStarDistribution | |
11 | // AliHBTRDistribution | |
12 | // added by Zbigniew.Chajecki@cern.ch | |
13 | // this classes create distribution functions of pair momentum | |
14 | // | |
15 | ///////////////////////////////////////////////////////////////////////////// | |
16 | ||
17 | #include "AliHBTFunction.h" | |
18 | ||
19 | class AliHBTRStarDistribution: public AliHBTOnePairFctn1D | |
20 | { | |
21 | public: | |
22 | AliHBTRStarDistribution(Int_t nXbins = 500, Double_t maxXval = 5e-11, Double_t minXval = 0.); | |
23 | virtual ~AliHBTRStarDistribution(){} | |
24 | TH1* GetResult(); | |
25 | protected: | |
26 | Double_t GetValue(AliHBTPair* partpair) const | |
27 | { | |
28 | return partpair->GetRStar(); | |
29 | } | |
30 | ||
31 | private: | |
32 | ClassDef(AliHBTRStarDistribution,1) | |
33 | }; | |
34 | ||
35 | /***********************************************************************/ | |
36 | /***********************************************************************/ | |
37 | ||
38 | class AliHBTRDistribution: public AliHBTOnePairFctn1D | |
39 | { | |
40 | public: | |
41 | AliHBTRDistribution(Int_t nXbins = 500, Double_t maxXval = 5e-11, Double_t minXval = 0.); | |
42 | virtual ~AliHBTRDistribution(){} | |
43 | TH1* GetResult(); | |
44 | protected: | |
45 | Double_t GetValue(AliHBTPair* partpair) const | |
46 | { | |
47 | return partpair->GetR(); | |
48 | } | |
49 | ||
50 | private: | |
51 | ClassDef(AliHBTRDistribution,1) | |
52 | }; | |
53 | #endif | |
54 |