Release version of ITS code
[u/mrichter/AliRoot.git] / ITS / vertex.h
1 #ifndef VERTEX_H
2 #define VERTEX_H
3 struct Hit_tl {
4    Int_t   track,n,lad,det;
5    Float_t x,y,z,xl,yl,zl,xr,yr,zr;
6    Float_t r,phi,eta,phir,etar;
7 };
8
9 void FindVertexs(Int_t evnt,Float_t frac,Float_t len);
10
11 void HitsToV(Hit_tl **spdi,Int_t &nspdi,Hit_tl **spdo,Int_t &nspdo,
12              Int_t ntracks,TTree *TH,TClonesArray *ITShits,
13              Float_t fraction,Float_t len);
14
15 Float_t vertex(Hit_tl **spdi,Int_t i1max,Hit_tl **spdo,Int_t i2max);
16 Float_t vertexSlow(Hit_tl **spdi,Int_t i1max,Hit_tl **spdo,Int_t i2max);
17 Float_t vertexEta(Hit_tl **spdi,Int_t i1max,Hit_tl **spdo,Int_t i2max);
18
19 #endif