This commit was generated by cvs2svn to compensate for changes in r4472,
[u/mrichter/AliRoot.git] / HBTAN / AliHBTCorrelFctn.cxx
CommitLineData
1b446896 1#include "AliHBTCorrelFctn.h"
2
3
4
5ClassImp(AliHBTQInvCorrelFctn)
6
7//Corroleation function is created from dividing two histograms of QInvariant:
8// of particles from the same evnt
9//by
10// of particles from different events
11
12TH1* AliHBTQInvCorrelFctn::GetResult()
13{
14 return GetRatio(GetDenominator()->GetMaximum()/GetNumerator()->GetMaximum());
15}
16
17
18ClassImp(AliHBTInvMassCorrelFctn)
19
20AliHBTInvMassCorrelFctn::
21AliHBTInvMassCorrelFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
22 AliHBTTwoPartFctn1D(nbins,maxXval,minXval)
23{
24 Rename("InvMass CF","Invariant Mass Correlation Function");
25}
26
27TH1* AliHBTInvMassCorrelFctn::GetResult()
28{
29 return GetRatio(GetDenominator()->GetMaximum()/GetNumerator()->GetMaximum());
30}