]>
Commit | Line | Data |
---|---|---|
2895972e | 1 | #ifndef ALIRSNVALUEPAIR_H |
2 | #define ALIRSNVALUEPAIR_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
61f275d1 | 6 | |
2895972e | 7 | //////////////////////////////////////////////////////////////////////////////// |
8 | // | |
9 | // Values which depend on 4-momentum of the pair. | |
10 | // | |
11 | //////////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #include "AliRsnValue.h" | |
14 | ||
15 | class AliRsnValuePair : public AliRsnValue { | |
16 | public: | |
17 | ||
18 | enum EType { | |
19 | kPt, // pair transverse momentum | |
20 | kPz, // pair longitudinal momentum | |
21 | kInvMass, // pair invariant mass (with reconstructed momenta) | |
22 | kInvMassRes, // pair invariant mass resolution | |
23 | kEta, // pair pseudo-rapidity | |
24 | kMt, // pair transverse mass (need a reference mass) | |
25 | kY, // pair rapidity (need a reference mass) | |
26 | kPtRatio, // ratio |pt1 - pt2|/(pt1 + pt2) of daughter transverse momenta | |
27 | kDipAngle, // inverse cosine of the angle between daughter vector momenta | |
28 | kCosThetaStar, // polarization angle | |
b63357a0 | 29 | kAngleLeading, // angle to leading particle |
213adb92 | 30 | kDCAproduct, // product of the daughter's DCA |
2895972e | 31 | kTypes |
32 | }; | |
33 | ||
34 | AliRsnValuePair(const char *name = "valPair", EType type = kTypes); | |
61f275d1 | 35 | AliRsnValuePair(const AliRsnValuePair ©); |
36 | AliRsnValuePair &operator=(const AliRsnValuePair ©); | |
2895972e | 37 | virtual ~AliRsnValuePair() { } |
38 | ||
39 | void SetType(EType type) {fType = type;} | |
40 | EType GetType() const {return fType;} | |
61f275d1 | 41 | const char *GetTypeName() const; |
2895972e | 42 | |
43 | virtual Bool_t Eval(TObject *object); | |
44 | ||
45 | protected: | |
46 | ||
47 | EType fType; // type from enumeration | |
48 | ||
49 | ClassDef(AliRsnValuePair, 1) // AliRsnValuePair class | |
50 | }; | |
51 | ||
52 | #endif |