]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTRDistributions.cxx
Prevent destruction of TGeoShape used for ZDC tower visualization.
[u/mrichter/AliRoot.git] / HBTAN / AliHBTRDistributions.cxx
1
2 /**************************************************************************
3  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  *                                                                        *
5  * Author: The ALICE Off-line Project.                                    *
6  * Contributors are mentioned in the code where appropriate.              *
7  *                                                                        *
8  * Permission to use, copy, modify and distribute this software and its   *
9  * documentation strictly for non-commercial purposes is hereby granted   *
10  * without fee, provided that the above copyright notice appears in all   *
11  * copies and that both the copyright notice and this permission notice   *
12  * appear in the supporting documentation. The authors make no claims     *
13  * about the suitability of this software for any purpose. It is          *
14  * provided "as is" without express or implied warranty.                  *
15  **************************************************************************/
16
17 /* $Id$ */
18
19 //__________________________________________________________________
20 ////////////////////////////////////////////////////////////////////
21 //                                                                //
22 //
23 // Classes for Q's monitoring Vs Kt and Vs Qinv                   //
24 //                                                                //
25 // Author:                                                        //
26 // Zbigniew Chajecki <chajecki@if.pw.edu.pl>                      //
27 //                                                                //
28 ////////////////////////////////////////////////////////////////////
29
30
31 #include "AliHBTRDistributions.h"
32
33 ClassImp(AliHBTRStarDistribution)
34
35
36 AliHBTRStarDistribution::AliHBTRStarDistribution(Int_t nXbins, Double_t maxXval, Double_t minXval):
37  AliHBTOnePairFctn1D(nXbins,maxXval,minXval)
38 {
39 //ctor
40  Rename("RStarDistribution","R^{*} distribution");
41 }
42 /******************************************************************/
43
44 TH1* AliHBTRStarDistribution::GetResult()
45 {
46  //returns the result histo
47  return this->GetNumerator();
48 }
49
50
51 /******************************************************************/
52 /******************************************************************/
53
54 ClassImp(AliHBTRDistribution)
55
56 AliHBTRDistribution::AliHBTRDistribution(Int_t nXbins, Double_t maxXval, Double_t minXval):
57  AliHBTOnePairFctn1D(nXbins,maxXval,minXval)
58 {
59 //ctor
60  Rename("RDistribution","R (distance between creation points) distribution ");
61 }
62
63 /******************************************************************/
64
65 TH1* AliHBTRDistribution::GetResult()
66 {
67  //returns the result histo
68  return this->GetNumerator();
69 }
70
71
72 /******************************************************************/
73 /******************************************************************/
74 /******************************************************************/
75 /******************************************************************/