using constructor for initialization
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jun 2011 10:46:36 +0000 (10:46 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jun 2011 10:46:36 +0000 (10:46 +0000)
HLT/TPCLib/AliHLTTPCHWClusterTransformComponent.cxx
HLT/TPCLib/offline/AliHLTTPCOfflineCluster.cxx

index 8f00551..21a094e 100644 (file)
@@ -260,7 +260,7 @@ int AliHLTTPCHWClusterTransformComponent::DoEvent(const AliHLTComponentEventData
           break;
         }
           
-        AliHLTTPCSpacePointData cluster = { 0.,0.,0.,0,0,0.,0.,0,0,kFALSE,0 };
+        AliHLTTPCSpacePointData cluster;
               
         //get the first word
         AliHLTUInt32_t  rowCharge = buffer[nWords];
index 13d6fb4..71d5ab0 100644 (file)
@@ -80,7 +80,7 @@ AliTPCclusterMI* AliHLTTPCOfflineCluster::ConvertHLTToOffline(AliHLTTPCSpacePoin
 AliHLTTPCSpacePointData AliHLTTPCOfflineCluster::ConvertOfflineToHLT(AliTPCclusterMI *offCluster){
 
      
-   AliHLTTPCSpacePointData spacePoint = { 0.,0.,0.,0,0,0.,0.,0,0,kFALSE,0 };
+   AliHLTTPCSpacePointData spacePoint;
        
    spacePoint.fPadRow  = offCluster->GetRow();
    spacePoint.fX       = offCluster->GetX(); // these are in the detector system