]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/EMCAL/AliEmcalPhysicsSelection.cxx
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalPhysicsSelection.cxx
index d44fcba5425675b6c91262ab55568c0e19cd2b01..a7e68ce57820d56b596f9797cd419d80d9b65049 100644 (file)
@@ -263,30 +263,6 @@ UInt_t AliEmcalPhysicsSelection::GetSelectionMask(const TObject* obj)
     }
   }
 
-  // Check for trigger patches with 1024 bug
-  // event declared bad if at least one found
-  AliVCaloTrigger *emcaltriggers = ev->GetCaloTrigger(eev == NULL ? "EMCALTrigger" : "emcalTrigger");
-  if(emcaltriggers){
-    emcaltriggers->Reset();
-    Int_t adc;
-    Bool_t isBad = false;
-    while(emcaltriggers->Next()){
-      emcaltriggers->GetL1TimeSum(adc);
-      isBad = false;
-      // check for multiples of 1024
-      for(int i = 0; i < 20; i++){
-        if(adc == 1024 * i){
-          isBad = true;
-          break;
-        }
-      }
-      if(isBad){
-        fIsGoodEvent = kFALSE;
-        break;
-      }
-    }
-  }
-
   if (fIsGoodEvent) {
     if (fCellMaxE>fCellMinE)
       res |= kEmcalHC;