]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - HBTAN/AliHBTPair.h
addin Read ESD macro
[u/mrichter/AliRoot.git] / HBTAN / AliHBTPair.h
... / ...
CommitLineData
1#ifndef ALIHBTPAIR_H
2#define ALIHBTPAIR_H
3//_________________________________________________________________________
4///////////////////////////////////////////////////////////////////////////
5//
6// class AliHBTPair
7//
8// class implements pair of particles and taking care of caluclation (almost)
9// all of pair properties (Qinv, InvMass,...)
10// more info: http://aliweb.cern.ch/people/skowron/analyzer/index.html
11//
12////////////////////////////////////////////////////////////////////////////
13
14#include <AliAODPair.h>
15
16class AliVAODParticle;
17
18class AliHBTPair: public AliAODPair
19{
20 public:
21 AliHBTPair(Bool_t rev = kFALSE); //contructor
22 AliHBTPair(AliVAODParticle* part1, AliVAODParticle* part2, Bool_t rev = kFALSE); //contructor
23 AliHBTPair(const AliHBTPair& in);
24
25 virtual ~AliHBTPair(){}
26
27 AliHBTPair& operator=(const AliHBTPair& in);
28
29 void Changed();
30 Double_t GetWeight();
31
32 protected:
33
34 Double_t fWeight;//Value of the weight
35 Bool_t fWeightNotCalc;//flag indicating if fWeight is calculated for current pair
36
37 private:
38 ClassDef(AliHBTPair,2)
39};
40
41inline
42void AliHBTPair::Changed()
43{
44 // Resel all calculations (flags)
45
46 AliAODPair::Changed();
47 fWeightNotCalc = kTRUE;
48}
49#endif