StHbtLikeSignCorrFctn.hh 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /***************************************************************************
  2. *
  3. * $Id: StHbtLikeSignCorrFctn.hh,v 1.2 2001/06/21 19:06:49 laue Exp $
  4. *
  5. * Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
  6. ***************************************************************************
  7. *
  8. * Description: part of STAR HBT Framework: StHbtMaker package
  9. * base class for a STAR correlation function. Users should inherit
  10. * from this and must implement constructor, destructor, Report(),
  11. * AddMixedPair(), AddRealPair(), AddLikeSignPositivePair(),
  12. * AddLikeSignNegativePair(), Finish()
  13. *
  14. **************************************************************************/
  15. #ifndef StHbtLikeSignCorrFctn_hh
  16. #define StHbtLikeSignCorrFctn_hh
  17. class StHbtPair;
  18. #include "StHbtMaker/Base/StHbtCorrFctn.hh"
  19. class StHbtLikeSignCorrFctn : public StHbtCorrFctn {
  20. public:
  21. StHbtLikeSignCorrFctn(){/* no-op */};
  22. StHbtLikeSignCorrFctn(const StHbtLikeSignCorrFctn& );
  23. virtual ~StHbtLikeSignCorrFctn(){/* no-op */};
  24. virtual void AddLikeSignPositivePair(const StHbtPair*) = 0;
  25. virtual void AddLikeSignNegativePair(const StHbtPair*) = 0;
  26. virtual StHbtLikeSignCorrFctn* Clone() { return 0;}
  27. // the following allows "back-pointing" from the CorrFctn to the "parent" Analysis
  28. friend class StHbtLikeSignAnalysis;
  29. };
  30. inline StHbtLikeSignCorrFctn::StHbtLikeSignCorrFctn(const StHbtLikeSignCorrFctn& c) { myAnalysis =0; }
  31. #endif