|  | 
| list | sub_cond.mc_wishlist = [] | 
|  | 
| list | sub_cond.data_wishlist = [] | 
|  | Signal scan, 81M events.  More... 
 | 
|  | 
| tuple | sub_cond.jsonlist = glob.glob("data/json/subgolden_*.json") | 
|  | 
| dictionary | sub_cond.goldruns = {} | 
|  | 
| dictionary | sub_cond.jdata = {} | 
|  | 
| tuple | sub_cond.maxfiles = int(raw_input('Enter max number of files per job: ')) | 
|  | 
| list | sub_cond.comb_keys = ['RunIISpring15DR74_Asympt25ns_MCRUN2_74_V9','RunIISpring15FSPremix_MCRUN2_74_V9','RunIISpring15MiniAODv2_74X_mcRun2_asymptotic_v2','Run2015D'] | 
|  | 
| int | sub_cond.maxjobs = -1 | 
|  | 
| int | sub_cond.maxds = -1 | 
|  | 
| int | sub_cond.maxevents_perjob = -1 | 
|  | 
| string | sub_cond.istest = 'n' | 
|  | 
| string | sub_cond.whitelist = "T2_US_UCSD,T2_US_WISCONSIN,T2_US_FLORIDA,T2_US_PURDUE,T2_US_NEBRASKA,T2_US_CALTECH" | 
|  | 
| tuple | sub_cond.host = os.environ.get("HOSTNAME") | 
|  | 
| string | sub_cond.hadoop = '/mnt/hadoop/cms' | 
|  | 
| tuple | sub_cond.codedir = os.getcwd() | 
|  | 
| tuple | sub_cond.proc = subprocess.Popen('voms-proxy-info', stdout=subprocess.PIPE) | 
|  | 
| tuple | sub_cond.tmp = proc.stdout.read() | 
|  | 
| tuple | sub_cond.outdir = os.getcwd() | 
|  | 
| tuple | sub_cond.sub_time = time.strftime("%y%m%d_%H%M%S", time.gmtime()) | 
|  | 
| tuple | sub_cond.logdir = os.path.join(os.getcwd(),"logs", sub_time) | 
|  | 
| tuple | sub_cond.rundir = os.path.join(os.path.realpath(os.getcwd()+'/run'),sub_time) | 
|  | 
| tuple | sub_cond.flistdir = os.path.join(os.getenv("CMSSW_BASE"),"src/flists/") | 
|  | 
| dictionary | sub_cond.files_dict = {} | 
|  | 
| dictionary | sub_cond.nent_dict = {} | 
|  | 
| tuple | sub_cond.flists_pd = glob.glob(os.path.join(flistdir,"flist*.txt")) | 
|  | 
| string | sub_cond.dsname = '' | 
|  | 
| tuple | sub_cond.col = line.split() | 
|  | 
| list | sub_cond.runlist = [int(irun) for irun in string.split(col[3],",")] | 
|  | 
| string | sub_cond.tarcmd = "tar --directory=../ --exclude=\"out\" --exclude=\"run\"" | 
|  | 
| int | sub_cond.total_jobs = 0 | 
|  | 
| string | sub_cond.cmssw = "CMSSW_7_4_6_patch6" | 
|  | 
| tuple | sub_cond.nfiles = len(files_dict[ds]) | 
|  | 
|  | sub_cond.njobs = maxjobs | 
|  | 
| string | sub_cond.bname = "_" | 
|  | 
| tuple | sub_cond.outpath = os.path.join(outdir,bname+".root") | 
|  | 
| list | sub_cond.condor_args = [] | 
|  | 
| string | sub_cond.json_name = "data/json/subgolden_Run2015D" | 
|  | 
| string | sub_cond.exefile = rundir+"/" | 
|  | 
| tuple | sub_cond.fexe = open(exefile,"w") | 
|  | 
| string | sub_cond.cmdfile = rundir+"/" | 
|  | 
| tuple | sub_cond.fcmd = open(cmdfile,"w") | 
|  | 
| string | sub_cond.cmd = "ssh cms25.physics.ucsb.edu condor_submit " | 
|  |