import glob, sys, os, string, io, ROOT, math, argparse from ROOT import std ROOT.gROOT.ProcessLine(".x rootlogon.C") nEvents=10 proxc=1.0 proxZs=1.2 helixc=0.2 #while proxc < 3.5: # while proxZs < 2.0: # while helixc < 1.2: # os.environ['nEvents']=str(nEvents) # os.environ['proxc']=str(proxc) # os.environ['proxZs']=str(proxZs) # os.environ['helixc']=str(helixc) # os.system('qsub -N VW_OptCl'+str(proxc)+'_'+str(proxZs)+'_'+str(helixc)+' -v "nEvents","proxc","proxZs","helixc" macro/tpc/FOPI/BatchTools/batchOptClus_vw.sh') # print "proxcut:", proxcut, "proxZs:", proxZs, "helixc:", helixc # helixc += 0.2 # proxZs += 0.2 # helixc=0.2 # proxZs=1.2 # proxc+=0.5 os.environ['nEvents']=str(nEvents) os.environ['proxc']=str(proxc) os.environ['proxZs']=str(proxZs) os.environ['helixc']=str(helixc) #os.environ['path']=str(path) os.system('. macro/tpc/FOPI/BatchTools/batchOptClus_vw.sh') #os.system('qsub -N Test_vw -v "nEvents","proxc","proxZs","helixc" macro/tpc/FOPI/BatchTools/batchOptClus_vw.sh')