]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDv0.h
Introduction of equipment id map. The map is taken from simple ascii formatted file...
[u/mrichter/AliRoot.git] / STEER / AliESDv0.h
index 837dccf18579dc40f71af683ef9baa0c841e84dd..0599a455597063575bbdc4af9decfd1408600372 100644 (file)
@@ -4,20 +4,24 @@
 /* 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); 
 
@@ -31,10 +35,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;}
-
+  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
@@ -60,6 +67,11 @@ void AliESDv0::GetPPxPyPz(Double_t &px, Double_t &py, Double_t &pz) const {
 px=fPmom[0]; py=fPmom[1]; pz=fPmom[2];
 }
 
+inline
+void AliESDv0::SetDcaDaughters(Double_t rDcaDaughters){
+  fDcaDaughters=rDcaDaughters;
+}
+
 #endif