message: rotate to local coordinate system of MC label, to have consistent plots between offline/HLT tracker
diff: @@ -629,7 +629,12 @@ void AliPerformanceRes::ProcessInnerTPC(AliMCEvent *const mcEvent, AliVTrack *co
  // exclude electrons
  if (fCutsMC.GetEM()==TMath::Abs(particle->GetPdgCode())) return;
  - Double_t mclocal[4]; //Rotated x,y,Px,Py mc-coordinates - the MC data should be rotated since the track is propagated best along x
  + const float kDeg2Rad = 3.1415926535897 / 180.f;
  + const float kSectAngle = 2*3.1415926535897 / 18.f;
  + float mcAngle = (floor(atan2(ref0->Y(), ref0->X()) / kDeg2Rad / 20.f) + 0.5) * kSectAngle;
  + if (fabs(mcAngle - track->GetAlpha()) > 1.5 * kSectAngle) return; //This is most likely the backward leg of a looper that entered the TPC somewhere else
  + if (!track->Rotate(mcAngle)) return;
  + Double_t mclocal[4]; //Rotated x,y,Px,Py mc-coordinates, we use the local coordinate system in the sector of the MC label
  Double_t c = TMath::Cos(track->GetAlpha());
  Double_t s = TMath::Sin(track->GetAlpha());
  Double_t x = ref0->X();
  @@ -648,8 +653,7 @@ void AliPerformanceRes::ProcessInnerTPC(AliMCEvent *const mcEvent, AliVTrack *co
  Error("ProcessInnerTPC", "Magnetic Field not set");
  }
  - Bool_t isOK = AliTrackerBase::PropagateTrackToBxByBz(track, mclocal[0], particle->GetMass(), 1., 0);
  - if(!isOK) {return;}
  + if (!AliTrackerBase::PropagateTrackToBxByBz(track, mclocal[0], particle->GetMass(), 1., 0)) return;
  if (fabs(track->GetY() - mclocal[1]) > 2 || fabs(track->GetZ() - ref0->Z()) > 2) return;
  if (FILTER_CLONES)
  {
  