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