]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/AliFemtoQinvCorrFctn.h
Bring AliFemto up to date with latest code developements
[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.1  2007/05/16 10:22:11  akisiel
15  * Making the directory structure of AliFemto flat. All files go into one common directory
16  *
17  * Revision 1.2  2007/05/03 09:40:42  akisiel
18  * Fixing Effective C++ warnings
19  *
20  * Revision 1.1.1.1  2007/04/25 15:38:41  panos
21  * Importing the HBT code dir
22  *
23  * Revision 1.1.1.1  2007/03/07 10:14:49  mchojnacki
24  * First version on CVS
25  *
26  * Revision 1.3  2000/01/25 17:34:45  laue
27  * I. In order to run the stand alone version of the AliFemtoMaker the following
28  * changes have been done:
29  * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
30  * b) unnecessary includes of StMaker.h have been removed
31  * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything
32  * needed for the stand alone version
33  *
34  * II. To reduce the amount of compiler warning
35  * a) some variables have been type casted
36  * b) some destructors have been declared as virtual
37  *
38  * Revision 1.2  1999/07/06 22:33:20  lisa
39  * Adjusted all to work in pro and new - dev itself is broken
40  *
41  * Revision 1.1.1.1  1999/06/29 16:02:57  lisa
42  * Installation of AliFemtoMaker
43  *
44  **************************************************************************/
45
46 #ifndef ALIFEMTOQINVCORRFCTN_H
47 #define ALIFEMTOQINVCORRFCTN_H
48
49 #include "TH1D.h"
50 #include "AliFemtoCorrFctn.h"
51
52 class AliFemtoQinvCorrFctn : public AliFemtoCorrFctn {
53 public:
54   AliFemtoQinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
55   AliFemtoQinvCorrFctn(const AliFemtoQinvCorrFctn& aCorrFctn);
56   virtual ~AliFemtoQinvCorrFctn();
57
58   AliFemtoQinvCorrFctn& operator=(const AliFemtoQinvCorrFctn& aCorrFctn);
59
60   virtual AliFemtoString Report();
61   virtual void AddRealPair(AliFemtoPair* aPair);
62   virtual void AddMixedPair(AliFemtoPair* aPair);
63
64   virtual void Finish();
65
66   TH1D* Numerator();
67   TH1D* Denominator();
68   TH1D* Ratio();
69
70   virtual TList* GetOutputList();
71   void Write();
72
73 private:
74   TH1D* fNumerator;          // numerator - real pairs
75   TH1D* fDenominator;        // denominator - mixed pairs
76   TH1D* fRatio;              // ratio - correlation function
77
78 #ifdef __ROOT__
79   ClassDef(AliFemtoQinvCorrFctn, 1)
80 #endif
81 };
82
83 inline  TH1D* AliFemtoQinvCorrFctn::Numerator(){return fNumerator;}
84 inline  TH1D* AliFemtoQinvCorrFctn::Denominator(){return fDenominator;}
85 inline  TH1D* AliFemtoQinvCorrFctn::Ratio(){return fRatio;}
86
87
88 #endif
89