#include "AliITSV0Finder.h"
#include "AliITStrackerMI.h"
#include "AliMathBase.h"
+#include "AliPID.h"
ClassImp(AliITStrackerMI)
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();
// 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);
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.));
//
// 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;