Additional methods (B.Hippolyte)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2005 04:55:20 +0000 (04:55 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2005 04:55:20 +0000 (04:55 +0000)
STEER/AliESDv0.h

index 2df34de7e894c9b06c0f91651430b4eaa5324c14..20ca2fab15c1f209ae83a90cdfe8d7aea254882a 100644 (file)
@@ -33,10 +33,13 @@ public:
   Double_t GetD(Double_t x0=0.,Double_t y0=0.,Double_t z0=0.) const;
   Int_t GetNindex() const {return fNidx;}
   Int_t GetPindex() const {return fPidx;}
   Double_t GetD(Double_t x0=0.,Double_t y0=0.,Double_t z0=0.) const;
   Int_t GetNindex() const {return fNidx;}
   Int_t GetPindex() const {return fPidx;}
+  void SetDcaDaughters(Double_t rDcaDaughters=0.);
+  Double_t GetDcaDaughters() {return fDcaDaughters;}
 
 protected: 
   Int_t fPdgCode;           // reconstructed V0's type (PDG code)
   Double_t fEffMass;        // reconstructed V0's effective mass
 
 protected: 
   Int_t fPdgCode;           // reconstructed V0's type (PDG code)
   Double_t fEffMass;        // reconstructed V0's effective mass
+  Double_t fDcaDaughters;   // dca between V0's daughters
   Double_t fChi2;           // V0's chi2 value
   Double_t fPos[3];         // V0's position (global)
   Double_t fPosCov[6];      // covariance matrix of the vertex position
   Double_t fChi2;           // V0's chi2 value
   Double_t fPos[3];         // V0's position (global)
   Double_t fPosCov[6];      // covariance matrix of the vertex position
@@ -62,6 +65,11 @@ void AliESDv0::GetPPxPyPz(Double_t &px, Double_t &py, Double_t &pz) const {
 px=fPmom[0]; py=fPmom[1]; pz=fPmom[2];
 }
 
 px=fPmom[0]; py=fPmom[1]; pz=fPmom[2];
 }
 
+inline
+void AliESDv0::SetDcaDaughters(Double_t rDcaDaughters){
+  fDcaDaughters=rDcaDaughters;
+}
+
 #endif
 
 
 #endif