babymaker  e95a6a9342d4604277fe7cc6149b6b5b24447d89
Variables
sub_cond Namespace Reference

Variables

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

Variable Documentation

string sub_cond.bname = "_"

Definition at line 246 of file sub_cond.py.

string sub_cond.cmd = "ssh cms25.physics.ucsb.edu condor_submit "

Definition at line 338 of file sub_cond.py.

string sub_cond.cmdfile = rundir+"/"

Definition at line 303 of file sub_cond.py.

string sub_cond.cmssw = "CMSSW_7_4_6_patch6"

Definition at line 236 of file sub_cond.py.

tuple sub_cond.codedir = os.getcwd()

Definition at line 124 of file sub_cond.py.

tuple sub_cond.col = line.split()

Definition at line 196 of file sub_cond.py.

Referenced by bmaker_full.writeHiggVars().

list sub_cond.comb_keys = ['RunIISpring15DR74_Asympt25ns_MCRUN2_74_V9','RunIISpring15FSPremix_MCRUN2_74_V9','RunIISpring15MiniAODv2_74X_mcRun2_asymptotic_v2','Run2015D']

Definition at line 94 of file sub_cond.py.

list sub_cond.condor_args = []

Definition at line 256 of file sub_cond.py.

list sub_cond.data_wishlist = []

Signal scan, 81M events.

TTJets, 170M events QCD, 85M events Other MC, 95M events

Definition at line 67 of file sub_cond.py.

tuple sub_cond.dsname = ''

Definition at line 177 of file sub_cond.py.

string sub_cond.exefile = rundir+"/"

Definition at line 269 of file sub_cond.py.

tuple sub_cond.fcmd = open(cmdfile,"w")

Definition at line 305 of file sub_cond.py.

tuple sub_cond.fexe = open(exefile,"w")

Definition at line 270 of file sub_cond.py.

dictionary sub_cond.files_dict = {}

Definition at line 172 of file sub_cond.py.

tuple sub_cond.flistdir = os.path.join(os.getenv("CMSSW_BASE"),"src/flists/")

Definition at line 168 of file sub_cond.py.

tuple sub_cond.flists_pd = glob.glob(os.path.join(flistdir,"flist*.txt"))

Definition at line 174 of file sub_cond.py.

dictionary sub_cond.goldruns = {}

Definition at line 79 of file sub_cond.py.

string sub_cond.hadoop = '/mnt/hadoop/cms'

Definition at line 120 of file sub_cond.py.

tuple sub_cond.host = os.environ.get("HOSTNAME")

Definition at line 115 of file sub_cond.py.

tuple sub_cond.istest = 'n'

Definition at line 100 of file sub_cond.py.

tuple sub_cond.jdata = {}

Definition at line 81 of file sub_cond.py.

string sub_cond.json_name = "data/json/subgolden_Run2015D"

Definition at line 264 of file sub_cond.py.

tuple sub_cond.jsonlist = glob.glob("data/json/subgolden_*.json")

Definition at line 76 of file sub_cond.py.

tuple sub_cond.logdir = os.path.join(os.getcwd(),"logs", sub_time)

Definition at line 154 of file sub_cond.py.

int sub_cond.maxds = -1

Definition at line 98 of file sub_cond.py.

int sub_cond.maxevents_perjob = -1

Definition at line 99 of file sub_cond.py.

tuple sub_cond.maxfiles = int(raw_input('Enter max number of files per job: '))

Definition at line 87 of file sub_cond.py.

int sub_cond.maxjobs = -1

Definition at line 97 of file sub_cond.py.

list sub_cond.mc_wishlist = []

Definition at line 16 of file sub_cond.py.

dictionary sub_cond.nent_dict = {}

Definition at line 173 of file sub_cond.py.

tuple sub_cond.nfiles = len(files_dict[ds])

Definition at line 240 of file sub_cond.py.

sub_cond.njobs = maxjobs

Definition at line 241 of file sub_cond.py.

tuple sub_cond.outdir = os.getcwd()

Definition at line 147 of file sub_cond.py.

tuple sub_cond.outpath = os.path.join(outdir,bname+".root")

Definition at line 250 of file sub_cond.py.

Referenced by main().

tuple sub_cond.proc = subprocess.Popen('voms-proxy-info', stdout=subprocess.PIPE)

Definition at line 132 of file sub_cond.py.

tuple sub_cond.rundir = os.path.join(os.path.realpath(os.getcwd()+'/run'),sub_time)

Definition at line 163 of file sub_cond.py.

list sub_cond.runlist = [int(irun) for irun in string.split(col[3],",")]

Definition at line 213 of file sub_cond.py.

tuple sub_cond.sub_time = time.strftime("%y%m%d_%H%M%S", time.gmtime())

Definition at line 148 of file sub_cond.py.

string sub_cond.tarcmd = "tar --directory=../ --exclude=\"out\" --exclude=\"run\""

Definition at line 224 of file sub_cond.py.

tuple sub_cond.tmp = proc.stdout.read()

Definition at line 133 of file sub_cond.py.

int sub_cond.total_jobs = 0

Definition at line 231 of file sub_cond.py.

string sub_cond.whitelist = "T2_US_UCSD,T2_US_WISCONSIN,T2_US_FLORIDA,T2_US_PURDUE,T2_US_NEBRASKA,T2_US_CALTECH"

Definition at line 108 of file sub_cond.py.