Add Reaction Plane aware analysis
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoModelCorrFctnSource.h
CommitLineData
ac830a3d 1////////////////////////////////////////////////////////////////////////////////
2/// ///
3/// AliFemtoModelCorrFctnSource - the class for correlation function which ///
4/// uses the model framework and weight generation and saves the generated ///
5/// emission source ///
6/// Authors: Adam Kisiel, kisiel@mps.ohio-state.edu ///
7/// ///
8////////////////////////////////////////////////////////////////////////////////
d92ed900 9#ifndef ALIFEMTOMODELCORRFCTNSOURCE_H
10#define ALIFEMTOMODELCORRFCTNSOURCE_H
ac830a3d 11
fee52126 12#include "TH2D.h"
65423af9 13#include "AliFemtoCorrFctn.h"
14#include "AliFemtoPair.h"
15#include "AliFemtoModelManager.h"
16#include "AliFemtoModelCorrFctn.h"
ac830a3d 17
18class AliFemtoModelCorrFctnSource: public AliFemtoModelCorrFctn {
19
20public:
21 AliFemtoModelCorrFctnSource();
22 AliFemtoModelCorrFctnSource(const char *title, Int_t aNbins, Double_t aQinvLo, Double_t aQinvHi);
23 AliFemtoModelCorrFctnSource(const AliFemtoModelCorrFctnSource& aCorrFctn);
24 virtual ~AliFemtoModelCorrFctnSource();
25
26 AliFemtoModelCorrFctnSource& operator=(const AliFemtoModelCorrFctnSource& aCorrFctn);
27
28 virtual AliFemtoString Report();
29
30 virtual void AddRealPair(AliFemtoPair* aPair);
31 virtual void AddMixedPair(AliFemtoPair* aPir);
32
33 virtual void Write();
0b3bd1ac 34 virtual TList* GetOutputList();
ac830a3d 35
65423af9 36 virtual AliFemtoModelCorrFctn* Clone();
ac830a3d 37
fee52126 38 void SetUseRPSelection(unsigned short aRPSel);
ac830a3d 39protected:
40
d92ed900 41 TH1D *fHistROut; // Distribution of Rout
42 TH1D *fHistRSide; // Distribution of Rside
43 TH1D *fHistRLong; // Distribution of Rlong
44 TH1D *fHistRStar; // Distribution of RStar
45 TH1D *fHistdNdR; // Distribution of RStar weighted by Jacobian
fee52126 46 TH2D *fHistNumWS; // Weight spread for numerator
47 TH2D *fHistDenWS; // Weight spread for denominator
ac830a3d 48
49private:
50
fee52126 51 unsigned short fUseRPSelection; // The pair cut uses RP selection
52
ac830a3d 53#ifdef __ROOT__
54 ClassDef(AliFemtoModelCorrFctnSource, 1)
55#endif
56};
57
58#endif