]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
where does the good go ...
authortschuste <Tim.Schuster@cern.ch>
Tue, 15 Jul 2014 13:56:57 +0000 (15:56 +0200)
committerhristov <Peter.Hristov@cern.ch>
Wed, 20 Aug 2014 08:24:01 +0000 (10:24 +0200)
PWGCF/Correlations/DPhi/FourierDecomposition/AliDhcTask.cxx

index 00ea2591f9484c22084adf05216d8f51054a0806..71b31d5575b854b351cf2dba94d898e76beb5ba4 100644 (file)
@@ -442,16 +442,12 @@ void AliDhcTask::UserExec(Option_t *)
     Int_t nClass = arrClass->GetEntries();
     
     TString strOneClass;
-    Bool_t bAccEvent = kFALSE;
     for (Int_t iClass=0; iClass<nClass; iClass++) {
       strOneClass = arrClass->At(iClass)->GetName();
-      if (strFiredClass.Contains(strOneClass))
-        bAccEvent = kTRUE;
+      if (!strFiredClass.Contains(strOneClass))
+        return;
     }
     
-    if (!bAccEvent)
-      return;
-    
     if (fVerbosity > 10) {
       AliInfo(Form("After trigger class selection: This event has classes %s", strFiredClass.Data()));
     }