00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ThBPCorrFctn_hh
00017 #define ThBPCorrFctn_hh
00018
00019 #include "StHbtMaker/Base/StHbtThCorrFctn.hh"
00020
00021 class StHbtThPair;
00022
00023 class ThBPCorrFctn : public virtual StHbtThCorrFctn {
00024 public:
00025 ThBPCorrFctn(char* aTitle, int aNBins,
00026 double aHLo, double aHHi, int addHistos);
00027 ThBPCorrFctn(const ThBPCorrFctn& ThCf);
00028
00029 virtual ~ThBPCorrFctn();
00030
00031 void AddNum(StHbtThPair*);
00032 void AddDen(StHbtThPair*);
00033
00034 StHbtThCorrFctn* ThClone() const ;
00035
00036 virtual StHbt3DHisto* Numerator() const ;
00037 virtual StHbt3DHisto* Denominator() const ;
00038 virtual StHbt3DHisto* Ratio() const ;
00039 virtual void Write() ;
00040 virtual void Finish();
00041 StHbtString Report();
00042
00043 private:
00044 StHbt3DHisto* mNumerator;
00045 StHbt3DHisto* mDenominator;
00046 StHbt3DHisto* mRatio;
00047 StHbt3DHisto* mQinvHisto;
00048
00049
00050 float mQinvNormLo;
00051 float mQinvNormHi;
00052
00053
00054 unsigned long int mNumRealsNorm;
00055 unsigned long int mNumMixedNorm;
00056
00057 StHbt2DHisto** add2DHistos;
00058 Int_t numAdd2DHistos;
00059 Int_t addedHistos;
00060
00061 #ifdef __ROOT__
00062 ClassDef(ThBPCorrFctn, 1)
00063 #endif
00064 };
00065
00066 #endif