1 #ifndef ALIRSNVALUEPAIR_H
2 #define ALIRSNVALUEPAIR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////////////
9 // Values which depend on 4-momentum of the pair.
11 ////////////////////////////////////////////////////////////////////////////////
13 #include "AliRsnValue.h"
15 class AliRsnValuePair : public AliRsnValue {
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
29 kAngleLeading, // angle to leading particle
33 AliRsnValuePair(const char *name = "valPair", EType type = kTypes);
34 AliRsnValuePair(const AliRsnValuePair ©);
35 AliRsnValuePair &operator=(const AliRsnValuePair ©);
36 virtual ~AliRsnValuePair() { }
38 void SetType(EType type) {fType = type;}
39 EType GetType() const {return fType;}
40 const char *GetTypeName() const;
42 virtual Bool_t Eval(TObject *object);
46 EType fType; // type from enumeration
48 ClassDef(AliRsnValuePair, 1) // AliRsnValuePair class