StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AverageSepCorrFctn.h
1 /***************************************************************************
2  *
3  * $Id: AverageSepCorrFctn.h,v 1.1 2000/10/05 23:08:59 lisa Exp $
4  *
5  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * a simple average-seperation correlation function
10  * for studying 2-track cuts...
11  *
12  ***************************************************************************
13  *
14  *$Log: AverageSepCorrFctn.h,v $
15  *Revision 1.1 2000/10/05 23:08:59 lisa
16  *Added kT-dependent radii to mixed-event simulator AND implemented AverageSeparation Cut and CorrFctn
17  *
18  *
19  **************************************************************************/
20 
21 #ifndef AverageSepCorrFctn_hh
22 #define AverageSepCorrFctn_hh
23 
24 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
25 
27 public:
28  AverageSepCorrFctn(char* title, const int& nbinsQ, const float& QLo, const float& QHi,
29  const int& nbinExSep, const float& ExSepLo, const float& ExSepHi);
30  virtual ~AverageSepCorrFctn();
31 
32  virtual StHbtString Report();
33  virtual void AddRealPair(const StHbtPair*);
34  virtual void AddMixedPair(const StHbtPair*);
35 
36  virtual void Finish();
37 
38  StHbt2DHisto* Numerator2D();
39  StHbt2DHisto* Denominator2D();
40  StHbt2DHisto* Ratio2D();
41 
42 private:
43 
44  StHbt2DHisto* mNumerator2D;
45  StHbt2DHisto* mDenominator2D;
46  StHbt2DHisto* mRatio2D;
47 
48 #ifdef __ROOT__
49  ClassDef(AverageSepCorrFctn, 1)
50 #endif
51 
52 };
53 
54 inline StHbt2DHisto* AverageSepCorrFctn::Numerator2D(){return mNumerator2D;}
55 inline StHbt2DHisto* AverageSepCorrFctn::Denominator2D(){return mDenominator2D;}
56 inline StHbt2DHisto* AverageSepCorrFctn::Ratio2D(){return mRatio2D;}
57 
58 
59 #endif
60