1 #ifndef ALIHBTLLWEIGHTTHEORFCTN_H
2 #define ALIHBTLLWEIGHTTHEORFCTN_H
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)
14 #include "AliHBTFunction.h"
16 class AliHBTLLWeights;
18 class AliHBTLLWeightTheorQInvFctn: public AliHBTOnePairFctn1D
22 AliHBTLLWeightTheorQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0);
23 virtual ~AliHBTLLWeightTheorQInvFctn(){}
26 void ProcessSameEventParticles(AliHBTPair* partpair);
28 Double_t GetValue(AliHBTPair* partpair)
29 { return partpair->GetQInv();} //isn't used
31 ClassDef(AliHBTLLWeightTheorQInvFctn,1)