15 #ifndef MinvLikeSignCorrFctn_hh
16 #define MinvLikeSignCorrFctn_hh
18 #include "StHbtMaker/Infrastructure/StHbtAnalysis.h"
19 #include "StHbtMaker/Base/StHbtLikeSignCorrFctn.hh"
20 #include "StHbtMaker/Cut/mikesEventCut.h"
23 #include "StHbtMaker/Infrastructure/StHbtTagWriter.hh"
29 MinvLikeSignCorrFctn(
char* title1,
char* title2,
const int& nbins,
const float& MinvLo,
const float& MinvHi);
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();
63 inline StHbt1DHisto* MinvLikeSignCorrFctn::Numerator(){
return mNumerator;}
64 inline StHbt1DHisto* MinvLikeSignCorrFctn::MixedEventDenominator(){
return mMixedEventDenominator;}
65 inline StHbt1DHisto* MinvLikeSignCorrFctn::PositiveDenominator(){
return mPositiveDenominator;}
66 inline StHbt1DHisto* MinvLikeSignCorrFctn::NegativeDenominator(){
return mNegativeDenominator;}
67 inline StHbt1DHisto* MinvLikeSignCorrFctn::MixedEventDifference(){
return mMixedEventDifference;}
68 inline StHbt1DHisto* MinvLikeSignCorrFctn::LikeSignDifference(){
return mLikeSignDifference;}
73 mTagWriter = StHbtTagWriter::Instance();
76 mMixedEventDenominator=
new StHbt1DHisto(*(fctn.mMixedEventDenominator));
77 mPositiveDenominator=
new StHbt1DHisto(*(fctn.mPositiveDenominator));
78 mNegativeDenominator=
new StHbt1DHisto(*(fctn.mNegativeDenominator));
79 mMixedEventDifference =
new StHbt1DHisto(*(fctn.mMixedEventDifference));
80 mLikeSignDifference =
new StHbt1DHisto(*(fctn.mLikeSignDifference));