]>
Commit | Line | Data |
---|---|---|
1 | #include "AliHBTCorrelFctn.h" | |
2 | ||
3 | ||
4 | ||
5 | ClassImp(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 | ||
12 | TH1* AliHBTQInvCorrelFctn::GetResult() | |
13 | { | |
14 | return GetRatio(GetDenominator()->GetMaximum()/GetNumerator()->GetMaximum()); | |
15 | } | |
16 | ||
17 | ||
18 | ClassImp(AliHBTInvMassCorrelFctn) | |
19 | ||
20 | AliHBTInvMassCorrelFctn:: | |
21 | AliHBTInvMassCorrelFctn(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 | ||
27 | TH1* AliHBTInvMassCorrelFctn::GetResult() | |
28 | { | |
29 | return GetRatio(GetDenominator()->GetMaximum()/GetNumerator()->GetMaximum()); | |
30 | } |