]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemtoUser/CorrFctn/AliFemtoShareQualityCorrFctn.h
Modifications needed for the compilation of the femtoscopy code (Adam-Mike)
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / CorrFctn / AliFemtoShareQualityCorrFctn.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.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 AliFemtoShareQualityCorrFctn_hh
38 #define AliFemtoShareQualityCorrFctn_hh
39
40 #include "TH1D.h"
41 #include "TH2D.h"
42 #include "Base/AliFemtoCorrFctn.h"
43
44 class AliFemtoShareQualityCorrFctn : public AliFemtoCorrFctn {
45 public:
46   AliFemtoShareQualityCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
47   virtual ~AliFemtoShareQualityCorrFctn();
48
49   virtual AliFemtoString Report();
50   virtual void AddRealPair(const AliFemtoPair*);
51   virtual void AddMixedPair(const AliFemtoPair*);
52
53   virtual void Finish();
54
55   void WriteHistos();
56 private:
57   
58   TH2D *fShareNumerator;
59   TH2D *fShareDenominator;
60
61   TH2D *fQualityNumerator;
62   TH2D *fQualityDenominator;
63
64 #ifdef __ROOT__
65   ClassDef(AliFemtoShareQualityCorrFctn, 1)
66 #endif
67 };
68
69
70 #endif
71