]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/AliFemtoQinvCorrFctn.h
Updated configuration files for HMP, MCH and TRD
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoQinvCorrFctn.h
1 /***************************************************************************
2  *
3  * $Id$
4  *
5  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: AliFemtoMaker package
9  *   a simple Q-invariant correlation function           
10  *
11  ***************************************************************************
12  *
13  * $Log$
14  * Revision 1.2  2007/05/03 09:40:42  akisiel
15  * Fixing Effective C++ warnings
16  *
17  * Revision 1.1.1.1  2007/04/25 15:38:41  panos
18  * Importing the HBT code dir
19  *
20  * Revision 1.1.1.1  2007/03/07 10:14:49  mchojnacki
21  * First version on CVS
22  *
23  * Revision 1.3  2000/01/25 17:34:45  laue
24  * I. In order to run the stand alone version of the AliFemtoMaker the following
25  * changes have been done:
26  * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
27  * b) unnecessary includes of StMaker.h have been removed
28  * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything
29  * needed for the stand alone version
30  *
31  * II. To reduce the amount of compiler warning
32  * a) some variables have been type casted
33  * b) some destructors have been declared as virtual
34  *
35  * Revision 1.2  1999/07/06 22:33:20  lisa
36  * Adjusted all to work in pro and new - dev itself is broken
37  *
38  * Revision 1.1.1.1  1999/06/29 16:02:57  lisa
39  * Installation of AliFemtoMaker
40  *
41  **************************************************************************/
42
43 #ifndef AliFemtoQinvCorrFctn_hh
44 #define AliFemtoQinvCorrFctn_hh
45
46 #include "TH1D.h"
47 #include "AliFemtoCorrFctn.h"
48
49 class AliFemtoQinvCorrFctn : public AliFemtoCorrFctn {
50 public:
51   AliFemtoQinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
52   AliFemtoQinvCorrFctn(const AliFemtoQinvCorrFctn& aCorrFctn);
53   virtual ~AliFemtoQinvCorrFctn();
54
55   AliFemtoQinvCorrFctn& operator=(const AliFemtoQinvCorrFctn& aCorrFctn);
56
57   virtual AliFemtoString Report();
58   virtual void AddRealPair(AliFemtoPair*);
59   virtual void AddMixedPair(AliFemtoPair*);
60
61   virtual void Finish();
62
63   TH1D* Numerator();
64   TH1D* Denominator();
65   TH1D* Ratio();
66
67 private:
68   TH1D* fNumerator;
69   TH1D* fDenominator;
70   TH1D* fRatio;
71
72 #ifdef __ROOT__
73   ClassDef(AliFemtoQinvCorrFctn, 1)
74 #endif
75 };
76
77 inline  TH1D* AliFemtoQinvCorrFctn::Numerator(){return fNumerator;}
78 inline  TH1D* AliFemtoQinvCorrFctn::Denominator(){return fDenominator;}
79 inline  TH1D* AliFemtoQinvCorrFctn::Ratio(){return fRatio;}
80
81
82 #endif
83