Retrofeed from the Release developement
[u/mrichter/AliRoot.git] / HBTAN / AliHBTWeights.h
CommitLineData
dd82cadc 1#ifndef ALIHBTWEIGHTS_H
2#define ALIHBTWEIGHTS_H
3
4#include <TObject.h>
5
6class AliHBTPair;
7
8class AliHBTWeights: public TObject
9 {
10 public:
11 virtual ~AliHBTWeights();
1a1e58ac 12 static Double_t Weight(AliHBTPair* partpair){return (fgWeights)?fgWeights->GetWeight(partpair):0.0;}
13 virtual Double_t GetWeight(AliHBTPair* partpair) = 0;
dd82cadc 14 virtual void Set() = 0;
15 static AliHBTWeights* Instance() {return fgWeights;}
16
17 protected:
18 static AliHBTWeights* fgWeights;
19
53c30a2e 20 ClassDef(AliHBTWeights,2)
dd82cadc 21 };
22
23#endif