]>
Commit | Line | Data |
---|---|---|
0742d588 | 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 | ||
594d8990 | 18 | #include "AliLog.h" |
4b3f8cff | 19 | #include "AliESDVertex.h" |
d65adc48 | 20 | #include "AliVertexer.h" |
308c2f7c | 21 | #include "AliMultiplicity.h" |
2257f27e | 22 | |
23 | ClassImp(AliVertexer) | |
24 | ||
25 | ////////////////////////////////////////////////////////////////////// | |
26 | // Base class for primary vertex reconstruction // | |
27 | // AliESDVertexer is a class for full 3D primary vertex finding // | |
28 | // derived classes: AliITSVertexer // | |
29 | // // | |
30 | ////////////////////////////////////////////////////////////////////// | |
31 | ||
32 | //______________________________________________________________________ | |
90e48c0c | 33 | AliVertexer::AliVertexer() : |
308c2f7c | 34 | fCurrentVertex(NULL), |
35 | fMult(NULL) | |
90e48c0c | 36 | { |
37 | // | |
2257f27e | 38 | // Default Constructor |
90e48c0c | 39 | // |
4b3f8cff | 40 | SetVtxStart(0.,0.,0.); |
41 | for(Int_t i=0;i<6;i++)fNominalCov[i]=0.; | |
2257f27e | 42 | } |
43 | ||
2257f27e | 44 | //______________________________________________________________________ |
45 | AliVertexer::~AliVertexer() { | |
46 | // Default Destructor | |
32e449be | 47 | |
48 | if(fMult) delete fMult; | |
2257f27e | 49 | } |
594d8990 | 50 | |
4b3f8cff | 51 | |
52 | //--------------------------------------------------------------------------- | |
53 | void AliVertexer::SetVtxStart(AliESDVertex *vtx) | |
54 | { | |
55 | // | |
56 | // Set initial vertex knowledge | |
57 | // | |
58 | vtx->GetXYZ(fNominalPos); | |
59 | vtx->GetCovMatrix(fNominalCov); | |
60 | return; | |
594d8990 | 61 | } |