1 #ifndef ALIITSVERTEXERFIXED_H
2 #define ALIITSVERTEXERFIXED_H
3 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 #include <AliITSVertexer.h>
11 ///////////////////////////////////////////////////////////////////////
13 // Create vertex in fixed position (e.g. TDI for injection tests) //
14 // Origin: M. Masera, F. Prino (masera@to.infn.it, prino@to.infn.it) //
16 ///////////////////////////////////////////////////////////////////////
19 class AliITSVertexerFixed : public AliITSVertexer {
22 AliITSVertexerFixed();
23 AliITSVertexerFixed(TString option);
24 virtual AliESDVertex* FindVertexForCurrentEvent(TTree* /* itsClusterTree */ );
25 void SetVtxPosition(Double_t pos[3]){
26 for(Int_t k=0; k<3;k++) fVtxPos[k]=pos[k];
28 void SetVtxError(Double_t err[3]){
29 for(Int_t k=0; k<3;k++) fVtxErr[k]=err[k];
32 virtual void PrintStatus() const;
35 Double_t fVtxPos[3]; // vertex coordinates
36 Double_t fVtxErr[3]; // vertex errors
40 ClassDef(AliITSVertexerFixed,0);