message: Add check that primary vertex is from tracks
diff: @@ -171,13 +171,15 @@ bool AliEventCuts::AcceptEvent(AliVEvent *ev) {
  /// Vertex existance
  const AliVVertex* vtTrc = ev->GetPrimaryVertex();
  + bool isTrackV = true;
  + if(vtTrc->IsFromVertexer3D() || vtTrc->IsFromVertexerZ()) isTrackV=false;
  const AliVVertex* vtSPD = ev->GetPrimaryVertexSPD();
  /// On current AODs primary vertex could be from TPC or invalid SPD vertex
  /// The following check should be applied only on AOD.
  bool goodAODvtx = (dynamic_cast<AliAODEvent*>(ev) ? GoodPrimaryAODVertex(ev) : true) || !fCheckAODvertex;
  if (vtSPD->GetNContributors() > 0) fFlag |= BIT(kVertexSPD);
  - if (vtTrc->GetNContributors() > 1 && goodAODvtx) fFlag |= BIT(kVertexTracks);
  + if (vtTrc->GetNContributors() > 1 && isTrackV && goodAODvtx) fFlag |= BIT(kVertexTracks);
  if (((fFlag & BIT(kVertexTracks)) || !fRequireTrackVertex) && (fFlag & BIT(kVertexSPD))) fFlag |= BIT(kVertex);
  const AliVVertex* &vtx = bool(fFlag & BIT(kVertexTracks)) ? vtTrc : vtSPD;
  fPrimaryVertex = const_cast<AliVVertex*>(vtx);
  