]>
Commit | Line | Data |
---|---|---|
cbcc22b0 | 1 | #ifndef ALIHBTWEIGHTNONID3DCORRFCTN_H |
2 | #define ALIHBTWEIGHTNONID3DCORRFCTN_H | |
3 | ||
4 | /////////////////////////////////////////////////////// | |
5 | // // | |
6 | // AliHBTWeightNonId3DCorrFctn.h // | |
7 | // // | |
8 | // Class for calculating 3D non-id correlation // | |
9 | // functions using method of weights // | |
10 | // // | |
11 | /////////////////////////////////////////////////////// | |
12 | ||
13 | #include "AliHBTFunction.h" | |
14 | ||
15 | ||
16 | class AliHBTWeights; | |
17 | ||
18 | class AliHBTWeightNonId3DCorrFctn: public AliHBTTwoPairFctn1D | |
19 | { | |
20 | public: | |
21 | AliHBTWeightNonId3DCorrFctn(const char* name = "nonid3DCF", | |
22 | const char* title= "3D Non-Id Correlation Function"); | |
23 | ||
24 | AliHBTWeightNonId3DCorrFctn(const char* name, const char* title, | |
25 | Int_t nbinsX, Float_t maxXval, Float_t minXval); | |
26 | AliHBTWeightNonId3DCorrFctn(const AliHBTWeightNonId3DCorrFctn& in); | |
27 | ||
28 | virtual ~AliHBTWeightNonId3DCorrFctn(); | |
29 | ||
30 | void Init(); // InitFunction(); | |
31 | void ProcessSameEventParticles(AliHBTPair* trackpair, AliHBTPair* partpair); | |
32 | void ProcessDiffEventParticles(AliHBTPair* trackpair, AliHBTPair* partpair); | |
33 | ||
34 | void WriteFunction(); | |
35 | ||
36 | TH1* GetResult(); | |
37 | ||
38 | protected: | |
39 | ||
40 | Double_t GetValue(AliHBTPair* trackpair, AliHBTPair* partpair) {return trackpair->GetQInv()-partpair->GetQInv();} | |
41 | void BuildHistos(Int_t nbins, Float_t max, Float_t min); | |
42 | ||
43 | TH1D* fWeightNumOutP; | |
44 | TH1D* fWeightDenOutP; | |
45 | TH1D* fWeightRatOutP; | |
46 | TH1D* fWeightNumOutN; | |
47 | TH1D* fWeightDenOutN; | |
48 | TH1D* fWeightRatOutN; | |
49 | TH1D* fWeightRatOut; | |
50 | TH1D* fWeightRatOutNOverP; | |
51 | ||
52 | TH1D* fWeightNumSideP; | |
53 | TH1D* fWeightDenSideP; | |
54 | TH1D* fWeightRatSideP; | |
55 | TH1D* fWeightNumSideN; | |
56 | TH1D* fWeightDenSideN; | |
57 | TH1D* fWeightRatSideN; | |
58 | TH1D* fWeightRatSide; | |
59 | TH1D* fWeightRatSideNOverP; | |
60 | ||
61 | TH1D* fWeightNumLongP; | |
62 | TH1D* fWeightDenLongP; | |
63 | TH1D* fWeightRatLongP; | |
64 | TH1D* fWeightNumLongN; | |
65 | TH1D* fWeightDenLongN; | |
66 | TH1D* fWeightRatLongN; | |
67 | TH1D* fWeightRatLong; | |
68 | TH1D* fWeightRatLongNOverP; | |
69 | ||
70 | ||
71 | private: | |
72 | ||
73 | ClassDef(AliHBTWeightNonId3DCorrFctn,1) | |
74 | }; | |
75 | ||
76 | #endif |