X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ITS%2FAliITStrackerMI.cxx;h=425bb142f5b49a0c000e0a8f01c4b67628d18d48;hp=e6877423890f984ae72da0a0bd2281b0fae54c15;hb=551d3e815fd14b0469d037690325b1c25052dfca;hpb=ed7ba2e50d1b649c07c2e206fe80577f7eb1523e diff --git a/ITS/AliITStrackerMI.cxx b/ITS/AliITStrackerMI.cxx index e6877423890..425bb142f5b 100644 --- a/ITS/AliITStrackerMI.cxx +++ b/ITS/AliITStrackerMI.cxx @@ -58,6 +58,7 @@ #include "AliITSV0Finder.h" #include "AliITStrackerMI.h" #include "AliMathBase.h" +#include "AliPID.h" ClassImp(AliITStrackerMI) @@ -269,7 +270,7 @@ fITSPid(0) { if (AliITSReconstructor::GetRecoParam()->GetComputePlaneEff() && AliITSReconstructor::GetRecoParam()->GetIPlanePlaneEff()>=0) { Int_t iplane=AliITSReconstructor::GetRecoParam()->GetIPlanePlaneEff(); - if(!AliITSReconstructor::GetRecoParam()->GetLayersToSkip(iplane)==1) + if(AliITSReconstructor::GetRecoParam()->GetLayersToSkip(iplane)!=1) AliWarning(Form("Evaluation of Plane Eff for layer %d will be attempted without removing it from tracker",iplane)); if (iplane<2) { fPlaneEff = new AliITSPlaneEffSPD(); @@ -563,7 +564,6 @@ Int_t AliITStrackerMI::Clusters2Tracks(AliESDEvent *event) { // temporary Int_t noesd = 0; {/* Read ESD tracks */ - Double_t pimass = TDatabasePDG::Instance()->GetParticle(211)->Mass(); Int_t nentr=event->GetNumberOfTracks(); noesd=nentr; // Info("Clusters2Tracks", "Number of ESD tracks: %d\n", nentr); @@ -580,9 +580,6 @@ Int_t AliITStrackerMI::Clusters2Tracks(AliESDEvent *event) { t->GetDZ(GetX(),GetY(),GetZ(),t->GetDP()); //I.B. Double_t vdist = TMath::Sqrt(t->GetD(0)*t->GetD(0)+t->GetD(1)*t->GetD(1)); - - // look at the ESD mass hypothesys ! - if (t->GetMass()<0.9*pimass) t->SetMass(pimass); // write expected q t->SetExpQ(TMath::Max(0.8*t->GetESDtrack()->GetTPCsignal(),30.)); @@ -741,7 +738,9 @@ Int_t AliITStrackerMI::PropagateBack(AliESDEvent *event) { // // transfer the time integral to ESD track esd->SetStatus(AliESDtrack::kTIME); - Double_t times[10];t.GetIntegratedTimes(times); esd->SetIntegratedTimes(times); + Double_t times[AliPID::kSPECIESC]; + t.GetIntegratedTimes(times,AliPID::kSPECIESC); + esd->SetIntegratedTimes(times); esd->SetIntegratedLength(t.GetIntegratedLength()); // if ((esd->GetStatus()&AliESDtrack::kITSin)==0) continue;