00001 /*************************************************************************** 00002 * 00003 * $Id: QinvCorrFctn.h,v 1.3 2000/01/25 17:34:45 laue Exp $ 00004 * 00005 * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu 00006 *************************************************************************** 00007 * 00008 * Description: part of STAR HBT Framework: StHbtMaker package 00009 * a simple Q-invariant correlation function 00010 * 00011 *************************************************************************** 00012 * 00013 * $Log: QinvCorrFctn.h,v $ 00014 * Revision 1.3 2000/01/25 17:34:45 laue 00015 * I. In order to run the stand alone version of the StHbtMaker the following 00016 * changes have been done: 00017 * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements 00018 * b) unnecessary includes of StMaker.h have been removed 00019 * c) the subdirectory StHbtMaker/doc/Make has been created including everything 00020 * needed for the stand alone version 00021 * 00022 * II. To reduce the amount of compiler warning 00023 * a) some variables have been type casted 00024 * b) some destructors have been declared as virtual 00025 * 00026 * Revision 1.2 1999/07/06 22:33:20 lisa 00027 * Adjusted all to work in pro and new - dev itself is broken 00028 * 00029 * Revision 1.1.1.1 1999/06/29 16:02:57 lisa 00030 * Installation of StHbtMaker 00031 * 00032 **************************************************************************/ 00033 00034 #ifndef QinvCorrFctn_hh 00035 #define QinvCorrFctn_hh 00036 00037 #include "StHbtMaker/Base/StHbtCorrFctn.hh" 00038 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh" 00039 00040 class QinvCorrFctn : public StHbtCorrFctn { 00041 public: 00042 QinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi); 00043 virtual ~QinvCorrFctn(); 00044 00045 virtual StHbtString Report(); 00046 virtual void AddRealPair(const StHbtPair*); 00047 virtual void AddMixedPair(const StHbtPair*); 00048 00049 virtual void Finish(); 00050 00051 StHbt1DHisto* Numerator(); 00052 StHbt1DHisto* Denominator(); 00053 StHbt1DHisto* Ratio(); 00054 00055 private: 00056 StHbt1DHisto* mNumerator; 00057 StHbt1DHisto* mDenominator; 00058 StHbt1DHisto* mRatio; 00059 00060 #ifdef __ROOT__ 00061 ClassDef(QinvCorrFctn, 1) 00062 #endif 00063 }; 00064 00065 inline StHbt1DHisto* QinvCorrFctn::Numerator(){return mNumerator;} 00066 inline StHbt1DHisto* QinvCorrFctn::Denominator(){return mDenominator;} 00067 inline StHbt1DHisto* QinvCorrFctn::Ratio(){return mRatio;} 00068 00069 00070 #endif 00071
1.5.9