StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MinvLikeSignCorrFctn_MinvYPt.h
1 /***************************************************************************
2  *
3  * $Id: MinvLikeSignCorrFctn_MinvYPt.h,v 1.1 2001/06/21 19:08:41 laue Exp $
4  *
5  * Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * A simple invariant-mass correlation function
10  *
11  ***************************************************************************
12  *
13  **************************************************************************/
14 
15 #ifndef MinvLikeSignCorrFctn_MinvYPt_hh
16 #define MinvLikeSignCorrFctn_MinvYPt_hh
17 
18 #include "StHbtMaker/Infrastructure/StHbtAnalysis.h"
19 #include "StHbtMaker/Base/StHbtLikeSignCorrFctn.hh"
20 #include "StHbtMaker/Cut/mikesEventCut.h"
21 
23 public:
25  MinvLikeSignCorrFctn_MinvYPt(char* title1, char* title2,
26  const int& nxbins, const double& xLo, const double& xHi,
27  const int& nybins, const double& yLo, const double& yHi,
28  const int& nzbins, const double& zLo, const double& zHi,
29  const double& m0=1.019417);
31 
32  virtual StHbtString Report();
33  virtual void AddRealPair(const StHbtPair*);
34  virtual void AddMixedPair(const StHbtPair*);
35  virtual void AddLikeSignPositivePair(const StHbtPair*);
36  virtual void AddLikeSignNegativePair(const StHbtPair*);
37  virtual void Finish();
39 
40  StHbt3DHisto* NumeratorPt();
41  StHbt3DHisto* MixedEventDenominatorPt();
42  StHbt3DHisto* PositiveDenominatorPt();
43  StHbt3DHisto* NegativeDenominatorPt();
44  StHbt3DHisto* MixedEventDifferencePt();
45  StHbt3DHisto* LikeSignDifferencePt();
46  StHbt3DHisto* NumeratorMt();
47  StHbt3DHisto* MixedEventDenominatorMt();
48  StHbt3DHisto* PositiveDenominatorMt();
49  StHbt3DHisto* NegativeDenominatorMt();
50  StHbt3DHisto* MixedEventDifferenceMt();
51  StHbt3DHisto* LikeSignDifferenceMt();
52 
53 private:
54  StHbt3DHisto* mNumeratorPt;
55  StHbt3DHisto* mMixedEventDenominatorPt;
56  StHbt3DHisto* mPositiveDenominatorPt;
57  StHbt3DHisto* mNegativeDenominatorPt;
58  StHbt3DHisto* mMixedEventDifferencePt;
59  StHbt3DHisto* mLikeSignDifferencePt;
60  StHbt3DHisto* mNumeratorMt;
61  StHbt3DHisto* mMixedEventDenominatorMt;
62  StHbt3DHisto* mPositiveDenominatorMt;
63  StHbt3DHisto* mNegativeDenominatorMt;
64  StHbt3DHisto* mMixedEventDifferenceMt;
65  StHbt3DHisto* mLikeSignDifferenceMt;
66 
67  double mM0;
68  double mMinv;
69  double mY;
70  double mPt;
71  double mMt;
72 
73 #ifdef __ROOT__
74  ClassDef(MinvLikeSignCorrFctn_MinvYPt, 1)
75 #endif
76 };
77 
78 
79 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::NumeratorPt(){return mNumeratorPt;}
80 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::MixedEventDenominatorPt(){return mMixedEventDenominatorPt;}
81 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::PositiveDenominatorPt(){return mPositiveDenominatorPt;}
82 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::NegativeDenominatorPt(){return mNegativeDenominatorPt;}
83 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::MixedEventDifferencePt(){return mMixedEventDifferencePt;}
84 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::LikeSignDifferencePt(){return mLikeSignDifferencePt;}
85 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::NumeratorMt(){return mNumeratorMt;}
86 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::MixedEventDenominatorMt(){return mMixedEventDenominatorMt;}
87 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::PositiveDenominatorMt(){return mPositiveDenominatorMt;}
88 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::NegativeDenominatorMt(){return mNegativeDenominatorMt;}
89 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::MixedEventDifferenceMt(){return mMixedEventDifferenceMt;}
90 inline StHbt3DHisto* MinvLikeSignCorrFctn_MinvYPt::LikeSignDifferenceMt(){return mLikeSignDifferenceMt;}
91 
92 inline MinvLikeSignCorrFctn_MinvYPt* MinvLikeSignCorrFctn_MinvYPt::Clone() { MinvLikeSignCorrFctn_MinvYPt* c = new MinvLikeSignCorrFctn_MinvYPt(*this); return c;}
93 inline MinvLikeSignCorrFctn_MinvYPt::MinvLikeSignCorrFctn_MinvYPt(const MinvLikeSignCorrFctn_MinvYPt& fctn) :StHbtLikeSignCorrFctn() {
94  mM0 = fctn.mM0;
95  mNumeratorPt = new StHbt3DHisto(*(fctn.mNumeratorPt));
96  mMixedEventDenominatorPt= new StHbt3DHisto(*(fctn.mMixedEventDenominatorPt));
97  mPositiveDenominatorPt = new StHbt3DHisto(*(fctn.mPositiveDenominatorPt));
98  mNegativeDenominatorPt = new StHbt3DHisto(*(fctn.mNegativeDenominatorPt));
99  mMixedEventDifferencePt = new StHbt3DHisto(*(fctn.mMixedEventDifferencePt));
100  mLikeSignDifferencePt = new StHbt3DHisto(*(fctn.mLikeSignDifferencePt));
101  mNumeratorMt = new StHbt3DHisto(*(fctn.mNumeratorMt));
102  mMixedEventDenominatorMt= new StHbt3DHisto(*(fctn.mMixedEventDenominatorMt));
103  mPositiveDenominatorMt = new StHbt3DHisto(*(fctn.mPositiveDenominatorMt));
104  mNegativeDenominatorMt = new StHbt3DHisto(*(fctn.mNegativeDenominatorMt));
105  mMixedEventDifferenceMt = new StHbt3DHisto(*(fctn.mMixedEventDifferenceMt));
106  mLikeSignDifferenceMt = new StHbt3DHisto(*(fctn.mLikeSignDifferenceMt));
107 }
108 
109 
110 #endif
111