StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
QinvCorrFctnKt.h
1 /***************************************************************************
2  *
3  * $Id: QinvCorrFctnKt.h,v 1.1 2002/05/17 14:26:17 mercedes Exp $
4  *
5  * Author: Mercedes Lopez Noriega, OSU, mercedes@pacific.mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * QinvCFs for a given number of CFs (nCFs) between ktLo and ktHi
10  * where kt is the four-momentum of the pair
11  *
12  ***************************************************************************
13  *
14  * $Log: QinvCorrFctnKt.h,v $
15  * Revision 1.1 2002/05/17 14:26:17 mercedes
16  * N Qinv CFs (kt bins) between ktmin and ktmax
17  *
18  *
19  **************************************************************************/
20 
21 #ifndef QinvCorrFctnKt_hh
22 #define QinvCorrFctnKt_hh
23 
24 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
25 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh"
26 #include "StHbtMaker/Base/StHbtPairCut.h"
27 
28 class QinvCorrFctnKt : public StHbtCorrFctn {
29 public:
30  QinvCorrFctnKt(char* title, const int& nbins, const float& QinvLo, const float& QinvHi,
31  const int& nCFs=20, const float& KtLo=0.0, const float& KtHi=1.0);
32  virtual ~QinvCorrFctnKt();
33 
34  virtual StHbtString Report();
35  virtual void AddRealPair(const StHbtPair*);
36  virtual void AddMixedPair(const StHbtPair*);
37 
38  virtual void Finish();
39 
40  StHbt1DHisto* Numerator(int j);
41  StHbt1DHisto* Denominator(int j);
42  StHbt1DHisto* Ratio(int j);
43 
44  private:
45  StHbt1DHisto* mNumerator;
46  StHbt1DHisto* mDenominator;
47  StHbt1DHisto* mRatio;
48 
49  int mNumberCFs;
50  float mKtMin;
51  float mKtMax;
52 
53  int* mIndex;
54  float mDeltaKt;
55 
56 #ifdef __ROOT__
57  ClassDef(QinvCorrFctnKt, 1)
58 #endif
59  };
60 
61 inline StHbt1DHisto* QinvCorrFctnKt::Numerator(int j){return &mNumerator[j];}
62 inline StHbt1DHisto* QinvCorrFctnKt::Denominator(int j){return &mDenominator[j];}
63 inline StHbt1DHisto* QinvCorrFctnKt::Ratio(int j){return &mRatio[j];}
64 
65 #endif
66