Skip to content

Commit

Permalink
applied primary selection to MakeSeeds3Dist
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Oct 27, 2015
1 parent d2e2a3a commit c41d9d2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions TPC/TPCrec/AliTPCtracker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4485,9 +4485,18 @@ void AliTPCtracker::MakeSeeds3Dist(TObjArray * arr, Int_t sec, Int_t i1, Int_t i
continue;
}
nout1++;
// Z VERTEX CONDITION
Double_t zv, bz=GetBz();
if ( !track->GetZAt(0.,bz,zv) ) continue;
if ( !track->GetZAt(0.,bz,zv) ) { MarkSeedFree( seed ); seed = 0; continue; }
//
if (fDisableSecondaries) {
if (TMath::Abs(zv)>fPrimaryDCAZCut) { MarkSeedFree( seed ); seed = 0; continue; }
double yv;
if ( !track->GetZAt(0.,bz,yv) ) { MarkSeedFree( seed ); seed = 0; continue; }
if (TMath::Abs(zv)>fPrimaryDCAZCut) { MarkSeedFree( seed ); seed = 0; continue; }
}

//
// Z VERTEX CONDITION
if (TMath::Abs(zv-z3)>cuts[2]) {
FollowProlongation(*track, TMath::Max(i2-20,0));
if ( !track->GetZAt(0.,bz,zv) ) continue;
Expand Down

0 comments on commit c41d9d2

Please sign in to comment.