]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTLLWeightTheorFctn.h
Removed ASV version in AliL3FileHandler by another effective i/o method using index...
[u/mrichter/AliRoot.git] / HBTAN / AliHBTLLWeightTheorFctn.h
1 #ifndef ALIHBTLLWEIGHTTHEORFCTN_H
2 #define ALIHBTLLWEIGHTTHEORFCTN_H
3 /* $Id$ */
4
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)
13
14 #include "AliHBTFunction.h"
15
16 class AliHBTLLWeights;
17
18 class AliHBTLLWeightTheorQInvFctn: public AliHBTOnePairFctn1D
19 {
20
21   public:
22   AliHBTLLWeightTheorQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0);
23   virtual  ~AliHBTLLWeightTheorQInvFctn(){}
24
25   TH1* GetResult(); 
26   void   ProcessSameEventParticles(AliHBTPair* partpair);
27       
28   Double_t GetValue(AliHBTPair* partpair)
29     { return partpair->GetQInv();} //isn't used
30
31   ClassDef(AliHBTLLWeightTheorQInvFctn,1)
32 };
33   
34 #endif