15 #ifndef MinvLikeSignCorrFctn_Minv_vs_Phi_hh
16 #define MinvLikeSignCorrFctn_Minv_vs_Phi_hh
18 # define M_PI 3.14159265358979323846
19 # define M_PIl 3.1415926535897932384626433832795029L
21 #include "StHbtMaker/Infrastructure/StHbtAnalysis.h"
22 #include "StHbtMaker/Base/StHbtLikeSignCorrFctn.hh"
23 #include "StHbtMaker/Cut/mikesEventCut.h"
31 const int& nxbins=100,
const float& xLo=.98,
const float& xHi=1.08,
32 const int& nybins=12,
const float& yLo=0.,
const float& yHi=M_PIl);
35 virtual StHbtString Report();
36 virtual void AddRealPair(
const StHbtPair*);
37 virtual void AddMixedPair(
const StHbtPair*);
38 virtual void AddLikeSignPositivePair(
const StHbtPair*);
39 virtual void AddLikeSignNegativePair(
const StHbtPair*);
40 virtual void Finish();
41 virtual void EventBegin(
const StHbtEvent* ev) {
42 mReactionPlane = ev->ReactionPlane();
43 mReactionPlaneError = ev->ReactionPlaneSubEventDifference();
57 float mReactionPlaneError;
72 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Phi::Numerator(){
return mNumerator;}
73 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Phi::MixedEventDenominator(){
return mMixedEventDenominator;}
74 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Phi::PositiveDenominator(){
return mPositiveDenominator;}
75 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Phi::NegativeDenominator(){
return mNegativeDenominator;}
76 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Phi::MixedEventDifference(){
return mMixedEventDifference;}
77 inline StHbt2DHisto* MinvLikeSignCorrFctn_Minv_vs_Phi::LikeSignDifference(){
return mLikeSignDifference;}
82 mMixedEventDenominator=
new StHbt2DHisto(*(fctn.mMixedEventDenominator));
83 mPositiveDenominator =
new StHbt2DHisto(*(fctn.mPositiveDenominator));
84 mNegativeDenominator =
new StHbt2DHisto(*(fctn.mNegativeDenominator));
85 mMixedEventDifference =
new StHbt2DHisto(*(fctn.mMixedEventDifference));
86 mLikeSignDifference =
new StHbt2DHisto(*(fctn.mLikeSignDifference));