X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FAliCentralitySelectionTask.cxx;h=7d77b3d56128d465a444847f294394c68841efa0;hb=40473af24a0e5ae554418397dfd5852174dcd64d;hp=b9cd8c3d56cfb60cbd6da20296153c36dac95473;hpb=c55ab78646727694c2c8e3dc5b6f0baebb717400;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/AliCentralitySelectionTask.cxx b/ANALYSIS/AliCentralitySelectionTask.cxx index b9cd8c3d56c..7d77b3d5612 100644 --- a/ANALYSIS/AliCentralitySelectionTask.cxx +++ b/ANALYSIS/AliCentralitySelectionTask.cxx @@ -1222,12 +1222,17 @@ void AliCentralitySelectionTask::UserExec(Option_t */*option*/) if (esd) { if (strcmp(esd->GetESDRun()->GetBeamType(), "A-A") == 0) runType=0; - else runType=1; + else runType=1; + if (strcmp(esd->GetESDRun()->GetBeamType(), "p-p") == 0) runType=2; } else { Int_t runNumber = event->GetRunNumber(); if ((runNumber >= 136851 && runNumber <= 139517) || // LHC10h (runNumber >= 166529 && runNumber <= 170593)) // LHC11h runType=0; + else if ((runNumber >= 188355 && runNumber <= 188366) || // LHC12h + (runNumber >= 195344 && runNumber <= 197692)) // LHC13h + runType=1; + else runType=2; } esdCent = event->GetCentrality(); @@ -1736,7 +1741,8 @@ void AliCentralitySelectionTask::UserExec(Option_t */*option*/) if (fPHS) fHOutCentV0MPHS->Fill(fCentV0M); if (((((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kMB) && (runType==0)) || - ((((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kINT7) && (runType==1))) { // fill the QA histograms only for MB events! + ((((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kINT7) && (runType==1)) || + ((((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kMB) && (runType==2)) ) { // fill the QA histograms only for MB events! fHOutQuality->Fill(fQuality); fHOutVertex->Fill(zvtx);