StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
QinvCorrFctnPidProbWeight.h
1 /***************************************************************************
2  *
3  * $Id: QinvCorrFctnPidProbWeight.h,v 1.1 2001/09/05 20:41:14 laue Exp $
4  *
5  * Author: Frank Laue, BNL, laue@bnl.gov
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * a simple Q-invariant correlation function with probability weighting
10  *
11  ***************************************************************************
12  *
13  * $Log: QinvCorrFctnPidProbWeight.h,v $
14  * Revision 1.1 2001/09/05 20:41:14 laue
15  * Updates of the hbtMuDstTree microDSTs
16  *
17  *
18  **************************************************************************/
19 
20 #ifndef QinvCorrFctnPidProbWeight_hh
21 #define QinvCorrFctnPidProbWeight_hh
22 
23 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
24 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh"
25 
27 public:
28  QinvCorrFctnPidProbWeight(char* title1, char* title2, const int& nbins, const float& QinvLo, const float& QinvHi);
29  virtual ~QinvCorrFctnPidProbWeight();
30 
31  virtual StHbtString Report();
32  virtual void AddRealPair(const StHbtPair*);
33  virtual void AddMixedPair(const StHbtPair*);
34 
35  virtual void Finish();
36 
37  StHbt1DHisto* Numerator();
38  StHbt1DHisto* Denominator();
39  StHbt1DHisto* Ratio();
40 
41 private:
42  StHbt1DHisto* mNumerator;
43  StHbt1DHisto* mDenominator;
44  StHbt1DHisto* mRatio;
45 
46 #ifdef __ROOT__
47  ClassDef(QinvCorrFctnPidProbWeight, 1)
48 #endif
49 };
50 
51 inline StHbt1DHisto* QinvCorrFctnPidProbWeight::Numerator(){return mNumerator;}
52 inline StHbt1DHisto* QinvCorrFctnPidProbWeight::Denominator(){return mDenominator;}
53 inline StHbt1DHisto* QinvCorrFctnPidProbWeight::Ratio(){return mRatio;}
54 
55 
56 #endif
57