]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HBTAN/AliHBTLLWeightTheorFctn.h
KStart cut added. Memory leaks corrected
[u/mrichter/AliRoot.git] / HBTAN / AliHBTLLWeightTheorFctn.h
CommitLineData
a6e49985 1#ifndef ALIHBTLLWEIGHTTHEORFCTN_H
2#define ALIHBTLLWEIGHTTHEORFCTN_H
3//Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
4
5#include "AliHBTFunction.h"
6
7
8class AliHBTLLWeights;
9
10class AliHBTLLWeightTheorQInvFctn: public AliHBTOnePairFctn1D
11{
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)
20
21 public:
22 AliHBTLLWeightTheorQInvFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0);
23
24 virtual ~AliHBTLLWeightTheorQInvFctn(){};
25 TH1* GetResult();
26
27 void ProcessSameEventParticles(AliHBTPair* partpair);
28 void ProcessDiffEventParticles(AliHBTPair* partpair);
29
30 Double_t GetValue(AliHBTPair* partpair){ return partpair->GetQInv();} //isn't used
31
32 protected:
33
34 private:
35 public:
36 ClassDef(AliHBTLLWeightTheorQInvFctn,1)
37};
38
39#endif