00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef Th3DQCorrFctn_hh
00017 #define Th3DQCorrFctn_hh
00018
00019 #include "StHbtMaker/Base/StHbtRoot1DCF.hh"
00020 #include "StHbtMaker/Base/StHbtThCorrFctn.hh"
00021
00022 class StHbtThPair;
00023
00024 class Th3DQCorrFctn : public virtual StHbtThCorrFctn ,public virtual StHbtRoot1DCF {
00025 public:
00026 Th3DQCorrFctn(char* aTitle, int aNBins,
00027 double aHLo, double aHHi);
00028 Th3DQCorrFctn(const Th3DQCorrFctn& ThCf);
00029
00030 virtual ~Th3DQCorrFctn();
00031
00032 void AddNum(StHbtThPair*);
00033 void AddDen(StHbtThPair*);
00034
00035 virtual StHbtThCorrFctn* ThClone() const ;
00036
00037 virtual StHbt1DHisto* Numerator() const ;
00038 virtual StHbt1DHisto* Denominator() const ;
00039 virtual StHbt1DHisto* Ratio() const ;
00040 virtual void Write() ;
00041 virtual void Finish();
00042
00043 private:
00044
00045 StHbt1DHisto* qOutdist;
00046 StHbt1DHisto* qOutSdist;
00047 StHbt1DHisto* DeltaqOutdist;
00048
00049 StHbt1DHisto* qSidedist;
00050 StHbt1DHisto* qSideSdist;
00051 StHbt1DHisto* DeltaqSidedist;
00052
00053 StHbt1DHisto* qLongdist;
00054 StHbt1DHisto* qLongSdist;
00055 StHbt1DHisto* DeltaqLongdist;
00056
00057
00058 #ifdef __ROOT__
00059 ClassDef(Th3DQCorrFctn, 1)
00060 #endif
00061 };
00062
00063 #endif