StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
QinvCorrFctnC.h
1 /***************************************************************************
2  *
3  * $Id: QinvCorrFctnC.h,v 1.2 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: QinvCorrFctnC.h,v $
14  * Revision 1.2 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.1 1999/09/23 23:28:02 lisa
27  * add helensV0Cut AND rename mikes and franks ParticleCuts to TrackCuts AND update documentation
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 StHbtMaker
34  *
35  **************************************************************************/
36 
37 #ifndef QinvCorrFctnC_hh
38 #define QinvCorrFctnC_hh
39 
40 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
41 #include "StHbtMaker/Infrastructure/StHbtCoulomb.h"
42 
43 class QinvCorrFctnC : public StHbtCorrFctn {
44 public:
45  QinvCorrFctnC(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
46  virtual ~QinvCorrFctnC();
47 
48  virtual StHbtString Report();
49  virtual void AddRealPair(const StHbtPair*);
50  virtual void AddMixedPair(const StHbtPair*);
51  void AddCorrection(const StHbtCoulomb*);
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  StHbtCoulomb mCorrection; // Didn't like a pointer?????
64 
65 #ifdef __ROOT__
66  ClassDef(QinvCorrFctnC, 1)
67 #endif
68 };
69 
70 inline StHbt1DHisto* QinvCorrFctnC::Numerator(){return mNumerator;}
71 inline StHbt1DHisto* QinvCorrFctnC::Denominator(){return mDenominator;}
72 inline StHbt1DHisto* QinvCorrFctnC::Ratio(){return mRatio;}
73 
74 
75 #endif
76