StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
QvecCorrFctn.h
1 /***************************************************************************
2  *
3  * $Id: QvecCorrFctn.h,v 1.3 2000/01/25 17:34:45 laue Exp $
4  *
5  * Author: Randy Wells, Ohio State, rcwells@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * a simple correlation function in the magnitude of 3-vector q
10  *
11  ***************************************************************************
12  *
13  * $Log: QvecCorrFctn.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 QvecCorrFctn_hh
35 #define QvecCorrFctn_hh
36 // do I need these lines ?
37 //#ifndef StMaker_H
38 //#include "StMaker.h"
39 //#endif
40 
41 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
42 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh"
43 
44 class QvecCorrFctn : public StHbtCorrFctn {
45 public:
46  QvecCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
47  virtual ~QvecCorrFctn();
48 
49  virtual StHbtString Report();
50  virtual void AddRealPair(const StHbtPair*);
51  virtual void AddMixedPair(const StHbtPair*);
52 
53  virtual void Finish();
54 
55  StHbt1DHisto* Numerator();
56  StHbt1DHisto* Denominator();
57  StHbt1DHisto* Ratio();
58 
59 private:
60  StHbt1DHisto* mNumerator;
61  StHbt1DHisto* mDenominator;
62  StHbt1DHisto* mRatio;
63 
64 #ifdef __ROOT__
65  ClassDef(QvecCorrFctn, 1)
66 #endif
67 };
68 
69 inline StHbt1DHisto* QvecCorrFctn::Numerator(){return mNumerator;}
70 inline StHbt1DHisto* QvecCorrFctn::Denominator(){return mDenominator;}
71 inline StHbt1DHisto* QvecCorrFctn::Ratio(){return mRatio;}
72 
73 
74 #endif
75