]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix: typo in variable initialization
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Jul 2011 06:50:49 +0000 (06:50 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Jul 2011 06:50:49 +0000 (06:50 +0000)
HLT/TPCLib/AliHLTTPCClusterAccessHLTOUT.cxx

index 46a7b0707b92fc3831c610949d99fbd9dcb533c2..f197d3dc7f046e78fc47cd20162a1c7d1b4db9a3 100644 (file)
@@ -269,7 +269,7 @@ int AliHLTTPCClusterAccessHLTOUT::ReadAliHLTTPCClusterData(AliHLTOUT* pHLTOUT, T
     AliHLTUInt8_t slice = AliHLTTPCDefinitions::GetMinSliceNr(specification);
     AliHLTUInt8_t partition = AliHLTTPCDefinitions::GetMinPatchNr(specification);
     // FIXME: get first row number of outer sectors from a common definition instead using number
-    unsigned rowOffset=partition<2?rowOffset=0:rowOffset=63;
+    unsigned rowOffset=partition<2?0:63;
     for (int i=0; i<nSpacepoints; i++) {
       if (!pClusters->At(offset+i)) continue;
       AliTPCclusterMI* pCluster=dynamic_cast<AliTPCclusterMI*>(pClusters->At(offset+i));
@@ -342,7 +342,7 @@ int AliHLTTPCClusterAccessHLTOUT::ReadAliHLTTPCRawClusterData(AliHLTOUT* pHLTOUT
     AliHLTUInt8_t slice = AliHLTTPCDefinitions::GetMinSliceNr(specification);
     AliHLTUInt8_t partition = AliHLTTPCDefinitions::GetMinPatchNr(specification);
     // FIXME: get first row number of outer sectors from a common definition instead using number
-    int rowOffset=partition<2?rowOffset=0:rowOffset=63;
+    int rowOffset=partition<2?0:63;
     for (int i=0; i<nCount; i++) {
       if (!pClusters->At(offset+i)) continue;
       AliTPCclusterMI* pCluster=dynamic_cast<AliTPCclusterMI*>(pClusters->At(offset+i));