]>
Commit | Line | Data |
---|---|---|
7e77f2e1 | 1 | #ifndef ALIHBTQDISTRIBUTIONVSKTFCTN_H |
2 | #define ALIHBTQDISTRIBUTIONVSKTFCTN_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 | // | |
11 | // class AliHBTQInvDistributionVsKtFctn; //QInvLCMS Distribution Vs Kt | |
12 | // class AliHBTQOutDistributionVsKtFctn; //QOutLCMS Distribution Vs Kt | |
13 | // class AliHBTQSideDistributionVsKtFctn; //QSideLCMS Distribution Vs Kt | |
14 | // class AliHBTQLongDistributionVsKtFctn; //QLongLCMS Distribution Vs Kt | |
15 | // | |
16 | // added by Zbigniew.Chajecki@cern.ch | |
17 | // this classes create distribution functions of pair momentum | |
18 | // | |
19 | ///////////////////////////////////////////////////////////////////////////// | |
20 | ||
21 | #include "AliHBTFunction.h" | |
22 | ||
23 | /***********************************************************************/ | |
24 | /***********************************************************************/ | |
25 | class AliHBTQOutDistributionVsKtFctn: public AliHBTOnePairFctn2D | |
26 | { | |
27 | public: | |
28 | AliHBTQOutDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1., Double_t minXval = 0.0, | |
29 | Int_t nYbins = 500, Double_t maxYval = .15, Double_t minYval =-0.15); | |
30 | virtual ~AliHBTQOutDistributionVsKtFctn(){} | |
31 | TH1* GetResult(); | |
32 | void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const | |
33 | { | |
34 | y = partpair->GetQOutLCMS(); | |
35 | x = partpair->GetKt(); | |
36 | } | |
37 | protected: | |
38 | ClassDef(AliHBTQOutDistributionVsKtFctn,1) | |
39 | }; | |
40 | /***********************************************************************/ | |
41 | /***********************************************************************/ | |
42 | class AliHBTQSideDistributionVsKtFctn: public AliHBTOnePairFctn2D | |
43 | { | |
44 | public: | |
45 | AliHBTQSideDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1, | |
46 | Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2); | |
47 | virtual ~AliHBTQSideDistributionVsKtFctn(){} | |
48 | TH1* GetResult(); | |
49 | void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const | |
50 | { | |
51 | y = partpair->GetQSideLCMS(); | |
52 | x = partpair->GetKt(); | |
53 | } | |
54 | protected: | |
55 | ClassDef(AliHBTQSideDistributionVsKtFctn,1) | |
56 | }; | |
57 | /***********************************************************************/ | |
58 | /***********************************************************************/ | |
59 | ||
60 | class AliHBTQLongDistributionVsKtFctn: public AliHBTOnePairFctn2D | |
61 | { | |
62 | public: | |
63 | AliHBTQLongDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1, | |
64 | Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2); | |
65 | virtual ~AliHBTQLongDistributionVsKtFctn(){} | |
66 | TH1* GetResult(); | |
67 | void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const | |
68 | { | |
69 | y = partpair->GetQLongLCMS(); | |
70 | x = partpair->GetKt(); | |
71 | } | |
72 | protected: | |
73 | ClassDef(AliHBTQLongDistributionVsKtFctn,1) | |
74 | }; | |
75 | /***********************************************************************/ | |
76 | /***********************************************************************/ | |
77 | ||
78 | class AliHBTQInvDistributionVsKtFctn: public AliHBTOnePairFctn2D | |
79 | { | |
80 | public: | |
81 | AliHBTQInvDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1, | |
82 | Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2); | |
83 | virtual ~AliHBTQInvDistributionVsKtFctn(){} | |
84 | TH1* GetResult(); | |
85 | void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const | |
86 | { | |
87 | y = partpair->GetQInv(); | |
88 | x = partpair->GetKt(); | |
89 | } | |
90 | protected: | |
91 | ClassDef(AliHBTQInvDistributionVsKtFctn,1) | |
92 | }; | |
93 | ||
94 | ||
95 | #endif | |
96 |