AliRoot Core  3dc7879 (3dc7879)
AliVertexer.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
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  **************************************************************************/
15 
16 /* $Id$ */
17 
18 #include "AliLog.h"
19 #include "AliESDVertex.h"
20 #include "AliVertexer.h"
21 #include "AliMultiplicity.h"
22 
23 ClassImp(AliVertexer)
24 
25 // Base class for primary vertex reconstruction //
27 // AliESDVertexer is a class for full 3D primary vertex finding //
28 // derived classes: AliITSVertexer //
29 // //
31 
32 //______________________________________________________________________
34  fCurrentVertex(NULL),
35  fMult(NULL)
36 {
37  //
38  // Default Constructor
39  //
40  SetVtxStart(0.,0.,0.);
41  for(Int_t i=0;i<6;i++)fNominalCov[i]=0.;
42 }
43 
44 //______________________________________________________________________
46  // Default Destructor
47 
48  if(fMult) delete fMult;
49 }
50 
51 
52 //---------------------------------------------------------------------------
54 {
55 //
56 // Set initial vertex knowledge
57 //
58  vtx->GetXYZ(fNominalPos);
60  return;
61 }
Double_t fNominalCov[6]
Definition: AliVertexer.h:57
virtual void GetXYZ(Double_t position[3]) const
Definition: AliVertex.cxx:119
virtual ~AliVertexer()
Definition: AliVertexer.cxx:45
AliMultiplicity * fMult
pointer to the current vertex
Definition: AliVertexer.h:47
Double_t fNominalPos[3]
Definition: AliVertexer.h:56
void SetVtxStart(Double_t x, Double_t y, Double_t z)
Definition: AliVertexer.h:30
void GetCovMatrix(Double_t covmatrix[6]) const