StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Th3DQCorrFctn.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 Th3DQCorrFctn_hh
17 #define Th3DQCorrFctn_hh
18 
19 #include "StHbtMaker/Base/StHbtRoot1DCF.hh"
20 #include "StHbtMaker/Base/StHbtThCorrFctn.hh"
21 
22 class StHbtThPair;
23 
24 class Th3DQCorrFctn : public virtual StHbtThCorrFctn ,public virtual StHbtRoot1DCF {
25  public:
26  Th3DQCorrFctn(char* aTitle, int aNBins,
27  double aHLo, double aHHi);
28  Th3DQCorrFctn(const Th3DQCorrFctn& ThCf);
29 
30  virtual ~Th3DQCorrFctn();
31 
32  void AddNum(StHbtThPair*);
33  void AddDen(StHbtThPair*);
34 
35  virtual 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  private:
44 
45  StHbt1DHisto* qOutdist;
46  StHbt1DHisto* qOutSdist;
47  StHbt1DHisto* DeltaqOutdist;
48 
49  StHbt1DHisto* qSidedist;
50  StHbt1DHisto* qSideSdist;
51  StHbt1DHisto* DeltaqSidedist;
52 
53  StHbt1DHisto* qLongdist;
54  StHbt1DHisto* qLongSdist;
55  StHbt1DHisto* DeltaqLongdist;
56 
57 
58 #ifdef __ROOT__
59 ClassDef(Th3DQCorrFctn, 1)
60 #endif
61 };
62 
63 #endif