StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MinvLikeSignCorrFctn_Minv_vs_Pt.h
1 /***************************************************************************
2  *
3  * $Id: MinvLikeSignCorrFctn_Minv_vs_Pt.h,v 1.2 2001/01/23 15:12:55 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_Minv_vs_Pt_hh
16 #define MinvLikeSignCorrFctn_Minv_vs_Pt_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_Minv_vs_Pt(char* title1, char* title2,
26  const int& nxbins, const float& xLo, const float& xHi,
27  const int& nybins, const float& yLo, const float& yHi);
29 
30  virtual StHbtString Report();
31  virtual void AddRealPair(const StHbtPair*);
32  virtual void AddMixedPair(const StHbtPair*);
33  virtual void AddLikeSignPositivePair(const StHbtPair*);
34  virtual void AddLikeSignNegativePair(const StHbtPair*);
35  virtual void Finish();
37 
38  StHbt2DHisto* Numerator();
39  StHbt2DHisto* MixedEventDenominator();
40  StHbt2DHisto* PositiveDenominator();
41  StHbt2DHisto* NegativeDenominator();
42  StHbt2DHisto* MixedEventDifference();
43  StHbt2DHisto* LikeSignDifference();
44 
45 private:
46  StHbt2DHisto* mNumerator;
47  StHbt2DHisto* mMixedEventDenominator;
48  StHbt2DHisto* mPositiveDenominator;
49  StHbt2DHisto* mNegativeDenominator;
50  StHbt2DHisto* mMixedEventDifference;
51  StHbt2DHisto* mLikeSignDifference;
52 
53 
54 #ifdef __ROOT__
56 #endif
57 };
58 
59 
60 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Pt::Numerator(){return mNumerator;}
61 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Pt::MixedEventDenominator(){return mMixedEventDenominator;}
62 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Pt::PositiveDenominator(){return mPositiveDenominator;}
63 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Pt::NegativeDenominator(){return mNegativeDenominator;}
64 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Pt::MixedEventDifference(){return mMixedEventDifference;}
65 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Pt::LikeSignDifference(){return mLikeSignDifference;}
66 
67 inline MinvLikeSignCorrFctn_Minv_vs_Pt* MinvLikeSignCorrFctn_Minv_vs_Pt::Clone() { MinvLikeSignCorrFctn_Minv_vs_Pt* c = new MinvLikeSignCorrFctn_Minv_vs_Pt(*this); return c;}
68 inline MinvLikeSignCorrFctn_Minv_vs_Pt::MinvLikeSignCorrFctn_Minv_vs_Pt(const MinvLikeSignCorrFctn_Minv_vs_Pt& fctn) :StHbtLikeSignCorrFctn() {
69  mNumerator = new StHbt2DHisto(*(fctn.mNumerator));
70  mMixedEventDenominator= new StHbt2DHisto(*(fctn.mMixedEventDenominator));
71  mPositiveDenominator = new StHbt2DHisto(*(fctn.mPositiveDenominator));
72  mNegativeDenominator = new StHbt2DHisto(*(fctn.mNegativeDenominator));
73  mMixedEventDifference = new StHbt2DHisto(*(fctn.mMixedEventDifference));
74  mLikeSignDifference = new StHbt2DHisto(*(fctn.mLikeSignDifference));
75 }
76 
77 
78 #endif
79