StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MinvCorrFctnM_vs_Pt.h
1 /***************************************************************************
2  *
3  * $Id: MinvCorrFctnM_vs_Pt.h,v 1.1 2000/03/16 21:17:09 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 correlation function
10  *
11  ***************************************************************************
12  *
13  * $Log: MinvCorrFctnM_vs_Pt.h,v $
14  * Revision 1.1 2000/03/16 21:17:09 laue
15  * Correlation function added
16  *
17  * Revision 1.2 1999/07/06 22:33:20 lisa
18  * Adjusted all to work in pro and new - dev itself is broken
19  *
20  * Revision 1.1.1.1 1999/06/29 16:02:57 lisa
21  * Installation of StHbtMaker
22  *
23  **************************************************************************/
24 
25 #ifndef MinvCorrFctnM_vs_Pt_hh
26 #define MinvCorrFctnM_vs_Pt_hh
27 
28 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
29 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh"
30 
32 public:
33  MinvCorrFctnM_vs_Pt(char* title,
34  const int& nbins1, const float& MinvLo1, const float& MinvHi1,
35  const int& nbins2, const float& MinvLo2, const float& MinvHi2);
36  virtual ~MinvCorrFctnM_vs_Pt();
37 
38  virtual StHbtString Report();
39  virtual void AddRealPair(const StHbtPair*);
40  virtual void AddMixedPair(const StHbtPair*);
41 
42  virtual void Finish();
43 
44  StHbt2DHisto* Numerator();
45  StHbt2DHisto* Denominator();
46  StHbt2DHisto* Difference();
47 
48  private:
49  StHbt2DHisto* mNumerator;
50  StHbt2DHisto* mDenominator;
51  StHbt2DHisto* mDifference;
52 
53 #ifdef __ROOT__
54  ClassDef(MinvCorrFctnM_vs_Pt, 1)
55 #endif
56 };
57 
58 inline StHbt2DHisto* MinvCorrFctnM_vs_Pt::Numerator(){return mNumerator;}
59 inline StHbt2DHisto* MinvCorrFctnM_vs_Pt::Denominator(){return mDenominator;}
60 inline StHbt2DHisto* MinvCorrFctnM_vs_Pt::Difference(){return mDifference;}
61 
62 #endif
63