]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIHBTCORRFITFCTN_H | |
2 | #define ALIHBTCORRFITFCTN_H | |
3 | ||
4 | //____________________________________________________________ | |
5 | /////////////////////////////////////////////////////////////// | |
6 | // // | |
7 | // class AliHBTCorrFitFctn // | |
8 | // // | |
9 | // // | |
10 | /////////////////////////////////////////////////////////////// | |
11 | ||
12 | #include "AliHBTFunction.h" | |
13 | #include <TNtuple.h> | |
14 | ||
15 | class AliHBTCorrFitFctn: public AliHBTOnePairFctn1D | |
16 | { | |
17 | //Q Invaraint Correlation Function | |
18 | //It writes Ntuple that is input for CorrFit | |
19 | public: | |
20 | AliHBTCorrFitFctn(); | |
21 | AliHBTCorrFitFctn(Int_t fit, Int_t norm); | |
22 | virtual ~AliHBTCorrFitFctn(){delete fNtuple;} | |
23 | void ProcessSameEventParticles(AliHBTPair* trackpair); | |
24 | void ProcessDiffEventParticles(AliHBTPair* trackpair); | |
25 | ||
26 | TH1* GetResult(); | |
27 | virtual Int_t WriteFunction(); | |
28 | ||
29 | void SetMaxNumberOfPairs(Int_t fit, Int_t norm){fNMaxPairsFitArea = fit; fNMaxPairsNormArea = norm;} | |
30 | void SetFitRange(Float_t max) {fFitRangeMax = max;} | |
31 | void SetNormalizationRange(Float_t min, Float_t max) { fNormRangeMin = min; fNormRangeMax= max;} | |
32 | protected: | |
33 | Double_t GetValue(AliHBTPair* /*trackpair*/) const {return 0.0;}//not usable | |
34 | ||
35 | TNtuple* fNtuple;//ntuple for storig pairs | |
36 | ||
37 | Int_t fNPairsFitArea;//current number of pairs in fitting area | |
38 | Int_t fNMaxPairsFitArea;//current number of pairs in fitting area | |
39 | Float_t fFitRangeMax; | |
40 | ||
41 | Int_t fNPairsNormArea;//number of pairs in normalization area | |
42 | Int_t fNMaxPairsNormArea;//number of pairs in normalization area | |
43 | Float_t fNormRangeMin; | |
44 | Float_t fNormRangeMax; | |
45 | public: | |
46 | ClassDef(AliHBTCorrFitFctn,1) | |
47 | }; | |
48 | ||
49 | #endif |