]>
Commit | Line | Data |
---|---|---|
a6e49985 | 1 | #ifndef ALIHBTLLWEIGHTTHEORFCTN_H |
2 | #define ALIHBTLLWEIGHTTHEORFCTN_H | |
604034d8 | 3 | /* $Id$ */ |
4 | ||
a6e49985 | 5 | //Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru) |
6 | ||
7 | #include "AliHBTFunction.h" | |
8 | ||
9 | ||
10 | class AliHBTLLWeights; | |
11 | ||
12 | class AliHBTLLWeightTheorQInvFctn: public AliHBTOnePairFctn1D | |
13 | { | |
604034d8 | 14 | //This function allows to obtain Q_inv correlation function with weights |
15 | //calculated by Lednicky's alghorithm. | |
16 | //Numerator is filled with weighted events. Weights are attributed to simulated particles. | |
17 | //Weights are calculated with corresponding simulated particles momenta. | |
18 | //Denominator is filled with mixing unweighted simulated particles. | |
19 | //One needs only simulated pairs, so | |
20 | //this function is of class AliHBTOnePairFctn1D. | |
21 | //Author Ludmila Malinina JINR (malinina@sunhe.jinr.ru) | |
a6e49985 | 22 | |
23 | public: | |
604034d8 | 24 | AliHBTLLWeightTheorQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0); |
a6e49985 | 25 | |
604034d8 | 26 | virtual ~AliHBTLLWeightTheorQInvFctn(){}; |
27 | TH1* GetResult(); | |
a6e49985 | 28 | |
604034d8 | 29 | void ProcessSameEventParticles(AliHBTPair* partpair); |
a6e49985 | 30 | |
604034d8 | 31 | Double_t GetValue(AliHBTPair* partpair) const |
32 | { return partpair->GetQInv();} //isn't used | |
a6e49985 | 33 | |
604034d8 | 34 | ClassDef(AliHBTLLWeightTheorQInvFctn,1) |
a6e49985 | 35 | }; |
36 | ||
37 | #endif |