2 // ************************************************************************
3 // This file is property of and copyright by the ALICE HLT Project *
4 // ALICE Experiment at CERN, All rights reserved. *
5 // See cxx source for full Copyright notice *
7 //*************************************************************************
10 #ifndef ALIHLTTPCCASLICEOUTCLUSTER_H
11 #define ALIHLTTPCCASLICEOUTCLUSTER_H
13 #include "AliHLTTPCCACompressedInputData.h"
14 #include "AliHLTTPCCADataCompressor.h"
17 * @class AliHLTTPCCASliceOutCluster
18 * AliHLTTPCCASliceOutCluster class contains clusters which are assigned to slice tracks.
19 * It is used to send the data from TPC slice trackers to the GlobalMerger
21 class AliHLTTPCCASliceOutCluster
25 GPUh() void Set( UInt_t id, UInt_t row, float x, float y, float z ){
27 //if( row<64 ) rowtype = 0;
28 //else if( row<128 ) rowtype = (UInt_t(2)<<30);
29 //else rowtype = (1<<30);
31 if( row<64 ) rowtype = 0;
32 else if( row<128 ) rowtype = 2;
36 fX = x; fY = y; fZ = z;
39 GPUh() float GetX() const {return fX;}
40 GPUh() float GetY() const {return fY;}
41 GPUh() float GetZ() const {return fZ;}
42 GPUh() UInt_t GetId() const {return fId; } //fId & 0x3FFFFFFF;}
43 GPUh() UInt_t GetRowType() const {return fRowType; }//fId>>30;}
47 UInt_t fId; // Id ( slice, patch, cluster )
48 UInt_t fRowType; // row type
49 Float_t fX;// coordinates
50 Float_t fY;// coordinates
51 Float_t fZ;// coordinates