message: Modifications for MC 2part corr analysis
diff: @@ -342,10 +342,12 @@ void AliMESppColTask::UserExec(Option_t *opt)
  if( HasMCdata()){// run only on MC
  // NOTE: the intervals are considered half-closed: (a,b]
  - if((pTMClead>=1.0 && pTMClead<=2.0) && MC_mult_glob08>0 && MC_mult_glob08<=80 && TMath::Abs(fMCevInfo->GetVertexZ())<10.0 /*&& MC_sfer>0.0 && MC_sfer<=0.3*/){
  + if ((pTMClead >= 1.0 && pTMClead <= 2.0) && MC_mult_glob08 > 0 && MC_mult_glob08 <= 80 && TMath::Abs(fMCevInfo->GetVertexZ()) < 10.0 && vec_hbTrk[8] == 0 /*&& MC_sfer>0.0 && MC_sfer<=0.3*/)
  + {
  // TObjArray *selectedTracksMC1=FindLeadingObjects(fMCtracks, 1);
  TObjArray *selectedTracksMC1 = SelectedTracks(fMCtracks, 1, -1, idMCLead, MC_mult_glob08);
  - if(!selectedTracksMC1) return;
  + if (!selectedTracksMC1)
  + return;
  selectedTracksMC1->SetOwner(kTRUE);
  FillCorrelationSE(MC_mult_glob08, selectedTracksMC1, 3, 1, MC_sfer);
  FillCorrelationMixing(MC_mult_glob08, fMCevInfo->GetVertexZ(), 80., 0., selectedTracksMC1, 3, 1);
  @@ -1127,7 +1129,7 @@ Bool_t AliMESppColTask::BuildQAHistos()
  THnSparseD *hbTrk = new THnSparseD("basicInfoTrk", "basicInfoTrk;multComb08;Sphericity;p_{T}^{L};p_{T}^{As};#Delta#eta;#Delta#varphi;as;V0Msignal;trigg;", ndimbTrk, cldNbinsbTrk, cldMinbTrk, cldMaxbTrk);
  fHistosQA->AddAt(hbTrk, 147);
  - THnSparseD *hbMCTrk = new THnSparseD("basicInfoMCTrk", "basicInfoMCTrk;multComb08MC;sferMC;p_{T}^{L};p_{T}^{As};dEtaMC;dPhiMC;asMC;", ndimbTrkMC, cldNbinsbTrkMC, cldMinbTrkMC, cldMaxbTrkMC);
  + THnSparseD *hbMCTrk = new THnSparseD("basicInfoMCTrk", "basicInfoMCTrk;Gen. Multiplicity;Gen. Sphericity;Gen. p_{T}^{L};Gen. p_{T}^{As};Gen.#Delta#eta;Gen. #Delta#varphi;asMC;", ndimbTrkMC, cldNbinsbTrkMC, cldMinbTrkMC, cldMaxbTrkMC);
  fHistosQA->AddAt(hbMCTrk, 148);
  