Wrong CVS merging corrected
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 May 2004 08:25:59 +0000 (08:25 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 May 2004 08:25:59 +0000 (08:25 +0000)
HLT/src/AliL3TrackArray.cxx

index 48a2bb36f0fb8c9881c8b7e47a9383658afc1487..f6bc2fdbff1b5cd0655139987be3116cc0d57714 100644 (file)
@@ -237,9 +237,6 @@ void AliL3TrackArray::FillTracks(Int_t ntracks, AliL3TrackSegmentData* tr,Int_t
     AliL3Transform::Local2Global(last,slice);
     track->SetLastPoint(last[0],last[1],last[2]);
     track->SetHits( trs->fNPoints, trs->fPointIDs );
-    UChar_t *tmpP = (UChar_t*)trs;
-    tmpP += sizeof(AliL3TrackSegmentData)+trs->fNPoints*sizeof(UInt_t);
-    trs = (AliL3TrackSegmentData*)tmpP;
 #ifdef ROWHOUGHPARAMS
     if(GetTrackType()=='h') {
       ((AliL3HoughTrack *)track)->SetWeight(trs->fWeight);
@@ -250,6 +247,9 @@ void AliL3TrackArray::FillTracks(Int_t ntracks, AliL3TrackSegmentData* tr,Int_t
     track->SetSector(slice);
     track->SetPID(trs->fPID);
 #endif
+    UChar_t *tmpP = (UChar_t*)trs;
+    tmpP += sizeof(AliL3TrackSegmentData)+trs->fNPoints*sizeof(UInt_t);
+    trs = (AliL3TrackSegmentData*)tmpP;
   }
 }