]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnValueDaughter.h
Added generalisation of y-cut for pairs
[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       kMass,       // mass
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
37       kDCAXY,       // DCA xy
38       kDCAZ,        // DCA z
39       kCharge,     // charge
40       kPhi,        // azimuthal angle at vertex
41       kPhiOuterTPC,// azimuthal angle at TPC outer radius
42       kV0DCA,       // V0 DCA 
43       kDaughterDCA, // DCA of V0 Daughters
44       kCosPointAng, // V0 Cosing of Pointing Angle
45       kLambdaProtonPIDCut,         //V0 - Lambda number of sigmas proton           
46       kAntiLambdaAntiProtonPIDCut, //V0 - AntiLambda number of sigmas antiproton        
47       kLambdaPionPIDCut,                  //V0 - Lambda number of sigmas pion   
48       kAntiLambdaAntiPionPIDCut,   //V0 - AntiLambda number of sigmas pion      
49       kTypes
50    };
51
52    AliRsnValueDaughter(const char *name = "valDaughter", EType type = kTypes);
53    AliRsnValueDaughter(const AliRsnValueDaughter &copy);
54    AliRsnValueDaughter &operator=(const AliRsnValueDaughter &copy);
55    virtual ~AliRsnValueDaughter() { }
56
57    void             SetType(EType type)  {fType = type;}
58    EType            GetType()     const  {return fType;}
59    const char      *GetTypeName() const;
60
61    virtual Bool_t   Eval(TObject *object);
62
63 protected:
64
65    EType           fType;                //  type from enumeration
66
67    ClassDef(AliRsnValueDaughter, 1)  // AliRsnValueDaughter class
68 };
69
70 #endif