]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliKFVertex.h
A getter for the number of tracks composing the vertex
[u/mrichter/AliRoot.git] / STEER / AliKFVertex.h
index 656a50e2bd2deeeba6baf6ee6977029476be5f08..8fed979b6df3b0065386d2d7a853280dc717c1c8 100644 (file)
@@ -47,6 +47,13 @@ class AliKFVertex :public AliKFParticle
 
   void CopyToESDVertex( AliESDVertex &Vtx ) const ;
 
+  //*
+  //*  ACCESSORS
+  //*
+
+  //* Number of tracks composing the vertex
+
+  Int_t GetNContributors() const { return (fNDF+3)/2; }
 
   //* 
   //* CONSTRUCTION OF THE VERTEX BY ITS DAUGHTERS