StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OpeningAngleCorrFctn.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 opening-angle correlation function
8  * for studying 2-track cuts...
9  *
10  ***************************************************************************
11  *
12  *
13  **************************************************************************/
14 
15 #ifndef OpeningAngleCorrFctn_hh
16 #define OpeningAngleCorrFctn_hh
17 
18 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
19 
21 public:
22  OpeningAngleCorrFctn(char* title, const int& nbinsQ, const float& QLo, const float& QHi,
23  const int& nbinAng, const float& AngLo, const float& AngHi);
24  virtual ~OpeningAngleCorrFctn();
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(OpeningAngleCorrFctn, 1)
44 #endif
45 };
46 
47 inline StHbt2DHisto* OpeningAngleCorrFctn::Numerator2D(){return mNumerator2D;}
48 inline StHbt2DHisto* OpeningAngleCorrFctn::Denominator2D(){return mDenominator2D;}
49 inline StHbt2DHisto* OpeningAngleCorrFctn::Ratio2D(){return mRatio2D;}
50 
51 
52 #endif
53