StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mTmTCorrFctn.h
1 /***************************************************************************
2  *
3  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
4  ***************************************************************************
5  *
6  * Description: part of STAR HBT Framework: StHbtMaker package
7  * a simple 2-D Qvector-QualityFactor correlation function
8  * for studying 2-track cuts...
9  *
10  ***************************************************************************
11  *
12  *
13  **************************************************************************/
14 
15 #ifndef mTmTCorrFctn_hh
16 #define mTmTCorrFctn_hh
17 
18 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
19 
20 class mTmTCorrFctn : public StHbtCorrFctn {
21 public:
22  mTmTCorrFctn(char* title, const int& nbinsQ, const float& QLo, const float& QHi,
23  const int& nbinQual, const float& QualLo, const float& QualHi);
24  virtual ~mTmTCorrFctn();
25 
26  virtual StHbtString Report();
27  virtual void AddRealPair(const StHbtPair*);
28  virtual void AddMixedPair(const StHbtPair*);
29 
30  virtual void Finish();
31 
32  StHbt2DHisto* Numerator2D();
33  StHbt2DHisto* Denominator2D();
34  StHbt2DHisto* Ratio2D();
35 
36 private:
37 
38  StHbt2DHisto* mNumerator2D;
39  StHbt2DHisto* mDenominator2D;
40  StHbt2DHisto* mRatio2D;
41 
42 #ifdef __ROOT__
43  ClassDef(mTmTCorrFctn, 1)
44 #endif
45 };
46 
47 inline StHbt2DHisto* mTmTCorrFctn::Numerator2D(){return mNumerator2D;}
48 inline StHbt2DHisto* mTmTCorrFctn::Denominator2D(){return mDenominator2D;}
49 inline StHbt2DHisto* mTmTCorrFctn::Ratio2D(){return mRatio2D;}
50 
51 
52 #endif
53