StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtThCFManager.h
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Laurent Conin, Fabrice Retiere, Subatech, France
6  ***************************************************************************
7  *
8  * Description : This Class Manage Theoretical Correlation Function
9  * user shoud define the way of calculating the weight with SetThPair
10  * ThCorrFctn should be pluged with AddCorrFctn
11  * this Manager inherit from CorrFctn . it shoul be pluged in an analysis
12  * with analysis->AddCorrFctn(Manager)
13  *
14  ***************************************************************************
15  *
16  *
17  *
18  ***************************************************************************/
19 #ifndef StHbtThCFManager_hh
20 #define StHbtThCFManager_hh
21 
22 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
23 #include "StHbtMaker/ThCorrFctn/StHbtThCorrFctnCollection.hh"
24 
25 class StHbtPair;
26 class StHbtThPair;
27 class StHbtThCorrFctn;
28 
30 
31 public:
32 // --- Constructor
34  virtual ~StHbtThCFManager();
35 
36  virtual void AddCorrFctn(StHbtThCorrFctn*);
37 
38  virtual void SetThPair(StHbtThPair*);
39 
40 
41  virtual void AddRealPair(const StHbtPair*);
42  virtual void AddMixedPair(const StHbtPair*);
43 
44  virtual StHbtString Report();
45  virtual void Finish();
46 
47 protected:
48  StHbtThPair* mThPair;
49  StHbtThCorrFctnCollection mThCorrFctnColl;
50 
51 #ifdef __ROOT__
52  ClassDef(StHbtThCFManager, 1)
53 #endif
54 };
55 
56 #endif