Bug fix in the constructor (thanks to A.Marin)
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Aug 2011 14:00:55 +0000 (14:00 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Aug 2011 14:00:55 +0000 (14:00 +0000)
STEER/ESD/AliESDv0.cxx

index 2449759..fb60da7 100644 (file)
@@ -163,6 +163,10 @@ AliESDv0::AliESDv0(const AliExternalTrackParam &t1, Int_t i1,
      new (&fParamN) AliExternalTrackParam(t2);
      fParamP.~AliExternalTrackParam();
      new (&fParamP) AliExternalTrackParam(t1);
+
+     Int_t index=fNidx;
+     fNidx=fPidx;
+     fPidx=fNidx;
   }
 
   for (Int_t i=0; i<6; i++) {