]>
Commit | Line | Data |
---|---|---|
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 | ||
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 | |
b154f736 | 23 | kMass, // mass |
2895972e | 24 | kITSsignal, // ITS signal |
25 | kTPCsignal, // TPC signal | |
26 | kTOFsignal, // TOF signal | |
cceb9957 | 27 | kTPCnsigmaPi,// TPC number of sigmas pion |
28 | kTPCnsigmaK, // TPC number of sigmas kaon | |
29 | kTPCnsigmaP, // TPC number of sigmas proton | |
b63357a0 | 30 | kTOFnsigmaPi,// TOF number of sigmas pion |
31 | kTOFnsigmaK, // TOF number of sigmas kaon | |
32 | kTOFnsigmaP, // TOF number of sigmas proton | |
a83bcf6e | 33 | kNITSclusters, // n ITS clusters |
34 | kNTPCclusters, // n TPC clusters | |
92932daf | 35 | kITSchi2, // ITS chi^2 |
36 | kTPCchi2, // TPC chi^2 | |
37 | kDCAXY, // DCA xy | |
38 | kDCAZ, // DCA z | |
39 | kV0DCA, // V0 DCA | |
40 | kDaughterDCA, // DCA of V0 Daughters | |
41 | kCosPointAng, // V0 Cosing of Pointing Angle | |
42 | kLambdaProtonPIDCut, //V0 - Lambda number of sigmas proton | |
43 | kAntiLambdaAntiProtonPIDCut, //V0 - AntiLambda number of sigmas antiproton | |
44 | kLambdaPionPIDCut, //V0 - Lambda number of sigmas pion | |
45 | kAntiLambdaAntiPionPIDCut, //V0 - AntiLambda number of sigmas pion | |
2895972e | 46 | kTypes |
47 | }; | |
48 | ||
49 | AliRsnValueDaughter(const char *name = "valDaughter", EType type = kTypes); | |
61f275d1 | 50 | AliRsnValueDaughter(const AliRsnValueDaughter ©); |
51 | AliRsnValueDaughter &operator=(const AliRsnValueDaughter ©); | |
2895972e | 52 | virtual ~AliRsnValueDaughter() { } |
53 | ||
54 | void SetType(EType type) {fType = type;} | |
55 | EType GetType() const {return fType;} | |
61f275d1 | 56 | const char *GetTypeName() const; |
2895972e | 57 | |
58 | virtual Bool_t Eval(TObject *object); | |
59 | ||
60 | protected: | |
61 | ||
62 | EType fType; // type from enumeration | |
63 | ||
64 | ClassDef(AliRsnValueDaughter, 1) // AliRsnValueDaughter class | |
65 | }; | |
66 | ||
67 | #endif |