//---------------------------------------------------------------------------- // Implementation of the AliKFVertex class // . // @author S.Gorbunov, I.Kisel // @version 1.0 // @since 13.05.07 // // Class to reconstruct and store primary and secondary vertices // The method is described in CBM-SOFT note 2007-003, // ``Reconstruction of decayed particles based on the Kalman filter'', // http://www.gsi.de/documents/DOC-2007-May-14-1.pdf // // This class is ALICE interface to general mathematics in AliKFParticleCore // // -= Copyright © ALICE HLT Group =- //____________________________________________________________________________ #include "AliKFVertex.h" #include "Riostream.h" ClassImp(AliKFVertex) AliKFVertex::AliKFVertex( const AliVVertex &vertex ): fIsConstrained(0) { // Constructor from ALICE VVertex vertex.GetXYZ( fP ); vertex.GetCovarianceMatrix( fC ); fChi2 = vertex.GetChi2(); fNDF = 2*vertex.GetNContributors() - 3; fQ = 0; fAtProductionVertex = 0; fIsLinearized = 0; fSFromDecay = 0; } /* void AliKFVertex::Print(Option_t* ) const { cout<<"AliKFVertex position: "<2 ) { Double_t worstChi = 0.; Int_t worstDaughter = 0; for( Int_t it=0; itChiCut*ChiCut*GetNDF() ){ for( int i=0; i