]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSVertexerFixed.h
Coding conventions
[u/mrichter/AliRoot.git] / ITS / AliITSVertexerFixed.h
CommitLineData
c8735dd3 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 */
5
b9e83c62 6/* $Id$ */
c8735dd3 7
8#include <AliITSVertexer.h>
9class TString;
10
11///////////////////////////////////////////////////////////////////////
12// //
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) //
15// //
16///////////////////////////////////////////////////////////////////////
17
18
19class AliITSVertexerFixed : public AliITSVertexer {
20
21 public:
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];
27 }
28 void SetVtxError(Double_t err[3]){
29 for(Int_t k=0; k<3;k++) fVtxErr[k]=err[k];
30 }
31
32 virtual void PrintStatus() const;
33
34 private:
35 Double_t fVtxPos[3]; // vertex coordinates
36 Double_t fVtxErr[3]; // vertex errors
37
38
39
40ClassDef(AliITSVertexerFixed,0);
41};
42
43#endif