]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCARow.h
cosmetical changes
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCARow.h
CommitLineData
326c2d4b 1//-*- Mode: C++ -*-
2// @(#) $Id$
ce565086 3// ************************************************************************
fbb9b71b 4// This file is property of and copyright by the ALICE HLT Project *
ce565086 5// ALICE Experiment at CERN, All rights reserved. *
6// See cxx source for full Copyright notice *
7// *
8//*************************************************************************
326c2d4b 9
10#ifndef ALIHLTTPCCAROW_H
11#define ALIHLTTPCCAROW_H
12
00d07bcd 13#include "AliHLTTPCCADef.h"
14#include "AliHLTTPCCAGrid.h"
326c2d4b 15
16/**
17 * @class ALIHLTTPCCARow
dc4788ec 18 *
19 * The ALIHLTTPCCARow class is a hit and cells container for one TPC row.
20 * It is the internal class of the AliHLTTPCCATracker algorithm.
21 *
326c2d4b 22 */
23class AliHLTTPCCARow
24{
fbb9b71b 25 public:
326c2d4b 26
00d07bcd 27#if !defined(HLTCA_GPUCODE)
fbb9b71b 28 AliHLTTPCCARow();
00d07bcd 29#endif
326c2d4b 30
fbb9b71b 31 GPUhd() int FirstHit() const { return fFirstHit; }
32 GPUhd() int NHits() const { return fNHits; }
33 GPUhd() float X() const { return fX; }
34 GPUhd() float MaxY() const { return fMaxY; }
35 GPUhd() const AliHLTTPCCAGrid &Grid() const { return fGrid; }
693d2443 36
fbb9b71b 37 GPUhd() float Hy0() const { return fHy0;}
38 GPUhd() float Hz0() const { return fHz0;}
39 GPUhd() float HstepY() const { return fHstepY;}
40 GPUhd() float HstepZ() const { return fHstepZ;}
41 GPUhd() float HstepYi() const { return fHstepYi;}
42 GPUhd() float HstepZi() const { return fHstepZi;}
43 GPUhd() int FullSize() const { return fFullSize;}
44 GPUhd() int FullOffset() const { return fFullOffset;}
45 GPUhd() int FullGridOffset() const { return fFullGridOffset;}
46 GPUhd() int FullLinkOffset() const { return fFullLinkOffset;}
693d2443 47
fbb9b71b 48 GPUhd() void SetFirstHit( int v ) { fFirstHit = v; }
49 GPUhd() void SetNHits( int v ) { fNHits = v; }
50 GPUhd() void SetX( float v ) { fX = v; }
51 GPUhd() void SetMaxY( float v ) { fMaxY = v; }
52 GPUhd() void SetGrid( const AliHLTTPCCAGrid &v ) { fGrid = v; }
693d2443 53
fbb9b71b 54 GPUhd() void SetHy0( float v ) { fHy0 = v;}
55 GPUhd() void SetHz0( float v ) { fHz0 = v;}
56 GPUhd() void SetHstepY( float v ) { fHstepY = v;}
57 GPUhd() void SetHstepZ( float v ) { fHstepZ = v;}
58 GPUhd() void SetHstepYi( float v ) { fHstepYi = v;}
59 GPUhd() void SetHstepZi( float v ) { fHstepZi = v;}
60 GPUhd() void SetFullSize( int v ) { fFullSize = v;}
61 GPUhd() void SetFullOffset( int v ) { fFullOffset = v;}
62 GPUhd() void SetFullGridOffset( int v ) { fFullGridOffset = v;}
63 GPUhd() void SetFullLinkOffset( int v ) { fFullLinkOffset = v;}
d54804bf 64
fbb9b71b 65 private:
326c2d4b 66
fbb9b71b 67 int fFirstHit; // index of the first hit in the hit array
68 int fNHits; // number of hits
69 float fX; // X coordinate of the row
70 float fMaxY; // maximal Y coordinate of the row
71 AliHLTTPCCAGrid fGrid; // grid of hits
00d07bcd 72
fbb9b71b 73 float fHy0, fHz0, fHstepY, fHstepZ, fHstepYi, fHstepZi; // temporary variables
74 int fFullSize, fFullOffset, fFullGridOffset, fFullLinkOffset; // temporary variables
326c2d4b 75
326c2d4b 76};
77
78#endif