//
//
//fill esds using updated tracks
+
if (!fEvent) return;
+
+ AliESDtrack iotrack;
// write tracks to the event
// store index of the track
}
if (( pt->GetPoints()[2]- pt->GetPoints()[0])>5 && pt->GetPoints()[3]>0.8){
- AliESDtrack iotrack;
+ iotrack.~AliESDtrack();
+ new(&iotrack) AliESDtrack;
iotrack.UpdateTrackParams(pt,AliESDtrack::kTPCin);
iotrack.SetTPCPoints(pt->GetPoints());
iotrack.SetKinkIndexes(pt->GetKinkIndexes());
}
if ( (pt->GetNumberOfClusters()>70)&& (Float_t(pt->GetNumberOfClusters())/Float_t(pt->GetNFoundable()))>0.55) {
- AliESDtrack iotrack;
+ iotrack.~AliESDtrack();
+ new(&iotrack) AliESDtrack;
iotrack.UpdateTrackParams(pt,AliESDtrack::kTPCin);
iotrack.SetTPCPoints(pt->GetPoints());
//iotrack.SetTPCindex(i);
Int_t found,foundable,shared;
pt->GetClusterStatistic(0,60,found, foundable,shared,kFALSE);
if ( (found>20) && (pt->GetNShared()/float(pt->GetNumberOfClusters())<0.2)){
- AliESDtrack iotrack;
+ iotrack.~AliESDtrack();
+ new(&iotrack) AliESDtrack;
iotrack.UpdateTrackParams(pt,AliESDtrack::kTPCin);
//iotrack.SetTPCindex(i);
iotrack.SetTPCPoints(pt->GetPoints());
if (found<20) continue;
if (pt->GetNShared()/float(pt->GetNumberOfClusters())>0.2) continue;
//
- AliESDtrack iotrack;
+ iotrack.~AliESDtrack();
+ new(&iotrack) AliESDtrack;
iotrack.UpdateTrackParams(pt,AliESDtrack::kTPCin);
iotrack.SetTPCPoints(pt->GetPoints());
iotrack.SetKinkIndexes(pt->GetKinkIndexes());
Int_t found,foundable,shared;
pt->GetClusterStatistic(128,158,found, foundable,shared,kFALSE);
if ( (found>20) && (pt->GetNShared()/float(pt->GetNumberOfClusters())<0.2) &&float(found)/float(foundable)>0.8){
- AliESDtrack iotrack;
+ iotrack.~AliESDtrack();
+ new(&iotrack) AliESDtrack;
iotrack.UpdateTrackParams(pt,AliESDtrack::kTPCin);
iotrack.SetTPCPoints(pt->GetPoints());
iotrack.SetKinkIndexes(pt->GetKinkIndexes());
if (pt->GetNShared()/float(pt->GetNumberOfClusters())>0.2) continue;
if (float(found)/float(foundable)<0.8) continue;
//
- AliESDtrack iotrack;
+ iotrack.~AliESDtrack();
+ new(&iotrack) AliESDtrack;
iotrack.UpdateTrackParams(pt,AliESDtrack::kTPCin);
iotrack.SetTPCPoints(pt->GetPoints());
iotrack.SetKinkIndexes(pt->GetKinkIndexes());
kink->SetIndex(it, knkId<0 ? 0:1); // update track index of the kink: mother at 0, daughter at 1
}
}
+
// << account for suppressed tracks in the kink indices (RS)
AliInfo(Form("Number of filled ESDs-\t%d\n",fEvent->GetNumberOfTracks()));