1 #ifndef ALIHBTWEIGHTNONID3DTHEORCORRFCTN_H
2 #define ALIHBTWEIGHTNONID3DTHEORCORRFCTN_H
4 ///////////////////////////////////////////////////////
6 // AliHBTWeightNonId3DCorrFctn.h //
8 // Class for calculating 3D non-id correlation //
9 // functions using method of weights //
11 ///////////////////////////////////////////////////////
13 #include "AliHBTFunction.h"
18 class AliHBTWeightNonId3DTheorCorrFctn: public AliHBTOnePairFctn1D
21 AliHBTWeightNonId3DTheorCorrFctn(const char* name = "nonid3DCF",
22 const char* title= "3D Non-Id Theoretical Correlation Function");
24 AliHBTWeightNonId3DTheorCorrFctn(const char* name, const char* title,
25 Int_t nbinsX, Float_t maxXval, Float_t minXval);
26 AliHBTWeightNonId3DTheorCorrFctn(const AliHBTWeightNonId3DTheorCorrFctn& in);
28 virtual ~AliHBTWeightNonId3DTheorCorrFctn();
30 void Init(); // InitFunction();
31 void ProcessSameEventParticles(AliHBTPair* partpair);
32 void ProcessDiffEventParticles(AliHBTPair* partpair);
40 Double_t GetValue(AliHBTPair* partpair) {return partpair->GetQInv();}
41 void BuildHistos(Int_t nbins, Float_t max, Float_t min);
50 TH1D* fWeightRatOutNOverP;
52 TH1D* fWeightNumSideP;
53 TH1D* fWeightDenSideP;
54 TH1D* fWeightRatSideP;
55 TH1D* fWeightNumSideN;
56 TH1D* fWeightDenSideN;
57 TH1D* fWeightRatSideN;
59 TH1D* fWeightRatSideNOverP;
61 TH1D* fWeightNumLongP;
62 TH1D* fWeightDenLongP;
63 TH1D* fWeightRatLongP;
64 TH1D* fWeightNumLongN;
65 TH1D* fWeightDenLongN;
66 TH1D* fWeightRatLongN;
68 TH1D* fWeightRatLongNOverP;
73 ClassDef(AliHBTWeightNonId3DTheorCorrFctn,1)