Added new background scheeme, did some cleanup. added new bethe block parameters...
[u/mrichter/AliRoot.git] / PWG4 / macros / ConfigGammaConversion.C
index c90a248d237e2bd74ea8e169d190a364eb267f7d..47505a324dc165204990bb67a81d3b711418b06f 100644 (file)
@@ -744,6 +744,9 @@ Bool_t scanArguments(TString arguments){
          cout<<"Setting output file name to: "<<kGCoutputFileName<<endl;
        }
       }
+      else if (argument.CompareTo("-bg-off") == 0){
+       kGCcalculateBackground =kFALSE;
+      }
       else if (argument.CompareTo("-use-offline-finder") == 0){
        kGCUseOnFlyV0Finder = kFALSE;
       }
@@ -1021,13 +1024,7 @@ AliAnalysisTaskGammaConversion* ConfigGammaConversion(TString arguments,AliAnaly
     }
   }
   else{
-    if(kGCrunOnTrain == kFALSE){
-      cinput1 = mgr->GetCommonInputContainer(); // added by kenneth to avoid writing the standard AOD
-    }
-    else{ //CKB if and else do the same here
-      //      cinput = cin_esd;
       cinput1 = mgr->GetCommonInputContainer();
-    }
   }
        
   // Common Output Tree in common Ã¢\80\98defaultâ\80\99 output file