StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ThQinvCorrFctn.h
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Laurent Conin, Fabrice Retiere, Subatech, France
6  ***************************************************************************
7  *
8  * Description : Calculate the theoretical QInv correlation function
9  *
10  ***************************************************************************
11  *
12  *
13  *
14  ***************************************************************************/
15 
16 #ifndef ThQinvCorrFctn_hh
17 #define ThQinvCorrFctn_hh
18 
19 #include "StHbtMaker/Base/StHbtRoot1DCF.hh"
20 #include "StHbtMaker/Base/StHbtThCorrFctn.hh"
21 
22 class StHbtThPair;
23 
24 class ThQinvCorrFctn : public virtual StHbtThCorrFctn ,public virtual StHbtRoot1DCF {
25  public:
26  ThQinvCorrFctn(char* aTitle, int aNBins,
27  double aHLo, double aHHi);
28  ThQinvCorrFctn(const ThQinvCorrFctn& ThCf);
29 
30  virtual ~ThQinvCorrFctn();
31 
32  void AddNum(StHbtThPair*);
33  void AddDen(StHbtThPair*);
34 
35  StHbtThCorrFctn* ThClone() const ;
36 
37  virtual StHbt1DHisto* Numerator() const ;
38  virtual StHbt1DHisto* Denominator() const ;
39  virtual StHbt1DHisto* Ratio() const ;
40  virtual void Write() ;
41  virtual void Finish();
42 
43 #ifdef __ROOT__
44 ClassDef(ThQinvCorrFctn, 1)
45 #endif
46 };
47 
48 #endif