This commit was generated by cvs2svn to compensate for changes in r4472,
[u/mrichter/AliRoot.git] / HBTAN / AliHBTCorrelFctn.h
CommitLineData
1b446896 1#ifndef ALIHBTCORRELFUNCTION_H
2#define ALIHBTCORRELFUNCTION_H
3
4#include "AliHBTFunction.h"
5#include "AliHBTParticle.h"
6//Set of functions:
7// Q Invaraint Correlation Function
8// Invariant Mass Function
9//
10//more info: http://alisoft.cern.ch/people/skowron/analyzer/index.html
11//Piotr.Skowronski@cern.ch
12
13
14class AliHBTQInvCorrelFctn: public AliHBTTwoPartFctn1D
15{
16//Q Invaraint Correlation Function
17//1D two particle function
18 public:
19 AliHBTQInvCorrelFctn(Int_t nbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0):
20 AliHBTTwoPartFctn1D(nbins,maxXval,minXval){}
21 virtual ~AliHBTQInvCorrelFctn(){};
22 TH1* GetResult();
23 protected:
24 Double_t GetValue(AliHBTPair * pair){return pair->GetQInv();}
25 public:
26 ClassDef(AliHBTQInvCorrelFctn,1)
27
28};
29
30
31class AliHBTInvMassCorrelFctn: public AliHBTTwoPartFctn1D
32{
33// Invariant Mass Function
34 public:
35 AliHBTInvMassCorrelFctn(Int_t nbins = 2000, Double_t maxXval = 2., Double_t minXval = 0.0);
36 virtual ~AliHBTInvMassCorrelFctn(){};
37 TH1* GetResult();
38 protected:
39 Double_t GetValue(AliHBTPair * pair) { return pair->GetInvMass();}
40 public:
41 ClassDef(AliHBTInvMassCorrelFctn,1)
42
43};
44
45
46
47#endif