]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctn3DSpherical.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemtoUser / AliFemtoModelCorrFctn3DSpherical.h
CommitLineData
76ce4b5b 1///////////////////////////////////////////////////////////////////////////
2// //
3// AliFemtoModelCorrFctn3DSpherical: a class to calculate 3D correlation //
4// for pairs of identical particles, binned in spherical coordinates //
5// (q_inv, phi, cos(theta)) //
6// //
7///////////////////////////////////////////////////////////////////////////
8
9#ifndef ALIFEMTOMODELCORRFCTN3DSPHERICAL_H
10#define ALIFEMTOMODELCORRFCTN3DSPHERICAL_H
11
12#include "AliFemtoModelCorrFctn.h"
13#include "AliFemtoPairCut.h"
14#include "TH3D.h"
15
16class AliFemtoModelCorrFctn3DSpherical : public AliFemtoModelCorrFctn {
17public:
18 AliFemtoModelCorrFctn3DSpherical(char* title,
19 const int& nqbins, const float& QLo, const float& QHi,
20 const int& nphibins, const int& ncthetabins);
21 AliFemtoModelCorrFctn3DSpherical(const AliFemtoModelCorrFctn3DSpherical& aCorrFctn);
22 virtual ~AliFemtoModelCorrFctn3DSpherical();
23
24 AliFemtoModelCorrFctn3DSpherical& operator=(const AliFemtoModelCorrFctn3DSpherical& aCorrFctn);
25
26 virtual AliFemtoString Report();
27 virtual void AddRealPair( AliFemtoPair* aPair);
28 virtual void AddMixedPair( AliFemtoPair* aPair);
29
30 virtual void Finish();
31
32 void WriteOutHistos();
33 virtual TList* GetOutputList();
34
35 void SetSpecificPairCut(AliFemtoPairCut* aCut);
36
37private:
38 // here are a whole bunch of histos that get filled if we do resolution correction
39 TH3D* fTrueNumeratorSph; // numerator
40 TH3D* fFakeNumeratorSph; // numerator
41 TH3D* fDenominatorSph; // denominator
42
43 AliFemtoPairCut* fPairCut; //! this is a PairCut specific to THIS CorrFctn, not the Analysis
44
45#ifdef __ROOT__
46 ClassDef(AliFemtoModelCorrFctn3DSpherical, 1)
47#endif
48};
49
50inline void AliFemtoModelCorrFctn3DSpherical::SetSpecificPairCut(AliFemtoPairCut* pc){fPairCut=pc;}
51
52#endif
53