]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGCF/FEMTOSCOPY/AliFemto/AliFemtoQinvCorrFctn.h
modified Azimuthal HBT analysis (Vera R. Loggins <veraloggins@wayne.edu>)
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemto / AliFemtoQinvCorrFctn.h
CommitLineData
76ce4b5b 1/***************************************************************************
2 *
3 * $Id$
4 *
5 * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6 ***************************************************************************
7 *
8 * Description: part of STAR HBT Framework: AliFemtoMaker package
9 * a simple Q-invariant correlation function
10 *
11 ***************************************************************************
12 *
13 * $Log$
14 * Revision 1.1 2007/05/16 10:22:11 akisiel
15 * Making the directory structure of AliFemto flat. All files go into one common directory
16 *
17 * Revision 1.2 2007/05/03 09:40:42 akisiel
18 * Fixing Effective C++ warnings
19 *
20 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
21 * Importing the HBT code dir
22 *
23 * Revision 1.1.1.1 2007/03/07 10:14:49 mchojnacki
24 * First version on CVS
25 *
26 * Revision 1.3 2000/01/25 17:34:45 laue
27 * I. In order to run the stand alone version of the AliFemtoMaker the following
28 * changes have been done:
29 * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
30 * b) unnecessary includes of StMaker.h have been removed
31 * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything
32 * needed for the stand alone version
33 *
34 * II. To reduce the amount of compiler warning
35 * a) some variables have been type casted
36 * b) some destructors have been declared as virtual
37 *
38 * Revision 1.2 1999/07/06 22:33:20 lisa
39 * Adjusted all to work in pro and new - dev itself is broken
40 *
41 * Revision 1.1.1.1 1999/06/29 16:02:57 lisa
42 * Installation of AliFemtoMaker
43 *
44 **************************************************************************/
45
46#ifndef ALIFEMTOQINVCORRFCTN_H
47#define ALIFEMTOQINVCORRFCTN_H
48
49#include "TH1D.h"
50#include "AliFemtoCorrFctn.h"
51
52class AliFemtoQinvCorrFctn : public AliFemtoCorrFctn {
53public:
54 AliFemtoQinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
55 AliFemtoQinvCorrFctn(const AliFemtoQinvCorrFctn& aCorrFctn);
56 virtual ~AliFemtoQinvCorrFctn();
57
58 AliFemtoQinvCorrFctn& operator=(const AliFemtoQinvCorrFctn& aCorrFctn);
59
60 virtual AliFemtoString Report();
61 virtual void AddRealPair(AliFemtoPair* aPair);
62 virtual void AddMixedPair(AliFemtoPair* aPair);
63
64 virtual void Finish();
65
66 TH1D* Numerator();
67 TH1D* Denominator();
68 TH1D* Ratio();
69
70 virtual TList* GetOutputList();
71 void Write();
72
73private:
74 TH1D* fNumerator; // numerator - real pairs
75 TH1D* fDenominator; // denominator - mixed pairs
76 TH1D* fRatio; // ratio - correlation function
77 TH1D* fkTMonitor; // Monitor the kT of pairs in the function
78
79#ifdef __ROOT__
80 ClassDef(AliFemtoQinvCorrFctn, 1)
81#endif
82};
83
84inline TH1D* AliFemtoQinvCorrFctn::Numerator(){return fNumerator;}
85inline TH1D* AliFemtoQinvCorrFctn::Denominator(){return fDenominator;}
86inline TH1D* AliFemtoQinvCorrFctn::Ratio(){return fRatio;}
87
88
89#endif
90