]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAODVertex.h
A few improvements, a small bug fix, and removal of the dependency on AliTracker...
[u/mrichter/AliRoot.git] / STEER / AliAODVertex.h
index 315d605767724b05be3a70b793de0066a14fc6fd..b95da5e8cfa308740252c2b8347543123bf757c3 100644 (file)
@@ -78,15 +78,17 @@ class AliAODVertex : public TObject {
   Double_t  GetChi2perNDF() const
     { return fChi2/(2.*fDaughters.GetEntriesFast()-3.); }
 
-  Char_t    GetVtxType() const { return fType; }
-  void      GetVtxType(Char_t vtype) { fType=vtype; }
+  Char_t    GetType() const { return fType; }
+  void      SetType(AODVtx_t vtype) { fType=vtype; }
 
   TObject* GetParent() const   { return fParent.GetObject(); }
   Bool_t   HasParent(TObject *parent) const { return (fParent.GetObject() == parent) ? kTRUE : kFALSE; }
 
   void     AddDaughter(TObject *daughter) { fDaughters.Add(daughter);}
   void     RemoveDaughter(TObject *daughter) { fDaughters.Remove(daughter); }
+  TObject* GetDaughter(Int_t i) { return fDaughters.At(i); }
   Bool_t   HasDaughter(TObject *daughter) const;
+  Int_t    GetNDaughters() const { return fDaughters.GetEntriesFast(); }
 
   // covariance matrix elements after rotation by phi around z-axis 
   // and, then, by theta around new y-axis