Use cloning of AliESDtrack to ExternalTrackParam rather than AliESDtrack
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 3 Dec 2011 10:48:19 +0000 (10:48 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 3 Dec 2011 10:48:19 +0000 (10:48 +0000)
STEER/STEER/AliCascadeVertexer.cxx

index e8ac235..c271895 100644 (file)
@@ -153,7 +153,7 @@ Int_t AliCascadeVertexer::V0sTracks2CascadeVertices(AliESDEvent *event) {
          if (btrk->GetSign()<0) continue;  // bachelor's charge 
           
         AliESDv0 *pv0=&v0;
-         AliESDtrack bt(*btrk), *pbt=&bt;
+         AliExternalTrackParam bt(*btrk), *pbt=&bt;
 
          Double_t dca=PropagateToDCA(pv0,pbt,b);
          if (dca > fDCAmax) continue;