CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
mps_setup Namespace Reference

Variables

string action = "store_true"
 
tuple allowed_mille_classes
 
tuple allowed_pede_classes
 
tuple args = parser.parse_args(sys.argv[1:])
 
tuple backups = os.listdir("jobData")
 
tuple bu_regex = re.compile(r"ScriptsAndCfg([0-9]{3})\.tar")
 
tuple chunk_size = int(args.max_events/args.n_jobs)
 
list cmd
 
tuple cms_process = mps_tools.get_process_object(args.config_template)
 
list event_options = ["--skip-events", str(chunk_size*(j-1))]
 
list existing_backups = [bu_regex.search(item) for item in backups]
 
list existing_jobs = [job_regex.search(item) for item in jobs]
 
string help = "setup pede merge job"
 
 i = j+nJobExist
 
tuple job_regex = re.compile(r"job([0-9]{3})")
 
string jobdir = "job{0:03d}"
 
tuple jobs = os.listdir("jobData")
 
tuple lib = mpslib.jobdatabase()
 
tuple max_events
 
int nJobExist = 0
 
 nJobsMerge = args.n_jobs+nJobExist
 
tuple parser = argparse.ArgumentParser(description = "Setup local mps database")
 
tuple pedeMemDef = cms_process.AlignmentProducer.algoConfig.pedeSteerer.pedeCommand.value()
 
int pedeMemMin = 1024
 
string ScriptCfg = "ScriptsAndCfg{0:03d}"
 
string theIsn = "{0:03d}"
 
tuple theJobData = os.path.abspath("jobData")
 
 tmpBatchScript = lib.batchScript
 
 tmpCfgTemplate = lib.cfgTemplate
 
 tmpClass = lib.classInf
 
 tmpDriver = lib.driver
 
 tmpInfiList = lib.infiList
 
 tmpMergeScript = lib.mergeScript
 
 tmpNJobs = lib.nJobs
 

Variable Documentation

string mps_setup.action = "store_true"

Definition at line 18 of file mps_setup.py.

tuple mps_setup.allowed_mille_classes
Initial value:
1 = ("lxplus", "cmscaf1nh", "cmscaf1nd", "cmscaf1nw",
2  "cmscafspec1nh", "cmscafspec1nd", "cmscafspec1nw",
3  "8nm", "1nh", "8nh", "1nd", "2nd", "1nw", "2nw",
4  "cmsexpress","htcondor_cafalca_espresso","htcondor_espresso",
5  "htcondor_cafalca_microcentury","htcondor_microcentury",
6  "htcondor_cafalca_longlunch", "htcondor_longlunch",
7  "htcondor_cafalca_workday", "htcondor_workday",
8  "htcondor_cafalca_tomorrow", "htcondor_tomorrow",
9  "htcondor_cafalca_testmatch", "htcondor_testmatch",
10  "htcondor_cafalca_nextweek", "htcondor_nextweek")

Definition at line 87 of file mps_setup.py.

tuple mps_setup.allowed_pede_classes
Initial value:
1 = ("lxplus", "cmscaf1nh", "cmscaf1nd", "cmscaf1nw",
2  "cmscafspec1nh", "cmscafspec1nd", "cmscafspec1nw",
3  "8nm", "1nh", "8nh", "1nd", "2nd", "1nw", "2nw",
4  "htcondor_bigmem_espresso",
5  "htcondor_bigmem_microcentury",
6  "htcondor_bigmem_longlunch",
7  "htcondor_bigmem_workday",
8  "htcondor_bigmem_tomorrow",
9  "htcondor_bigmem_testmatch",
10  "htcondor_bigmem_nextweek")

Definition at line 104 of file mps_setup.py.

tuple mps_setup.args = parser.parse_args(sys.argv[1:])

Definition at line 54 of file mps_setup.py.

tuple mps_setup.backups = os.listdir("jobData")

Definition at line 323 of file mps_setup.py.

tuple mps_setup.bu_regex = re.compile(r"ScriptsAndCfg([0-9]{3})\.tar")

Definition at line 324 of file mps_setup.py.

tuple mps_setup.chunk_size = int(args.max_events/args.n_jobs)

Definition at line 261 of file mps_setup.py.

list mps_setup.cmd
Initial value:
1 = ["mps_split.pl", args.input_file_list,
2  str(j if args.max_events is None else 1),
3  str(args.n_jobs if args.max_events is None else 1)]
#define str(s)

Definition at line 244 of file mps_setup.py.

Referenced by WatcherStreamFileReader.closeFile(), WatcherStreamFileReader.getInputFile(), and RunManagerMT.initG4().

tuple mps_setup.cms_process = mps_tools.get_process_object(args.config_template)

Definition at line 139 of file mps_setup.py.

list mps_setup.event_options = ["--skip-events", str(chunk_size*(j-1))]

Definition at line 262 of file mps_setup.py.

list mps_setup.existing_backups = [bu_regex.search(item) for item in backups]

Definition at line 325 of file mps_setup.py.

list mps_setup.existing_jobs = [job_regex.search(item) for item in jobs]

Definition at line 164 of file mps_setup.py.

string mps_setup.help = "setup pede merge job"

Definition at line 19 of file mps_setup.py.

tuple mps_setup.i = j+nJobExist

Definition at line 175 of file mps_setup.py.

tuple mps_setup.job_regex = re.compile(r"job([0-9]{3})")

Definition at line 163 of file mps_setup.py.

string mps_setup.jobdir = "job{0:03d}"

Definition at line 176 of file mps_setup.py.

tuple mps_setup.jobs = os.listdir("jobData")

Definition at line 162 of file mps_setup.py.

Referenced by main().

tuple mps_setup.lib = mpslib.jobdatabase()

Definition at line 58 of file mps_setup.py.

tuple mps_setup.max_events
Initial value:
1 = (args.max_events - (args.n_jobs-1)*chunk_size
2  if j == args.n_jobs # last job gets the remaining events
3  else chunk_size)

Definition at line 263 of file mps_setup.py.

Referenced by HltDiff.compare().

int mps_setup.nJobExist = 0

Definition at line 159 of file mps_setup.py.

mps_setup.nJobsMerge = args.n_jobs+nJobExist

Definition at line 304 of file mps_setup.py.

tuple mps_setup.parser = argparse.ArgumentParser(description = "Setup local mps database")

Definition at line 16 of file mps_setup.py.

tuple mps_setup.pedeMemDef = cms_process.AlignmentProducer.algoConfig.pedeSteerer.pedeCommand.value()

Definition at line 140 of file mps_setup.py.

int mps_setup.pedeMemMin = 1024

Definition at line 134 of file mps_setup.py.

tuple mps_setup.ScriptCfg = "ScriptsAndCfg{0:03d}"

Definition at line 328 of file mps_setup.py.

string mps_setup.theIsn = "{0:03d}"

Definition at line 254 of file mps_setup.py.

tuple mps_setup.theJobData = os.path.abspath("jobData")

Definition at line 181 of file mps_setup.py.

mps_setup.tmpBatchScript = lib.batchScript

Definition at line 186 of file mps_setup.py.

mps_setup.tmpCfgTemplate = lib.cfgTemplate

Definition at line 187 of file mps_setup.py.

mps_setup.tmpClass = lib.classInf

Definition at line 190 of file mps_setup.py.

mps_setup.tmpDriver = lib.driver

Definition at line 192 of file mps_setup.py.

mps_setup.tmpInfiList = lib.infiList

Definition at line 188 of file mps_setup.py.

mps_setup.tmpMergeScript = lib.mergeScript

Definition at line 191 of file mps_setup.py.

mps_setup.tmpNJobs = lib.nJobs

Definition at line 189 of file mps_setup.py.