X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliESDcascade.h;h=b16b83f58ec9a4e14a1a795f8b62ad14a6b4ff74;hb=d5efea33f7bdd4e2c60f3cf9d90899d4392044a6;hp=acf66f2ccbcd0a4be1fcc48acc924fb2bb0d6fa2;hpb=8668c1489ebc2f50ecc7cac4dda7003ce791c55b;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliESDcascade.h b/STEER/AliESDcascade.h index acf66f2ccbc..b16b83f58ec 100644 --- a/STEER/AliESDcascade.h +++ b/STEER/AliESDcascade.h @@ -18,13 +18,14 @@ class AliExternalTrackParam; -#define kXiMinus 3312 -#define kXiPlusBar -3312 -#define kOmegaMinus 3334 -#define kOmegaPlusBar -3334 class AliESDcascade : public AliESDv0 { + enum { kOmegaPlusBar = -3334, + kXiPlusBar = -3312, + kXiMinus = 3312, + kOmegaMinus = 3334}; + public: AliESDcascade(); AliESDcascade(const AliESDcascade&); @@ -46,6 +47,8 @@ public: } Int_t GetBindex() const {return fBachIdx;} + void SetIndex(Int_t i) {fBachIdx=i;} //for the consistensy with V0 + Int_t GetIndex() const {return GetBindex();} //for the consistensy with V0 void SetDcaXiDaughters(Double_t rDcaXiDaughters=0.); Double_t GetDcaXiDaughters() const {return fDcaXiDaughters;} Double_t GetCascadeCosineOfPointingAngle(Double_t&, Double_t&, Double_t&) const; @@ -53,21 +56,22 @@ public: void GetPosCovXi(Double_t cov[6]) const; protected: - Int_t fPdgCodeXi; // reconstructed cascade type (PDG code) + Double32_t fEffMassXi; // reconstructed cascade effective mass Double32_t fChi2Xi; // chi2 value Double32_t fDcaXiDaughters; // dca between Xi's daughters Double32_t fPosXi[3]; // cascade vertex position (global) Double32_t fPosCovXi[6]; // covariance matrix of the vertex position - - Int_t fBachIdx; // label of the bachelor track Double32_t fBachMom[3]; // bachelor momentum (global) Double32_t fBachMomCov[6]; // covariance matrix of the bachelor momentum. + Int_t fPdgCodeXi; // reconstructed cascade type (PDG code) + Int_t fBachIdx; // label of the bachelor track + private: AliESDcascade& operator=(const AliESDcascade&); - ClassDef(AliESDcascade,4) // reconstructed cascade vertex + ClassDef(AliESDcascade,5) // reconstructed cascade vertex }; inline