Making the directory structure of AliFemtoUser flat. All files go into one common...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoShareQualityCorrFctn.h
CommitLineData
0215f606 1////////////////////////////////////////////////////////////////////////////////
2/// ///
3/// AliFemtoShareQualityCorrFctn - A correlation function that saves the ///
4/// amount of sharing and splitting hits per pair as a function of qinv ///
5/// Authors: Adam Kisiel kisiel@mps.ohio-state.edu ///
6/// ///
7////////////////////////////////////////////////////////////////////////////////
67427ff7 8
9#ifndef AliFemtoShareQualityCorrFctn_hh
10#define AliFemtoShareQualityCorrFctn_hh
11
12#include "TH1D.h"
13#include "TH2D.h"
65423af9 14#include "AliFemtoCorrFctn.h"
67427ff7 15
16class AliFemtoShareQualityCorrFctn : public AliFemtoCorrFctn {
17public:
18 AliFemtoShareQualityCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
0215f606 19 AliFemtoShareQualityCorrFctn(const AliFemtoShareQualityCorrFctn& aCorrFctn);
67427ff7 20 virtual ~AliFemtoShareQualityCorrFctn();
21
0215f606 22 AliFemtoShareQualityCorrFctn& operator=(const AliFemtoShareQualityCorrFctn& aCorrFctn);
23
67427ff7 24 virtual AliFemtoString Report();
65423af9 25 virtual void AddRealPair(AliFemtoPair*);
26 virtual void AddMixedPair(AliFemtoPair*);
67427ff7 27
28 virtual void Finish();
29
30 void WriteHistos();
31private:
32
33 TH2D *fShareNumerator;
34 TH2D *fShareDenominator;
35
36 TH2D *fQualityNumerator;
37 TH2D *fQualityDenominator;
38
39#ifdef __ROOT__
40 ClassDef(AliFemtoShareQualityCorrFctn, 1)
41#endif
42};
43
44
45#endif
46