/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
+/* $Id$ */
+
//-------------------------------------------------------------------------
// ESD V0 Vertex Class
-//
+// This class is part of the Event Summary Data set of classes
// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
//-------------------------------------------------------------------------
#include <TObject.h>
#include <TPDGCode.h>
-class AliESDtrack;
+class AliExternalTrackParam;
class AliESDv0 : public TObject {
public:
AliESDv0();
+ AliESDv0(const AliExternalTrackParam &t1, Int_t i1,
+ const AliExternalTrackParam &t2, Int_t i2);
Double_t ChangeMassHypothesis(Int_t code=kK0Short);
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 SetESDindexes(Int_t ip, Int_t im){fNidx=ip;fPidx=im;}
+ 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
+ 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
px=fPmom[0]; py=fPmom[1]; pz=fPmom[2];
}
+inline
+void AliESDv0::SetDcaDaughters(Double_t rDcaDaughters){
+ fDcaDaughters=rDcaDaughters;
+}
+
#endif