]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/AliITSUVertexer.cxx
Corrected end-of-line behavior
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUVertexer.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2003, 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 #include "AliITSUVertexer.h"
16 #include "AliESDVertex.h"
17 #include "AliLog.h"
18 #include <TString.h>
19 #include <TTree.h>
20
21 /////////////////////////////////////////////////////////////////
22 // THIS IS A DUMMY CLASS
23 ////////////////////////////////////////////////////////////////
24
25 ClassImp(AliITSUVertexer)
26
27
28
29 //______________________________________________________________________
30 AliITSUVertexer::AliITSUVertexer():AliVertexer()
31 {
32 }
33
34
35 //______________________________________________________________________
36 AliITSUVertexer::~AliITSUVertexer() {
37   // Destructor
38 }
39
40 //______________________________________________________________________
41 AliESDVertex* AliITSUVertexer::FindVertexForCurrentEvent(TTree *)
42 {
43   Double_t startPos[3]={GetNominalPos()[0],GetNominalPos()[1],GetNominalPos()[2]};
44   Double_t startCov[6]={GetNominalCov()[0],GetNominalCov()[1],GetNominalCov()[2],
45                         GetNominalCov()[3],GetNominalCov()[4],GetNominalCov()[5]};
46   AliESDVertex* vtx = new AliESDVertex(startPos,startCov,99999.,-2);
47   AliInfo("Creating dummy vertex from the mean vertex");
48   vtx->Print();
49   return vtx;
50 }  
51