message: Add selections to fill QA histos for SPD and TPC vertices
diff: @@ -286,6 +286,8 @@ void AliAnalysisTaskCheckVertexAOD::UserExec(Option_t *)
  Int_t cs=0;
  Float_t zs=-999.;
  if(vtSPD){
  + TString spdtitle=vtSPD->GetTitle();
  + if(spdtitle.Contains("ertexer: 3D")){
  Float_t xs=vtSPD->GetX();
  Float_t ys=vtSPD->GetY();
  zs=vtSPD->GetZ();
  @@ -293,10 +295,13 @@ void AliAnalysisTaskCheckVertexAOD::UserExec(Option_t *)
  fHistXspdVsContrib->Fill(cs,xs);
  fHistYspdVsContrib->Fill(cs,ys);
  fHistZspdVsContrib->Fill(cs,zs);
  + if(cs>=1){
  fHistXspdVsMult->Fill(ntracklets,xs);
  fHistYspdVsMult->Fill(ntracklets,ys);
  fHistZspdVsMult->Fill(ntracklets,zs);
  }
  + }
  + }
  if(vtTPC){
  Float_t xtpc=vtTPC->GetX();
  Float_t ytpc=vtTPC->GetY();
  @@ -305,10 +310,12 @@ void AliAnalysisTaskCheckVertexAOD::UserExec(Option_t *)
  fHistXtpcVsContrib->Fill(ctpc,xtpc);
  fHistYtpcVsContrib->Fill(ctpc,ytpc);
  fHistZtpcVsContrib->Fill(ctpc,ztpc);
  + if(ctpc>=1){
  fHistXtpcVsMult->Fill(ntracklets,xtpc);
  fHistYtpcVsMult->Fill(ntracklets,ytpc);
  fHistZtpcVsMult->Fill(ntracklets,ztpc);
  }
  + }
  Int_t nPileupVertSPD=aod->GetNumberOfPileupVerticesSPD();
  fHistoNOfPileupVertSPD->Fill(nPileupVertSPD);
  