00001 /*************************************************************************** 00002 * 00003 * $Id: QvecCorrFctn.h,v 1.3 2000/01/25 17:34:45 laue Exp $ 00004 * 00005 * Author: Randy Wells, Ohio State, rcwells@mps.ohio-state.edu 00006 *************************************************************************** 00007 * 00008 * Description: part of STAR HBT Framework: StHbtMaker package 00009 * a simple correlation function in the magnitude of 3-vector q 00010 * 00011 *************************************************************************** 00012 * 00013 * $Log: QvecCorrFctn.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 QvecCorrFctn_hh 00035 #define QvecCorrFctn_hh 00036 // do I need these lines ? 00037 //#ifndef StMaker_H 00038 //#include "StMaker.h" 00039 //#endif 00040 00041 #include "StHbtMaker/Base/StHbtCorrFctn.hh" 00042 //#include "StHbtMaker/Infrastructure/StHbtHisto.hh" 00043 00044 class QvecCorrFctn : public StHbtCorrFctn { 00045 public: 00046 QvecCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi); 00047 virtual ~QvecCorrFctn(); 00048 00049 virtual StHbtString Report(); 00050 virtual void AddRealPair(const StHbtPair*); 00051 virtual void AddMixedPair(const StHbtPair*); 00052 00053 virtual void Finish(); 00054 00055 StHbt1DHisto* Numerator(); 00056 StHbt1DHisto* Denominator(); 00057 StHbt1DHisto* Ratio(); 00058 00059 private: 00060 StHbt1DHisto* mNumerator; 00061 StHbt1DHisto* mDenominator; 00062 StHbt1DHisto* mRatio; 00063 00064 #ifdef __ROOT__ 00065 ClassDef(QvecCorrFctn, 1) 00066 #endif 00067 }; 00068 00069 inline StHbt1DHisto* QvecCorrFctn::Numerator(){return mNumerator;} 00070 inline StHbt1DHisto* QvecCorrFctn::Denominator(){return mDenominator;} 00071 inline StHbt1DHisto* QvecCorrFctn::Ratio(){return mRatio;} 00072 00073 00074 #endif 00075
1.5.9