]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnValueDaughter.h
Commit for Simone - Changed bin size and phi calculation
[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       kY,          // rapidity
24       kMass,       // mass
25       kITSsignal,  // ITS signal
26       kTPCsignal,  // TPC signal
27       kTOFsignal,  // TOF signal
28       kTPCnsigmaPi,// TPC number of sigmas pion
29       kTPCnsigmaK, // TPC number of sigmas kaon
30       kTPCnsigmaP, // TPC number of sigmas proton
31       kTOFnsigmaPi,// TOF number of sigmas pion
32       kTOFnsigmaK, // TOF number of sigmas kaon
33       kTOFnsigmaP, // TOF number of sigmas proton
34       kTOFdeltaPi, // TOF t-texp for pion hypothesis
35       kTOFdeltaK, // TOF t-texp for pion hypothesis
36       kTOFdeltaP, // TOF t-texp for pion hypothesis
37       kNITSclusters,  // n ITS clusters
38       kNTPCclusters,  // n TPC clusters
39       kNTPCcrossedRows,  // n TPC crossed rows
40       kNTPCcrossedRowsFclusters,  // n TPC crossed rows over findable clusters
41       kITSchi2,     // ITS chi^2
42       kTPCchi2,     // TPC chi^2
43       kDCAXY,       // DCA xy
44       kDCAZ,        // DCA z
45       kCharge,     // charge
46       kPhi,        // azimuthal angle at vertex
47       kPhiOuterTPC,// azimuthal angle at TPC outer radius
48       kV0DCA,       // V0 DCA 
49       kV0Radius,       // V0 radius
50       kV0Mass,       // V0 mass 
51       kV0P,       // V0 momentum
52       kV0Pt,       // V0 transverse momentum
53       kDaughterDCA, // DCA of V0 Daughters
54       kCosPointAng, // V0 Cosing of Pointing Angle
55       kLambdaProtonPIDCut,         //V0 - Lambda number of sigmas proton           
56       kAntiLambdaAntiProtonPIDCut, //V0 - AntiLambda number of sigmas antiproton        
57       kLambdaPionPIDCut,                  //V0 - Lambda number of sigmas pion   
58       kAntiLambdaAntiPionPIDCut,   //V0 - AntiLambda number of sigmas pion      
59       kTypes
60    };
61
62    AliRsnValueDaughter(const char *name = "valDaughter", EType type = kTypes);
63    AliRsnValueDaughter(const AliRsnValueDaughter &copy);
64    AliRsnValueDaughter &operator=(const AliRsnValueDaughter &copy);
65    virtual ~AliRsnValueDaughter() { }
66
67    void             SetType(EType type)  {fType = type;}
68    EType            GetType()     const  {return fType;}
69    const char      *GetTypeName() const;
70
71    virtual Bool_t   Eval(TObject *object);
72
73 protected:
74
75    EType           fType;                //  type from enumeration
76
77    ClassDef(AliRsnValueDaughter, 1)  // AliRsnValueDaughter class
78 };
79
80 #endif