AliRoot Core
3dc7879 (3dc7879)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
//______________________________________________________________________
33
AliVertexer
::
AliVertexer
() :
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
//______________________________________________________________________
45
AliVertexer::~AliVertexer
() {
46
// Default Destructor
47
48
if
(
fMult
)
delete
fMult
;
49
}
50
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
;
61
}
AliVertexer.h
AliVertexer::fNominalCov
Double_t fNominalCov[6]
Definition:
AliVertexer.h:57
AliVertex::GetXYZ
virtual void GetXYZ(Double_t position[3]) const
Definition:
AliVertex.cxx:119
AliVertexer
Definition:
AliVertexer.h:17
AliVertexer::~AliVertexer
virtual ~AliVertexer()
Definition:
AliVertexer.cxx:45
AliESDVertex
Definition:
AliESDVertex.h:34
AliMultiplicity.h
AliESDVertex.h
AliVertexer::fMult
AliMultiplicity * fMult
pointer to the current vertex
Definition:
AliVertexer.h:47
AliLog.h
AliVertexer::fNominalPos
Double_t fNominalPos[3]
Definition:
AliVertexer.h:56
AliVertexer::SetVtxStart
void SetVtxStart(Double_t x, Double_t y, Double_t z)
Definition:
AliVertexer.h:30
AliESDVertex::GetCovMatrix
void GetCovMatrix(Double_t covmatrix[6]) const
Definition:
AliESDVertex.cxx:228
STEER
STEER
AliVertexer.cxx
Generated on Mon Nov 5 2018 17:14:21 for AliRoot Core by
1.8.11