StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtLikeSignCorrFctn.hh
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 
16 #ifndef StHbtLikeSignCorrFctn_hh
17 #define StHbtLikeSignCorrFctn_hh
18 
19 class StHbtPair;
20 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
21 
23 
24 public:
25  StHbtLikeSignCorrFctn(){/* no-op */};
27  virtual ~StHbtLikeSignCorrFctn(){/* no-op */};
28 
29  virtual void AddLikeSignPositivePair(const StHbtPair*) = 0;
30  virtual void AddLikeSignNegativePair(const StHbtPair*) = 0;
31 
32  virtual StHbtLikeSignCorrFctn* Clone() { return 0;}
33 
34  // the following allows "back-pointing" from the CorrFctn to the "parent" Analysis
35  friend class StHbtLikeSignAnalysis;
36 
37 };
38 
39 inline StHbtLikeSignCorrFctn::StHbtLikeSignCorrFctn(const StHbtLikeSignCorrFctn& c) { myAnalysis =0; }
40 
41 #endif