67427ff7 |
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.1.1.1 2007/03/07 10:14:49 mchojnacki |
15 | * First version on CVS |
16 | * |
17 | * Revision 1.3 2000/01/25 17:34:45 laue |
18 | * I. In order to run the stand alone version of the AliFemtoMaker the following |
19 | * changes have been done: |
20 | * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements |
21 | * b) unnecessary includes of StMaker.h have been removed |
22 | * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything |
23 | * needed for the stand alone version |
24 | * |
25 | * II. To reduce the amount of compiler warning |
26 | * a) some variables have been type casted |
27 | * b) some destructors have been declared as virtual |
28 | * |
29 | * Revision 1.2 1999/07/06 22:33:20 lisa |
30 | * Adjusted all to work in pro and new - dev itself is broken |
31 | * |
32 | * Revision 1.1.1.1 1999/06/29 16:02:57 lisa |
33 | * Installation of AliFemtoMaker |
34 | * |
35 | **************************************************************************/ |
36 | |
37 | #ifndef AliFemtoQinvCorrFctn_hh |
38 | #define AliFemtoQinvCorrFctn_hh |
39 | |
40 | #include "TH1D.h" |
41 | #include "Base/AliFemtoCorrFctn.h" |
42 | |
43 | class AliFemtoQinvCorrFctn : public AliFemtoCorrFctn { |
44 | public: |
45 | AliFemtoQinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi); |
46 | virtual ~AliFemtoQinvCorrFctn(); |
47 | |
48 | virtual AliFemtoString Report(); |
49 | virtual void AddRealPair(const AliFemtoPair*); |
50 | virtual void AddMixedPair(const AliFemtoPair*); |
51 | |
52 | virtual void Finish(); |
53 | |
54 | TH1D* Numerator(); |
55 | TH1D* Denominator(); |
56 | TH1D* Ratio(); |
57 | |
58 | private: |
59 | TH1D* fNumerator; |
60 | TH1D* fDenominator; |
61 | TH1D* fRatio; |
62 | |
63 | #ifdef __ROOT__ |
64 | ClassDef(AliFemtoQinvCorrFctn, 1) |
65 | #endif |
66 | }; |
67 | |
68 | inline TH1D* AliFemtoQinvCorrFctn::Numerator(){return fNumerator;} |
69 | inline TH1D* AliFemtoQinvCorrFctn::Denominator(){return fDenominator;} |
70 | inline TH1D* AliFemtoQinvCorrFctn::Ratio(){return fRatio;} |
71 | |
72 | |
73 | #endif |
74 | |