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