StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FracMergRowvsQinv.h
1 /***************************************************************************
2  *
3  * Author: Mercedes Lopez Noriega, OSU, mercedes@pacific.mps.ohio-state.edu
4  *
5  ***************************************************************************
6  *
7  * Description: part of STAR HBT Framework: StHbtMaker package
8  * 2D correlation function: Qinv vs. Fraction of merged rows.
9  *
10  **************************************************************************/
11 
12 #ifndef FracMergRowvsQinv_hh
13 #define FracMergRowvsQinv_hh
14 
15 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
16 
18 public:
19  FracMergRowvsQinv(char* title, const int& nbinsX, const float& XLo, const float& XHi,
20  const int& nbinsY, const float& YLo, const float& YHi);
21  virtual ~FracMergRowvsQinv();
22 
23  virtual StHbtString Report();
24  virtual void AddRealPair(const StHbtPair*);
25  virtual void AddMixedPair(const StHbtPair*);
26 
27  virtual void Finish();
28 
29  StHbt2DHisto* Numerator2D();
30  StHbt2DHisto* Denominator2D();
31  StHbt2DHisto* Ratio2D();
32 
33 private:
34  StHbt2DHisto* mNumerator2D;
35  StHbt2DHisto* mDenominator2D;
36  StHbt2DHisto* mRatio2D;
37 
38 #ifdef __ROOT__
39  ClassDef(FracMergRowvsQinv, 1)
40 #endif
41 };
42 
43 inline StHbt2DHisto* FracMergRowvsQinv::Numerator2D(){return mNumerator2D;}
44 inline StHbt2DHisto* FracMergRowvsQinv::Denominator2D(){return mDenominator2D;}
45 inline StHbt2DHisto* FracMergRowvsQinv::Ratio2D(){return mRatio2D;}
46 
47 #endif