]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FEMTOSCOPY/AliFemto/AliFemtoQinvCorrFctn.h
More coding rule conformance
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoQinvCorrFctn.h
CommitLineData
67427ff7 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$
d92ed900 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 *
d0e92d9a 17 * Revision 1.2 2007/05/03 09:40:42 akisiel
18 * Fixing Effective C++ warnings
19 *
0215f606 20 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
21 * Importing the HBT code dir
22 *
67427ff7 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
d92ed900 46#ifndef ALIFEMTOQINVCORRFCTN_H
47#define ALIFEMTOQINVCORRFCTN_H
67427ff7 48
49#include "TH1D.h"
d0e92d9a 50#include "AliFemtoCorrFctn.h"
67427ff7 51
52class AliFemtoQinvCorrFctn : public AliFemtoCorrFctn {
53public:
54 AliFemtoQinvCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
0215f606 55 AliFemtoQinvCorrFctn(const AliFemtoQinvCorrFctn& aCorrFctn);
67427ff7 56 virtual ~AliFemtoQinvCorrFctn();
57
0215f606 58 AliFemtoQinvCorrFctn& operator=(const AliFemtoQinvCorrFctn& aCorrFctn);
59
67427ff7 60 virtual AliFemtoString Report();
d92ed900 61 virtual void AddRealPair(AliFemtoPair* aPair);
62 virtual void AddMixedPair(AliFemtoPair* aPair);
67427ff7 63
64 virtual void Finish();
65
66 TH1D* Numerator();
67 TH1D* Denominator();
68 TH1D* Ratio();
69
70private:
d92ed900 71 TH1D* fNumerator; // numerator - real pairs
72 TH1D* fDenominator; // denominator - mixed pairs
73 TH1D* fRatio; // ratio - correlation function
67427ff7 74
75#ifdef __ROOT__
76 ClassDef(AliFemtoQinvCorrFctn, 1)
77#endif
78};
79
80inline TH1D* AliFemtoQinvCorrFctn::Numerator(){return fNumerator;}
81inline TH1D* AliFemtoQinvCorrFctn::Denominator(){return fDenominator;}
82inline TH1D* AliFemtoQinvCorrFctn::Ratio(){return fRatio;}
83
84
85#endif
86