1 /////////////////////////////////////////////////////////////
3 //This class introduces the weights calculated according
4 //with functions of efficiency of identification (TPC+TOF)
5 //(calculated by B.V. Batyunia).
7 //Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
9 /////////////////////////////////////////////////////////////
11 #include "AliHBTLLWeightTheorFctn.h"
12 #include "AliHBTLLWeights.h"
14 //--for test--AliHBTLLWeightQInvFctn* yyy= new AliHBTLLWeightQInvFctn();
16 ClassImp(AliHBTLLWeightTheorQInvFctn)
17 /*************************************************************/
19 AliHBTLLWeightTheorQInvFctn::
20 AliHBTLLWeightTheorQInvFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
21 AliHBTOnePairFctn1D(nbins,maxXval,minXval)
26 /****************************************************************/
27 void AliHBTLLWeightTheorQInvFctn::ProcessSameEventParticles(AliHBTPair* partpair)
29 //Processes Particles and tracks Same different even
30 partpair = CheckPair(partpair);
31 Double_t weight = AliHBTLLWeights::Instance()->GetWeight(partpair);
32 if(TMath::Abs(weight)<=10.) fNumerator->Fill(partpair->GetQInv(),weight);
35 /**************************************************************/
36 TH1* AliHBTLLWeightTheorQInvFctn::GetResult()
38 //returns ratio of numerator and denominator
39 return GetRatio(Scale());