]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCAHitArea.h
cosmetical changes
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAHitArea.h
1 //-*- Mode: C++ -*-
2 // @(#) $Id: AliHLTTPCCARow.h 27042 2008-07-02 12:06:02Z richterm $
3 // ************************************************************************
4 // This file is property of and copyright by the ALICE HLT Project        *
5 // ALICE Experiment at CERN, All rights reserved.                         *
6 // See cxx source for full Copyright notice                               *
7 //                                                                        *
8 //*************************************************************************
9
10 #ifndef ALIHLTTPCCAHITAREA_H
11 #define ALIHLTTPCCAHITAREA_H
12
13
14 #include "AliHLTTPCCADef.h"
15
16 class AliHLTTPCCAHit;
17 class AliHLTTPCCAGrid;
18 class AliHLTTPCCATracker;
19 class AliHLTTPCCARow;
20
21 /**
22  * @class ALIHLTTPCCAHitArea
23  *
24  */
25 class AliHLTTPCCAHitArea
26 {
27   public:
28
29     GPUd() void Init( const AliHLTTPCCAGrid &grid, const unsigned short *content, unsigned int hitoffset, float y, float z, float dy, float dz );
30
31     GPUd() int GetNext( AliHLTTPCCATracker &tracker, const AliHLTTPCCARow &row, const unsigned short *content, AliHLTTPCCAHit &h );
32
33     GPUd() int GetBest( AliHLTTPCCATracker &tracker, const AliHLTTPCCARow &row, const unsigned short *content, AliHLTTPCCAHit &h );
34
35     GPUhd() float Y() const { return fY;}
36     GPUhd() float Z() const { return fZ;}
37     GPUhd() float MinZ() const { return fMinZ;}
38     GPUhd() float MaxZ() const { return fMaxZ;}
39     GPUhd() float MinY() const { return fMinY;}
40     GPUhd() float MaxY() const { return fMaxY;}
41     GPUhd() unsigned int  BZmax() const { return fBZmax;}
42     GPUhd() unsigned int  BDY() const { return fBDY;}
43     GPUhd() unsigned int  IndYmin() const { return fIndYmin;}
44     GPUhd() unsigned int  Iz() const { return fIz;}
45     GPUhd() unsigned int  HitYfst() const { return fHitYfst;}
46     GPUhd() unsigned int  HitYlst() const { return fHitYlst;}
47     GPUhd() unsigned int  Ih() const { return fIh;}
48     GPUhd() unsigned int  Ny() const { return fNy;}
49     GPUhd() unsigned int  HitOffset() const { return fHitOffset;}
50
51   protected:
52
53     float fY, fZ, fMinZ, fMaxZ, fMinY, fMaxY;    // search coordinates
54     unsigned int fBZmax, fBDY, fIndYmin, fIz, fHitYfst, fHitYlst, fIh, fNy; // !
55     unsigned int fHitOffset; // global hit offset
56 };
57
58 #endif