1 #ifndef ALIRSNVALUEDAUGHTER_H
2 #define ALIRSNVALUEDAUGHTER_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 daughters.
11 ////////////////////////////////////////////////////////////////////////////////
13 #include "AliRsnValue.h"
15 class AliRsnValueDaughter : public AliRsnValue {
20 kPt, // transverse momentum
21 kPtpc, // total momentum in the TPC inner wall
22 kEta, // pseudo-rapidity
24 kITSsignal, // ITS signal
25 kTPCsignal, // TPC signal
26 kTOFsignal, // TOF signal
27 kTPCnsigmaPi,// TPC number of sigmas pion
28 kTPCnsigmaK, // TPC number of sigmas kaon
29 kTPCnsigmaP, // TPC number of sigmas proton
30 kTOFnsigmaPi,// TOF number of sigmas pion
31 kTOFnsigmaK, // TOF number of sigmas kaon
32 kTOFnsigmaP, // TOF number of sigmas proton
33 kNITSclusters, // n ITS clusters
34 kNTPCclusters, // n TPC clusters
35 kITSchi2, // ITS chi^2
36 kTPCchi2, // TPC chi^2
42 AliRsnValueDaughter(const char *name = "valDaughter", EType type = kTypes);
43 AliRsnValueDaughter(const AliRsnValueDaughter ©);
44 AliRsnValueDaughter &operator=(const AliRsnValueDaughter ©);
45 virtual ~AliRsnValueDaughter() { }
47 void SetType(EType type) {fType = type;}
48 EType GetType() const {return fType;}
49 const char *GetTypeName() const;
51 virtual Bool_t Eval(TObject *object);
55 EType fType; // type from enumeration
57 ClassDef(AliRsnValueDaughter, 1) // AliRsnValueDaughter class