00001 /*************************************************************************** 00002 * 00003 * $Id: QinvCorrFctnC.h,v 1.2 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: QinvCorrFctnC.h,v $ 00014 * Revision 1.2 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.1 1999/09/23 23:28:02 lisa 00027 * add helensV0Cut AND rename mikes and franks ParticleCuts to TrackCuts AND update documentation 00028 * 00029 * Revision 1.2 1999/07/06 22:33:20 lisa 00030 * Adjusted all to work in pro and new - dev itself is broken 00031 * 00032 * Revision 1.1.1.1 1999/06/29 16:02:57 lisa 00033 * Installation of StHbtMaker 00034 * 00035 **************************************************************************/ 00036 00037 #ifndef QinvCorrFctnC_hh 00038 #define QinvCorrFctnC_hh 00039 00040 #include "StHbtMaker/Base/StHbtCorrFctn.hh" 00041 #include "StHbtMaker/Infrastructure/StHbtCoulomb.h" 00042 00043 class QinvCorrFctnC : public StHbtCorrFctn { 00044 public: 00045 QinvCorrFctnC(char* title, const int& nbins, const float& QinvLo, const float& QinvHi); 00046 virtual ~QinvCorrFctnC(); 00047 00048 virtual StHbtString Report(); 00049 virtual void AddRealPair(const StHbtPair*); 00050 virtual void AddMixedPair(const StHbtPair*); 00051 void AddCorrection(const StHbtCoulomb*); 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 StHbtCoulomb mCorrection; // Didn't like a pointer????? 00064 00065 #ifdef __ROOT__ 00066 ClassDef(QinvCorrFctnC, 1) 00067 #endif 00068 }; 00069 00070 inline StHbt1DHisto* QinvCorrFctnC::Numerator(){return mNumerator;} 00071 inline StHbt1DHisto* QinvCorrFctnC::Denominator(){return mDenominator;} 00072 inline StHbt1DHisto* QinvCorrFctnC::Ratio(){return mRatio;} 00073 00074 00075 #endif 00076
1.5.9