]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnValueDaughter.h
Fix for adding lego train path and removed unused macro
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnValueDaughter.h
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                               */
6
7 ////////////////////////////////////////////////////////////////////////////////
8 //
9 //  Values which depend on 4-momentum of the daughters.
10 //
11 ////////////////////////////////////////////////////////////////////////////////
12
13 #include "AliRsnValue.h"
14
15 class AliRsnValueDaughter : public AliRsnValue {
16 public:
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
26       kTPCnsigmaPi,// TPC number of sigmas pion
27       kTPCnsigmaK, // TPC number of sigmas kaon
28       kTPCnsigmaP, // TPC number of sigmas proton
29       kTOFnsigmaPi,// TOF number of sigmas pion
30       kTOFnsigmaK, // TOF number of sigmas kaon
31       kTOFnsigmaP, // TOF number of sigmas proton
32       kNITSclusters,  // n ITS clusters
33       kNTPCclusters,  // n TPC clusters
34       kITSchi2,    // ITS chi^2
35       kTPCchi2,    // TPC chi^2
36       kDCAXY,      // DCA xy
37       kDCAZ,       // DCA z
38       kTypes
39    };
40
41    AliRsnValueDaughter(const char *name = "valDaughter", EType type = kTypes);
42    AliRsnValueDaughter(const AliRsnValueDaughter &copy);
43    AliRsnValueDaughter &operator=(const AliRsnValueDaughter &copy);
44    virtual ~AliRsnValueDaughter() { }
45
46    void             SetType(EType type)  {fType = type;}
47    EType            GetType()     const  {return fType;}
48    const char      *GetTypeName() const;
49
50    virtual Bool_t   Eval(TObject *object);
51
52 protected:
53
54    EType           fType;                //  type from enumeration
55
56    ClassDef(AliRsnValueDaughter, 1)  // AliRsnValueDaughter class
57 };
58
59 #endif