1 #ifndef ALIHBTLLWEIGHTTHEORFCTN_H
2 #define ALIHBTLLWEIGHTTHEORFCTN_H
3 //Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
5 #include "AliHBTFunction.h"
10 class AliHBTLLWeightTheorQInvFctn: public AliHBTOnePairFctn1D
12 //This function allows to obtain Q_inv correlation function with weights
13 //calculated by Lednicky's alghorithm.
14 //Numerator is filled with weighted events. Weights are attributed to simulated particles.
15 //Weights are calculated with corresponding simulated particles momenta.
16 //Denominator is filled with mixing unweighted simulated particles.
17 //One needs only simulated pairs, so
18 //this function is of class AliHBTOnePairFctn1D.
19 //Author Ludmila Malinina JINR (malinina@sunhe.jinr.ru)
22 AliHBTLLWeightTheorQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0);
24 virtual ~AliHBTLLWeightTheorQInvFctn(){};
27 void ProcessSameEventParticles(AliHBTPair* partpair);
29 Double_t GetValue(AliHBTPair* partpair){ return partpair->GetQInv();} //isn't used
35 ClassDef(AliHBTLLWeightTheorQInvFctn,1)