1 //This function allows to obtain Q_inv correlation function with weights
2 //calculated by Lednicky's alghorithm.
3 //Numerator is filled with weighted events. Weights are attributed to reconstructed tracks.
4 //Weights are calculated with corresponding simulated particles momenta.
5 //Denominator is filled with mixing unweighted reconstructed tracks.
7 //(simulated and recontructed), thus function is of class AliHBTTwoPairFctn1D.
9 #ifndef ALIHBTLLWEIGHTFCTN_H
10 #define ALIHBTLLWEIGHTFCTN_H
11 #include "AliHBTFunction.h"
14 class AliHBTLLWeights;
16 class AliHBTLLWeightQInvFctn: public AliHBTTwoPairFctn1D
18 friend class AliHBTOnePairFctn1D;
21 AliHBTLLWeightQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0);
22 virtual ~AliHBTLLWeightQInvFctn(){};
25 void ProcessSameEventParticles(AliHBTPair* trackpair, AliHBTPair* partpair);
26 void ProcessDiffEventParticles(AliHBTPair* trackpair, AliHBTPair* partpair);
28 Double_t GetValue(AliHBTPair* trackpair, AliHBTPair* partpair)
29 { return trackpair->GetQInv()-partpair->GetQInv();} //isn't use
36 ClassDef(AliHBTLLWeightQInvFctn,1)