23 #include "AliHLTTPCCASliceOutput.h"
24 #include "MemoryAssignmentHelpers.h"
26 int AliHLTTPCCASliceOutput::EstimateSize(
int nOfTracks,
int nOfTrackClusters )
30 const int kClusterDataSize =
31 sizeof( DataCompressor::RowCluster )
32 +
sizeof(
unsigned short )
37 const int aligmentMaxSize =
41 + kClusterDataSize * nOfTrackClusters
54 void AliHLTTPCCASliceOutput::SetPointers()
58 char *mem = &fMemory[0];
59 AssignMemory( fTracks, mem, fNTracks );
60 AssignMemory( fClusterUnpackedYZ, mem, fNTrackClusters );
61 AssignMemory( fClusterUnpackedX, mem, fNTrackClusters );
62 AssignMemory( fClusterIDrc, mem, fNTrackClusters );
63 AssignMemory( fClusterPackedYZ, mem, fNTrackClusters );
64 AssignMemory( fClusterPackedAmp, mem, fNTrackClusters );