StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
QinvCorrFctn.h
1 /***************************************************************************
2  *
3  * $Id: QinvCorrFctn.h,v 1.3 2000/01/25 17:34:45 laue Exp $
4  *
5  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * a simple Q-invariant correlation function
10  *
11  ***************************************************************************
12  *
13  * $Log: QinvCorrFctn.h,v $
14  * Revision 1.3 2000/01/25 17:34:45 laue
15  * I. In order to run the stand alone version of the StHbtMaker the following
16  * changes have been done:
17  * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
18  * b) unnecessary includes of StMaker.h have been removed
19  * c) the subdirectory StHbtMaker/doc/Make has been created including everything
20  * needed for the stand alone version
21  *
22  * II. To reduce the amount of compiler warning
23  * a) some variables have been type casted
24  * b) some destructors have been declared as virtual
25  *
26  * Revision 1.2 1999/07/06 22:33:20 lisa
27  * Adjusted all to work in pro and new - dev itself is broken
28  *
29  * Revision 1.1.1.1 1999/06/29 16:02:57 lisa
30  * Installation of StHbtMaker
31  *
32  **************************************************************************/
33 
34 #ifndef QinvCorrFctn_hh
35 #define QinvCorrFctn_hh
36 
37 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
38 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh"
39 
40 class QinvCorrFctn : public StHbtCorrFctn {
41 public:
42  QinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
43  virtual ~QinvCorrFctn();
44 
45  virtual StHbtString Report();
46  virtual void AddRealPair(const StHbtPair*);
47  virtual void AddMixedPair(const StHbtPair*);
48 
49  virtual void Finish();
50 
51  StHbt1DHisto* Numerator();
52  StHbt1DHisto* Denominator();
53  StHbt1DHisto* Ratio();
54 
55 private:
56  StHbt1DHisto* mNumerator;
57  StHbt1DHisto* mDenominator;
58  StHbt1DHisto* mRatio;
59 
60 #ifdef __ROOT__
61  ClassDef(QinvCorrFctn, 1)
62 #endif
63 };
64 
65 inline StHbt1DHisto* QinvCorrFctn::Numerator(){return mNumerator;}
66 inline StHbt1DHisto* QinvCorrFctn::Denominator(){return mDenominator;}
67 inline StHbt1DHisto* QinvCorrFctn::Ratio(){return mRatio;}
68 
69 
70 #endif
71