]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/RESONANCES/AliRsnValuePair.h
fixing psi in MC from the header
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnValuePair.h
CommitLineData
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
15class AliRsnValuePair : public AliRsnValue {
16public:
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
2895972e 30 kTypes
31 };
32
33 AliRsnValuePair(const char *name = "valPair", EType type = kTypes);
61f275d1 34 AliRsnValuePair(const AliRsnValuePair &copy);
35 AliRsnValuePair &operator=(const AliRsnValuePair &copy);
2895972e 36 virtual ~AliRsnValuePair() { }
37
38 void SetType(EType type) {fType = type;}
39 EType GetType() const {return fType;}
61f275d1 40 const char *GetTypeName() const;
2895972e 41
42 virtual Bool_t Eval(TObject *object);
43
44protected:
45
46 EType fType; // type from enumeration
47
48 ClassDef(AliRsnValuePair, 1) // AliRsnValuePair class
49};
50
51#endif