Fix for wrong definition of QA detectors list. The parsing of ALL -XXX is done within...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Dec 2009 14:53:09 +0000 (14:53 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Dec 2009 14:53:09 +0000 (14:53 +0000)
STEER/AliReconstruction.cxx

index 7f963d3..9774d7f 100644 (file)
@@ -3270,21 +3270,7 @@ Bool_t AliReconstruction::SetRunQA(TString detAndAction)
        }
        Int_t colon = detAndAction.Index(":") ; 
        fQADetectors = detAndAction(0, colon) ; 
-       if (fQADetectors.Contains("ALL") ){
-    TString tmp = fFillESD ;
-    Int_t minus = fQADetectors.Last('-') ; 
-    TString toKeep = fFillESD ; 
-    TString toRemove("") ;
-    while (minus >= 0) {
-      toRemove = fQADetectors(minus+1, fQADetectors.Length()) ; 
-      toRemove = toRemove.Strip() ; 
-      toKeep.ReplaceAll(toRemove, "") ; 
-      fQADetectors.ReplaceAll(Form("-%s", toRemove.Data()), "") ; 
-      minus = fQADetectors.Last('-') ; 
-    }
-    fQADetectors = toKeep ; 
-  }  
-  fQATasks   = detAndAction(colon+1, detAndAction.Sizeof() ) ; 
+       fQATasks   = detAndAction(colon+1, detAndAction.Sizeof() ) ; 
        if (fQATasks.Contains("ALL") ) {
                fQATasks = Form("%d %d %d %d", AliQAv1::kRAWS, AliQAv1::kDIGITSR, AliQAv1::kRECPOINTS, AliQAv1::kESDS) ; 
        } else {