]>
Commit | Line | Data |
---|---|---|
1b446896 | 1 | #ifndef ALIHBTPAIR_H |
2 | #define ALIHBTPAIR_H | |
58ee8590 | 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://alisoft.cern.ch/people/skowron/analyzer/index.html | |
11 | // | |
12 | //////////////////////////////////////////////////////////////////////////// | |
1b446896 | 13 | |
78d7c6d3 | 14 | #include <AliAODPair.h> |
58ee8590 | 15 | |
78d7c6d3 | 16 | class AliVAODParticle; |
1b446896 | 17 | |
78d7c6d3 | 18 | class AliHBTPair: public AliAODPair |
1b446896 | 19 | { |
20 | public: | |
21 | AliHBTPair(Bool_t rev = kFALSE); //contructor | |
78d7c6d3 | 22 | AliHBTPair(AliVAODParticle* part1, AliVAODParticle* part2, Bool_t rev = kFALSE); //contructor |
d012b7d0 | 23 | AliHBTPair(const AliHBTPair& in); |
24 | ||
4ca0f301 | 25 | virtual ~AliHBTPair(){} |
d012b7d0 | 26 | |
34914285 | 27 | AliHBTPair& operator=(const AliHBTPair& in); |
1b446896 | 28 | |
78d7c6d3 | 29 | void Changed(); |
30 | Double_t GetWeight(); | |
1b446896 | 31 | |
78d7c6d3 | 32 | protected: |
47d9a058 | 33 | |
58ee8590 | 34 | Double_t fWeight;//Value of the weight |
35 | Bool_t fWeightNotCalc;//flag indicating if fWeight is calculated for current pair | |
36 | ||
1b446896 | 37 | private: |
53c30a2e | 38 | ClassDef(AliHBTPair,2) |
1b446896 | 39 | }; |
1b446896 | 40 | |
ec6e4013 | 41 | inline |
42 | void AliHBTPair::Changed() | |
43 | { | |
44 | // Resel all calculations (flags) | |
1b446896 | 45 | |
78d7c6d3 | 46 | AliAODPair::Changed(); |
47 | fWeightNotCalc = kTRUE; | |
7836ee94 | 48 | } |
1b446896 | 49 | #endif |