StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MinvCorrFctnM_vs_Phi.h
1 /***************************************************************************
2  *
3  * $Id: MinvCorrFctnM_vs_Phi.h,v 1.1 2000/05/25 22:09:15 laue Exp $
4  *
5  * Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * A simple invariant-mass vs azimuth angle correlation function
10  *
11  ***************************************************************************
12  *
13  * $Log: MinvCorrFctnM_vs_Phi.h,v $
14  * Revision 1.1 2000/05/25 22:09:15 laue
15  * New correlation function. Minv vs azimuth angle
16  *
17  *
18  **************************************************************************/
19 
20 #ifndef MinvCorrFctnM_vs_Phi_hh
21 #define MinvCorrFctnM_vs_Phi_hh
22 
23 #define __PI__ 3.1415927
24 
25 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
26 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh"
27 
29 public:
30  MinvCorrFctnM_vs_Phi(char* title,
31  const int& nbins1, const float& MinvLo1, const float& MinvHi1,
32  const int& nbins2=36, const float& MinvLo2=-__PI__, const float& MinvHi2=__PI__);
33  virtual ~MinvCorrFctnM_vs_Phi();
34 
35  virtual StHbtString Report();
36  virtual void AddRealPair(const StHbtPair*);
37  virtual void AddMixedPair(const StHbtPair*);
38 
39  virtual void Finish();
40 
41  StHbt2DHisto* Numerator();
42  StHbt2DHisto* Denominator();
43  StHbt2DHisto* Difference();
44 
45  private:
46  StHbt2DHisto* mNumerator;
47  StHbt2DHisto* mDenominator;
48  StHbt2DHisto* mDifference;
49 
50 #ifdef __ROOT__
51  ClassDef(MinvCorrFctnM_vs_Phi, 1)
52 #endif
53 };
54 
55 inline StHbt2DHisto* MinvCorrFctnM_vs_Phi::Numerator(){return mNumerator;}
56 inline StHbt2DHisto* MinvCorrFctnM_vs_Phi::Denominator(){return mDenominator;}
57 inline StHbt2DHisto* MinvCorrFctnM_vs_Phi::Difference(){return mDifference;}
58 
59 #endif
60