]>
Commit | Line | Data |
---|---|---|
67348e59 | 1 | #include "AliHBTTwoTrackEffFctn.h" |
2 | ||
3 | ||
4 | /******************************************************************/ | |
5 | /******************************************************************/ | |
6 | /******************************************************************/ | |
7 | ClassImp(AliHBTTwoTrackEffFctn) | |
8 | /******************************************************************/ | |
9 | ||
10 | AliHBTTwoTrackEffFctn::AliHBTTwoTrackEffFctn() | |
11 | { | |
12 | ||
13 | } | |
14 | /******************************************************************/ | |
15 | ||
16 | AliHBTTwoTrackEffFctn:: | |
17 | AliHBTTwoTrackEffFctn(Int_t nbins, Double_t maxval, Double_t minval): | |
18 | AliHBTOnePairFctn1D("TwoTrackEff","Two Track Efficiency",nbins,maxval,minval) | |
19 | { | |
20 | //contructor | |
21 | //nbins - numner of bins of the function | |
22 | //maxval - max X of the fctn | |
23 | //minval - min X of the fctn | |
24 | GetNumerator()->GetXaxis()->SetTitle("dP [GeV]"); | |
25 | GetDenominator()->GetXaxis()->SetTitle("dP [GeV]"); | |
26 | } | |
27 | TH1* AliHBTTwoTrackEffFctn::GetResult() | |
28 | { | |
29 | //returns ratio of numerator and denominator | |
30 | TH1* res = GetRatio(Scale()); | |
31 | if(res) | |
32 | { | |
33 | res->GetXaxis()->SetTitle("dP [GeV]"); | |
34 | res->GetYaxis()->SetTitle("C(dP)"); | |
35 | res->SetTitle("Double Track Resolution: dP Correlation Fctn."); | |
36 | } | |
37 | return res; | |
38 | } | |
39 | /******************************************************************/ | |
40 | /******************************************************************/ | |
41 | /******************************************************************/ | |
42 | ClassImp(AliHBTTwoTrackEffFctn3D) | |
43 | ||
44 | AliHBTTwoTrackEffFctn3D::AliHBTTwoTrackEffFctn3D() | |
45 | { | |
46 | //Set Axis Title | |
47 | } | |
48 | ||
49 | void AliHBTTwoTrackEffFctn3D::GetValues(AliHBTPair* pair, Double_t& x, Double_t&y ,Double_t& z) | |
50 | { | |
51 | //Returns values to be histogrammed | |
52 | //it does not | |
53 | x = pair->GetDeltaPx(); | |
54 | y = pair->GetDeltaPy(); | |
55 | z = pair->GetDeltaPz(); | |
56 | } |