]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGCF/Correlations/JCORRAN/AliJCORRANTask.cxx
Add event rejection in Filter task as well to avoid any duplicated events in latter...
[u/mrichter/AliRoot.git] / PWGCF / Correlations / JCORRAN / AliJCORRANTask.cxx
index 11760de558a0c144ff7c98c065ae97da21cc80ef..b98e967c96e13c10e73650226de2cf9f3ab0b5ac 100644 (file)
@@ -132,8 +132,9 @@ void AliJCORRANTask::UserExec(Option_t* /*option*/)
        // Processing of one event
        if(fDebug > 5) cout << "------- AliJCORRANTask Exec-------"<<endl;
        if(!((Entry()-1)%100))  AliInfo(Form(" Processing event # %lld",  Entry())); 
-
-       fFilter->UserExec("");
+       if( fFilter->GetEventSuccess() ){
+               fFilter->UserExec("");
+       }
 
        if(fDebug > 5) cout << "\t------- End UserExec "<<endl;
 }