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