Transition to NewIO
[u/mrichter/AliRoot.git] / HBTAN / AliHBTCorrelFctn.cxx
CommitLineData
1b446896 1#include "AliHBTCorrelFctn.h"
88cb7938 2//Set of Correlation fuctions
3//AliHBTQInvCorrelFctn - Q Invariant correlatyion function
953577f3 4//
5//
6//
1b446896 7
8ClassImp(AliHBTQInvCorrelFctn)
9
88cb7938 10//Corroleation function is created from dividing two histograms of QInvariant:
11// of particles from the same evnt
12//by
13// of particles from different events
1b446896 14
953577f3 15AliHBTQInvCorrelFctn::
8bd57399 16AliHBTQInvCorrelFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
27b3fe5d 17 AliHBTOnePairFctn1D(nbins,maxXval,minXval)
953577f3 18{
19 Rename("qinvcf","Q_{inv} Correlation Function");
20}
21
22
1b446896 23TH1* AliHBTQInvCorrelFctn::GetResult()
953577f3 24{
25 return GetRatio(Scale());
26}
27/*************************************************************************************/
28/*************************************************************************************/
29/*************************************************************************************/
30
31ClassImp(AliHBTQOutCMSLCCorrelFctn)
32TH1* AliHBTQOutCMSLCCorrelFctn::GetResult()
1b446896 33{
953577f3 34 return GetRatio(Scale());
1b446896 35}
953577f3 36/*************************************************************************************/
37/*************************************************************************************/
38/*************************************************************************************/
39
40ClassImp(AliHBTQLongCMSLCCorrelFctn)
41TH1* AliHBTQLongCMSLCCorrelFctn::GetResult()
42{
43 return GetRatio(Scale());
44}
45/*************************************************************************************/
46/*************************************************************************************/
47/*************************************************************************************/
48
49ClassImp(AliHBTQSideCMSLCCorrelFctn)
50TH1* AliHBTQSideCMSLCCorrelFctn::GetResult()
51{
52 return GetRatio(Scale());
53}
54
1b446896 55
953577f3 56/*************************************************************************************/
57/*************************************************************************************/
58/*************************************************************************************/
1b446896 59
60ClassImp(AliHBTInvMassCorrelFctn)
61
62AliHBTInvMassCorrelFctn::
63AliHBTInvMassCorrelFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
27b3fe5d 64 AliHBTOnePairFctn1D(nbins,maxXval,minXval)
1b446896 65{
66 Rename("InvMass CF","Invariant Mass Correlation Function");
67}
68
69TH1* AliHBTInvMassCorrelFctn::GetResult()
70{
953577f3 71 TString name = fName + " Result";
72 return (TH1*)GetNumerator()->Clone(name.Data());
1b446896 73}
4866a439 74/*************************************************************************************/
75/*************************************************************************************/
76/*************************************************************************************/
77
78ClassImp(AliHBTTwoKStarCorrelFctn)
79
80AliHBTTwoKStarCorrelFctn::
81AliHBTTwoKStarCorrelFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
82 AliHBTOnePairFctn1D(nbins,maxXval,minXval)
83{
84 Rename("twokstarcf","2K^{*} Correlation Function");
85}
86
87/*************************************************************************************/
88
89TH1* AliHBTTwoKStarCorrelFctn::GetResult()
90{
91 return GetRatio(Scale());
92}
93
94/*************************************************************************************/