]>
Commit | Line | Data |
---|---|---|
a6e49985 | 1 | #ifndef ALIHBTLLWEIGHTTHEORFCTN_H |
2 | #define ALIHBTLLWEIGHTTHEORFCTN_H | |
604034d8 | 3 | /* $Id$ */ |
4 | ||
de286fcb | 5 | //This function allows to obtain Q_inv correlation function with weights |
6 | //calculated by Lednicky's alghorithm. | |
7 | //Numerator is filled with weighted events. Weights are attributed to simulated particles. | |
8 | //Weights are calculated with corresponding simulated particles momenta. | |
9 | //Denominator is filled with mixing unweighted simulated particles. | |
10 | //One needs only simulated pairs, so | |
11 | //this function is of class AliHBTOnePairFctn1D. | |
12 | //Author Ludmila Malinina JINR (malinina@sunhe.jinr.ru) | |
a6e49985 | 13 | |
14 | #include "AliHBTFunction.h" | |
15 | ||
a6e49985 | 16 | class AliHBTLLWeights; |
17 | ||
18 | class AliHBTLLWeightTheorQInvFctn: public AliHBTOnePairFctn1D | |
19 | { | |
a6e49985 | 20 | |
21 | public: | |
604034d8 | 22 | AliHBTLLWeightTheorQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0); |
de286fcb | 23 | virtual ~AliHBTLLWeightTheorQInvFctn(){} |
a6e49985 | 24 | |
de286fcb | 25 | TH1* GetResult(); |
604034d8 | 26 | void ProcessSameEventParticles(AliHBTPair* partpair); |
a6e49985 | 27 | |
de286fcb | 28 | Double_t GetValue(AliHBTPair* partpair) |
604034d8 | 29 | { return partpair->GetQInv();} //isn't used |
a6e49985 | 30 | |
604034d8 | 31 | ClassDef(AliHBTLLWeightTheorQInvFctn,1) |
a6e49985 | 32 | }; |
9714a029 | 33 | |
34 | class AliHBTLLWeightTheorQOutFctn: public AliHBTOnePairFctn1D | |
35 | { | |
36 | ||
37 | public: | |
38 | AliHBTLLWeightTheorQOutFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0); | |
39 | virtual ~AliHBTLLWeightTheorQOutFctn(){} | |
40 | ||
41 | TH1* GetResult(); | |
42 | void ProcessSameEventParticles(AliHBTPair* partpair); | |
43 | ||
44 | Double_t GetValue(AliHBTPair* partpair) | |
45 | { return partpair->GetQOutCMSLC();} //isn't used | |
46 | ||
47 | ClassDef(AliHBTLLWeightTheorQOutFctn,1) | |
48 | }; | |
49 | ||
50 | class AliHBTLLWeightTheorQSideFctn: public AliHBTOnePairFctn1D | |
51 | { | |
52 | ||
53 | public: | |
54 | AliHBTLLWeightTheorQSideFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0); | |
55 | virtual ~AliHBTLLWeightTheorQSideFctn(){} | |
56 | ||
57 | TH1* GetResult(); | |
58 | void ProcessSameEventParticles(AliHBTPair* partpair); | |
59 | ||
60 | Double_t GetValue(AliHBTPair* partpair) | |
61 | { return partpair->GetQSideCMSLC();} //isn't used | |
62 | ||
63 | ClassDef(AliHBTLLWeightTheorQSideFctn,1) | |
64 | }; | |
65 | ||
66 | class AliHBTLLWeightTheorQLongFctn: public AliHBTOnePairFctn1D | |
67 | { | |
68 | ||
69 | public: | |
70 | AliHBTLLWeightTheorQLongFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0); | |
71 | virtual ~AliHBTLLWeightTheorQLongFctn(){} | |
72 | ||
73 | TH1* GetResult(); | |
74 | void ProcessSameEventParticles(AliHBTPair* partpair); | |
75 | ||
76 | Double_t GetValue(AliHBTPair* partpair) | |
77 | { return partpair->GetQLongCMSLC();} //isn't used | |
78 | ||
79 | ClassDef(AliHBTLLWeightTheorQLongFctn,1) | |
80 | }; | |
81 | ||
a6e49985 | 82 | #endif |