for (Int_t j=0; j<ns; j++) p[j]*=d[j];
}
- if ((t->GetStatus()&AliESDtrack::kTOFpid )!=0) {
- Double_t d[10];
- t->GetTOFpid(d);
- for (Int_t j=0; j<ns; j++) p[j]*=d[j];
- }
+ if (t->GetP()>0.7) // accept the TOF only for the high momenta
+ if ((t->GetStatus()&AliESDtrack::kTOFpid )!=0) {
+ Double_t d[10];
+ t->GetTOFpid(d);
+ for (Int_t j=0; j<ns; j++) p[j]*=d[j];
+ }
t->SetESDpid(p);
}
Double_t p[10];
Double_t mom=t->GetP();
for (Int_t j=0; j<AliESDtrack::kSPECIES; j++) {
-
- p[j]=1.00/AliESDtrack::kSPECIES; // don't do anything
- if (mom<0.7) continue; // with the low momenta
-
Double_t mass=kMasses[j];
Double_t dpp=0.01; //mean relative pt resolution;
if (mom>0.5) dpp=0.01*mom;