Improvements in V0 classes
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemtoUser / AliFemtoCorrFctnDEtaDPhi.h
CommitLineData
76ce4b5b 1////////////////////////////////////////////////////////////////////////////////
2// //
3// AliFemtoCorrFctnDEtaDPhi - A correlation function that analyzes //
4// two particle correlations with respect to the azimuthal angle (phi) //
5// and pseudorapidity (eta) difference //
6// //
7// Authors: Adam Kisiel Adam.Kisiel@cern.ch //
8// //
9////////////////////////////////////////////////////////////////////////////////
10
11#ifndef ALIFEMTOCORRFCTNDETADPHI_H
12#define ALIFEMTOCORRFCTNDETADPHI_H
13
14#include "TH1D.h"
15#include "TH2D.h"
16#include "AliFemtoCorrFctn.h"
17
18class AliFemtoCorrFctnDEtaDPhi : public AliFemtoCorrFctn {
19public:
20 AliFemtoCorrFctnDEtaDPhi(char* title, const int& aPhiBins, const int& aEtaBins);
21 AliFemtoCorrFctnDEtaDPhi(const AliFemtoCorrFctnDEtaDPhi& aCorrFctn);
22 virtual ~AliFemtoCorrFctnDEtaDPhi();
23
24 AliFemtoCorrFctnDEtaDPhi& operator=(const AliFemtoCorrFctnDEtaDPhi& aCorrFctn);
25
26 virtual AliFemtoString Report();
27 virtual void AddRealPair(AliFemtoPair* aPair);
28 virtual void AddMixedPair(AliFemtoPair* aPair);
29
30 virtual void Finish();
31 void SetDoPtAnalysis(int do2d);
32
33 void WriteHistos();
34 virtual TList* GetOutputList();
35private:
36
37 TH2D *fDPhiDEtaNumerator; // Numerator of dEta dPhi function
38 TH2D *fDPhiDEtaDenominator; // Denominator of dEta dPhi function
39
40 TH1D *fDPhiNumerator; // Numerator of dPhi correlation
41 TH1D *fDPhiDenominator; // Denominator of dPhi correlation
42
43 TH1D *fDCosNumerator; // Numerator of colinearity correlation
44 TH1D *fDCosDenominator; // Denominator of colinearity correlation
45
46 int fDoPtAnalysis; // set to 1 to do 2D Pt analysis
47
48 TH2D *fDPhiPtNumerator; // Numerator of dPhi correlation vs. Pt min
49 TH2D *fDPhiPtDenominator; // Denominator of dPhi correlation vs. Pt min
50
51 TH2D *fDCosPtNumerator; // Numerator of colinearity correlation vs. Pt min
52 TH2D *fDCosPtDenominator; // Denominator of colinearity correlation vs. Pt min
53
973a91f8 54 TH1D *fPhi;
55 TH1D *fEta;
56
3b97e69c 57 TH2D *fYtYtNumerator;
58 TH2D *fYtYtDenominator;
59
60
76ce4b5b 61#ifdef __ROOT__
62 ClassDef(AliFemtoCorrFctnDEtaDPhi, 1)
63#endif
64};
65
66
67#endif
68