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
//*
- //* Simple way to construct vertices ex. D0 = Pion + Kaon;
-
- AliKFParticle operator +( const AliKFParticle &Daughter ) const;
+ //* Simple way to construct vertices ex. D0 = Pion + Kaon;
void operator +=( const AliKFParticle &Daughter );
//* Construct vertex with selection of tracks (primary vertex)
- void ConstructPrimaryVertex( const AliKFParticle *vDaughters[], int NDaughters,
- Double_t ChiCut=3.5 );
+ void ConstructPrimaryVertex( const AliKFParticle *vDaughters[], int NDaughters,
+ Bool_t vtxFlag[], Double_t ChiCut=3.5 );
ClassDef( AliKFVertex, 1 );
v = AliESDVertex( vTmp.fP, vTmp.fC, vTmp.fChi2, (vTmp.fNDF +3)/2 );
}
+inline void AliKFVertex::operator +=( const AliKFParticle &Daughter )
+{
+ AliKFParticle::operator +=( Daughter );
+}
+
inline void AliKFVertex::operator -=( const AliKFParticle &Daughter )
{