Bug corrections. New monitoring functions added (Q's VS QInv)
[u/mrichter/AliRoot.git] / HBTAN / AliHBTQDistributionFctns.h
CommitLineData
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
7class AliHBTQInvDistributionVsKtFctn; //QInvCMSLC Distribution Vs Kt
8class AliHBTQOutDistributionVsKtFctn; //QOutCMSLC Distribution Vs Kt
9class AliHBTQSideDistributionVsKtFctn; //QSideCMSLC Distribution Vs Kt
10class AliHBTQLongDistributionVsKtFctn; //QLongCMSLC Distribution Vs Kt
11
0bb07108 12class AliHBTQOutDistributionVsQInvFctn; //QOutCMSLC Distribution Vs QInv
13class AliHBTQSideDistributionVsQInvFctn; //QSideCMSLC Distribution Vs QInv
14class AliHBTQLongDistributionVsQInvFctn; //QLongCMSLC Distribution Vs QInv
15
a57afe91 16#include "AliHBTFunction.h"
17
18/***********************************************************************/
19/***********************************************************************/
20class AliHBTQOutDistributionVsKtFctn: public AliHBTOnePairFctn2D
21 {
22 public:
23 AliHBTQOutDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1., Double_t minXval = 0.0,
24 Int_t nYbins = 500, Double_t maxYval = .15, Double_t minYval =-0.15);
25 virtual ~AliHBTQOutDistributionVsKtFctn(){}
26 TH1* GetResult(){return GetNumerator();}
27 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
28 {
29 y = partpair->GetQOutCMSLC();
30 x = partpair->GetKt();
31 }
32 protected:
33 private:
34 public:
35 ClassDef(AliHBTQOutDistributionVsKtFctn,1)
36 };
37/***********************************************************************/
38/***********************************************************************/
39class AliHBTQSideDistributionVsKtFctn: public AliHBTOnePairFctn2D
40 {
41 public:
42 AliHBTQSideDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
43 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
44 virtual ~AliHBTQSideDistributionVsKtFctn(){}
45 TH1* GetResult(){return GetNumerator();}
46 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
47 {
48 y = partpair->GetQSideCMSLC();
49 x = partpair->GetKt();
50 }
51 protected:
52 private:
53 public:
54 ClassDef(AliHBTQSideDistributionVsKtFctn,1)
55 };
56/***********************************************************************/
57/***********************************************************************/
58
59class AliHBTQLongDistributionVsKtFctn: public AliHBTOnePairFctn2D
60 {
61 public:
62 AliHBTQLongDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
63 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
64 virtual ~AliHBTQLongDistributionVsKtFctn(){}
65 TH1* GetResult(){return GetNumerator();}
66 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
67 {
68 y = partpair->GetQLongCMSLC();
69 x = partpair->GetKt();
70 }
71 protected:
72 private:
73 public:
74 ClassDef(AliHBTQLongDistributionVsKtFctn,1)
75 };
76/***********************************************************************/
77/***********************************************************************/
78
79class AliHBTQInvDistributionVsKtFctn: public AliHBTOnePairFctn2D
80 {
81 public:
82 AliHBTQInvDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
83 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
84 virtual ~AliHBTQInvDistributionVsKtFctn(){}
85 TH1* GetResult(){return GetNumerator();}
86 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
87 {
88 y = partpair->GetQInv();
89 x = partpair->GetKt();
90 }
91 protected:
92 private:
93 public:
94 ClassDef(AliHBTQInvDistributionVsKtFctn,1)
95 };
96
97/***********************************************************************/
98/***********************************************************************/
0bb07108 99class AliHBTQOutDistributionVsQInvFctn: public AliHBTOnePairFctn2D
100 {
101 public:
102 AliHBTQOutDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1., Double_t minXval = 0.0,
103 Int_t nYbins = 500, Double_t maxYval = .15, Double_t minYval =-0.15);
104 virtual ~AliHBTQOutDistributionVsQInvFctn(){}
105 TH1* GetResult(){return GetNumerator();}
106 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
107 {
108 y = partpair->GetQOutCMSLC();
109 x = partpair->GetQInv();
110 }
111 protected:
112 private:
113 public:
114 ClassDef(AliHBTQOutDistributionVsQInvFctn,1)
115 };
116/***********************************************************************/
117/***********************************************************************/
118class AliHBTQSideDistributionVsQInvFctn: public AliHBTOnePairFctn2D
119 {
120 public:
121 AliHBTQSideDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
122 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
123 virtual ~AliHBTQSideDistributionVsQInvFctn(){}
124 TH1* GetResult(){return GetNumerator();}
125 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
126 {
127 y = partpair->GetQSideCMSLC();
128 x = partpair->GetQInv();
129 }
130 protected:
131 private:
132 public:
133 ClassDef(AliHBTQSideDistributionVsQInvFctn,1)
134 };
135/***********************************************************************/
136/***********************************************************************/
137
138class AliHBTQLongDistributionVsQInvFctn: public AliHBTOnePairFctn2D
139 {
140 public:
141 AliHBTQLongDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
142 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
143 virtual ~AliHBTQLongDistributionVsQInvFctn(){}
144 TH1* GetResult(){return GetNumerator();}
145 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y)
146 {
147 y = partpair->GetQLongCMSLC();
148 x = partpair->GetQInv();
149 }
150 protected:
151 private:
152 public:
153 ClassDef(AliHBTQLongDistributionVsQInvFctn,1)
154 };
155/***********************************************************************/
156/***********************************************************************/
a57afe91 157
158#endif