]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/RESONANCES/AliRsnValueDaughter.h
Fix in AddTaskXiStar to remove physics selection (not needed)
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnValueDaughter.h
CommitLineData
2895972e 1#ifndef ALIRSNVALUEDAUGHTER_H
2#define ALIRSNVALUEDAUGHTER_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 daughters.
10//
11////////////////////////////////////////////////////////////////////////////////
12
13#include "AliRsnValue.h"
14
15class AliRsnValueDaughter : public AliRsnValue {
16public:
17
18 enum EType {
19 kP, // total momentum
20 kPt, // transverse momentum
21 kPtpc, // total momentum in the TPC inner wall
22 kEta, // pseudo-rapidity
23 kITSsignal, // ITS signal
24 kTPCsignal, // TPC signal
25 kTOFsignal, // TOF signal
cceb9957 26 kTPCnsigmaPi,// TPC number of sigmas pion
27 kTPCnsigmaK, // TPC number of sigmas kaon
28 kTPCnsigmaP, // TPC number of sigmas proton
b63357a0 29 kTOFnsigmaPi,// TOF number of sigmas pion
30 kTOFnsigmaK, // TOF number of sigmas kaon
31 kTOFnsigmaP, // TOF number of sigmas proton
2895972e 32 kTypes
33 };
34
35 AliRsnValueDaughter(const char *name = "valDaughter", EType type = kTypes);
61f275d1 36 AliRsnValueDaughter(const AliRsnValueDaughter &copy);
37 AliRsnValueDaughter &operator=(const AliRsnValueDaughter &copy);
2895972e 38 virtual ~AliRsnValueDaughter() { }
39
40 void SetType(EType type) {fType = type;}
41 EType GetType() const {return fType;}
61f275d1 42 const char *GetTypeName() const;
2895972e 43
44 virtual Bool_t Eval(TObject *object);
45
46protected:
47
48 EType fType; // type from enumeration
49
50 ClassDef(AliRsnValueDaughter, 1) // AliRsnValueDaughter class
51};
52
53#endif