28 dFitter3d( TMinuit* gMinuit, TH3D* numerator, TH3D* denominator, TString opt, TString opt2 ) ;
35 void FillInternalArrays() ;
43 void setFitMethod(TString opt) ;
45 void mfcn(Int_t &nParamters, Double_t *gin, Double_t &finalChi2, Double_t *parameterSet, Int_t iflag) ;
47 void fcnChi2(Int_t &nParamters, Double_t *gin, Double_t &finalChi2, Double_t *parameterSet, Int_t iflag) ;
49 void fcnMml(Int_t &nParamters, Double_t *gin, Double_t &finalChi2, Double_t *parameterSet, Int_t iflag) ;
51 double lnfactorial(
double arg) ;
58 void setCorrFctn(TString opt) ;
60 double mCorrelationFunction(TVector3& position,
double* parameterSet ) ;
62 double ykpCorrelationFunction(TVector3& position,
double* parameterSet ) ;
64 double bpCorrelationFunction(TVector3& position,
double* parameterSet ) ;
75 void SetNormFactor(
double norm) ;
78 void SetThresholdNumerator(
double thresN) ;
79 void SetThresholdDenominator(
double thresD) ;
80 double ThresholdNumerator() ;
81 double ThresholdDenominator() ;
83 void SetHistos(TH3D* numerator, TH3D* denominator) ;
85 TMinuit* getMinuit() {
return mMinuit ; } ;
87 void SetSphereLimit(
double limit) { mSphereLimit = limit*limit ; } ;
88 double GetSphereLimit() {
return mSphereLimit; } ;
97 int mInternalArraySize ;
98 double* mRatioInternalArray ;
99 double* mNumeratorInternalArray ;
100 double* mDenominatorInternalArray ;
101 double* mErrorInternalArray ;
102 TVector3* mVariablePositionArray ;
109 TString mCorrFctnType ;
111 double mSphereLimit ;
114 void Bin1ToBin3(TH3D* histo,
int bin,
int& binx,
int& biny,
int& binz) ;
117 int countMinuitCalls ;
127 double mThresholdNumerator ;
128 double mThresholdDenominator ;
145 inline TH3D* dFitter3d::Numerator(){
return mNumerator;}
146 inline TH3D* dFitter3d::Denominator(){
return mDenominator;}
147 inline TH3D* dFitter3d::Ratio(){
return mRatio;}
149 inline double dFitter3d::Norm(){
return mNorm; }
150 inline void dFitter3d::SetNormFactor(
double norm) { mNorm = norm ; }
152 inline double dFitter3d::ThresholdNumerator(){
return mThresholdNumerator; }
153 inline double dFitter3d::ThresholdDenominator(){
return mThresholdDenominator; }
154 inline void dFitter3d::SetThresholdNumerator(
double thresN) { mThresholdNumerator = thresN ; }
155 inline void dFitter3d::SetThresholdDenominator(
double thresD) { mThresholdDenominator = thresD ; }