Increased mother volume for compensator magnet to avoid extrusions.
[u/mrichter/AliRoot.git] / HBTAN / AliHBTLLWeightTheorFctn.cxx
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////
2//
3//This class introduces the weights calculated according
4//with functions of efficiency of identification (TPC+TOF)
5//(calculated by B.V. Batyunia).
6//
7//Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
8//
9/////////////////////////////////////////////////////////////
10
11#include "AliHBTLLWeightTheorFctn.h"
12#include "AliHBTLLWeights.h"
13
14//--for test--AliHBTLLWeightQInvFctn* yyy= new AliHBTLLWeightQInvFctn();
15
16ClassImp(AliHBTLLWeightTheorQInvFctn)
17/*************************************************************/
18
19AliHBTLLWeightTheorQInvFctn::
20AliHBTLLWeightTheorQInvFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
21 AliHBTOnePairFctn1D(nbins,maxXval,minXval)
22{
23//ctor
24
25}
26/****************************************************************/
27void AliHBTLLWeightTheorQInvFctn::ProcessSameEventParticles(AliHBTPair* partpair)
28{
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);
33}
34
35/**************************************************************/
36TH1* AliHBTLLWeightTheorQInvFctn::GetResult()
37{
38//returns ratio of numerator and denominator
39 return GetRatio(Scale());
40}
41