1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
19 #include "AliESDVertex.h"
20 #include "AliVertexer.h"
21 #include "AliMultiplicity.h"
25 //////////////////////////////////////////////////////////////////////
26 // Base class for primary vertex reconstruction //
27 // AliESDVertexer is a class for full 3D primary vertex finding //
28 // derived classes: AliITSVertexer //
30 //////////////////////////////////////////////////////////////////////
32 //______________________________________________________________________
33 AliVertexer::AliVertexer() :
38 // Default Constructor
40 SetVtxStart(0.,0.,0.);
41 for(Int_t i=0;i<6;i++)fNominalCov[i]=0.;
44 //______________________________________________________________________
45 AliVertexer::~AliVertexer() {
48 if(fMult) delete fMult;
52 //---------------------------------------------------------------------------
53 void AliVertexer::SetVtxStart(AliESDVertex *vtx)
56 // Set initial vertex knowledge
58 vtx->GetXYZ(fNominalPos);
59 vtx->GetCovMatrix(fNominalCov);