Public Member Functions | |
def | __init__ (self) |
def | cert_info (self) |
def | check_crabtask (self) |
def | crab (self) |
def | crab_config_filename (self) |
def | crab_config_filepath (self) |
def | crab_taskname (self) |
def | create_crab_config (self) |
def | fill_options_from_crab_config (self) |
def | submit_crab_task (self) |
def | voms_proxy_create (self, passphrase=None) |
def | voms_proxy_time_left (self) |
def | write_crabConfig (self) |
Public Attributes | |
crab_config | |
crabFunctions | |
Private Attributes | |
_cert_info | |
_crab | |
Definition at line 13 of file CrabHelper.py.
def CrabHelper.CrabHelper.__init__ | ( | self | ) |
Definition at line 15 of file CrabHelper.py.
def CrabHelper.CrabHelper.cert_info | ( | self | ) |
Definition at line 215 of file CrabHelper.py.
References CrabHelper.CrabHelper._cert_info, CrabHelper.CrabHelper.crabFunctions, CrabHelper.CrabHelper.voms_proxy_create(), and CrabHelper.CrabHelper.voms_proxy_time_left().
Referenced by CrabHelper.CrabHelper.crab().
def CrabHelper.CrabHelper.check_crabtask | ( | self | ) |
Definition at line 51 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filepath(), CrabHelper.CrabHelper.crabFunctions, DTWorkflow.DTWorkflow.get_output_files(), tools.getTerminalSize(), createfilelist.int, join(), DTWorkflow.DTWorkflow.local_path(), TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, print(), isotrackApplyRegressor.range, and tools.stdinWait().
Referenced by DTWorkflow.DTWorkflow.check().
def CrabHelper.CrabHelper.crab | ( | self | ) |
Retuns a CrabController instance from cache or creates new on on first call
Definition at line 204 of file CrabHelper.py.
References CrabHelper.CrabHelper._crab, CrabHelper.CrabHelper.cert_info(), and CrabHelper.CrabHelper.crabFunctions.
Referenced by DTWorkflow.DTWorkflow.get_output_files(), CrabHelper.CrabHelper.submit_crab_task(), and DTWorkflow.DTWorkflow.user().
def CrabHelper.CrabHelper.crab_config_filename | ( | self | ) |
Definition at line 226 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_taskname(), TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTWorkflow.DTWorkflow.options, DTCalibrationWorker.DTCalibrationWorker.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), and edmIntegrityCheck.IntegrityCheck.options.
Referenced by CrabHelper.CrabHelper.crab_config_filepath(), CrabHelper.CrabHelper.fill_options_from_crab_config(), and CrabHelper.CrabHelper.write_crabConfig().
def CrabHelper.CrabHelper.crab_config_filepath | ( | self | ) |
Definition at line 232 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filename(), DTWorkflow.DTWorkflow.local_path(), TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTWorkflow.DTWorkflow.options, DTCalibrationWorker.DTCalibrationWorker.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), and edmIntegrityCheck.IntegrityCheck.options.
Referenced by CrabHelper.CrabHelper.check_crabtask(), DTWorkflow.DTWorkflow.prepare_common_write(), DTVdriftWorkflow.DTvdriftWorkflow.prepare_meantimer_dump(), and DTVdriftWorkflow.DTvdriftWorkflow.prepare_segment_dump().
def CrabHelper.CrabHelper.crab_taskname | ( | self | ) |
Definition at line 237 of file CrabHelper.py.
References TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, and str.
Referenced by CrabHelper.CrabHelper.crab_config_filename().
def CrabHelper.CrabHelper.create_crab_config | ( | self | ) |
Create a crab config object dependent on the chosen command option
Definition at line 122 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.submit_crab_task().
def CrabHelper.CrabHelper.fill_options_from_crab_config | ( | self | ) |
Definition at line 191 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filename(), createfilelist.int, TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTWorkflow.DTWorkflow.options, DTCalibrationWorker.DTCalibrationWorker.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, and submitPVValidationJobs.split().
def CrabHelper.CrabHelper.submit_crab_task | ( | self | ) |
Definition at line 23 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab(), CrabHelper.CrabHelper.crabFunctions, CrabHelper.CrabHelper.create_crab_config(), TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTWorkflow.DTWorkflow.options, DTCalibrationWorker.DTCalibrationWorker.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, submitPVValidationJobs.submit(), and CrabHelper.CrabHelper.write_crabConfig().
Referenced by DTWorkflow.DTWorkflow.submit().
def CrabHelper.CrabHelper.voms_proxy_create | ( | self, | |
passphrase = None |
|||
) |
Definition at line 106 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.cert_info().
def CrabHelper.CrabHelper.voms_proxy_time_left | ( | self | ) |
Definition at line 97 of file CrabHelper.py.
References createfilelist.int.
Referenced by CrabHelper.CrabHelper.cert_info().
def CrabHelper.CrabHelper.write_crabConfig | ( | self | ) |
Write crab config file in working dir with label option as name
Definition at line 179 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config, CrabHelper.CrabHelper.crab_config_filename(), DTWorkflow.DTWorkflow.local_path(), TestSourceProcess.TestSourceProcess.options, cmsswPreprocessor.CmsswPreprocessor.options, DTWorkflow.DTWorkflow.options, DTCalibrationWorker.DTCalibrationWorker.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), and edmIntegrityCheck.IntegrityCheck.options.
Referenced by CrabHelper.CrabHelper.submit_crab_task().
|
private |
Definition at line 21 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.cert_info().
|
private |
Definition at line 20 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.crab().
CrabHelper.CrabHelper.crab_config |
Definition at line 125 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.write_crabConfig().
CrabHelper.CrabHelper.crabFunctions |
Definition at line 18 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.cert_info(), CrabHelper.CrabHelper.check_crabtask(), CrabHelper.CrabHelper.crab(), DTWorkflow.DTWorkflow.prepare_common_write(), DTVdriftWorkflow.DTvdriftWorkflow.prepare_meantimer_dump(), DTVdriftWorkflow.DTvdriftWorkflow.prepare_segment_dump(), and CrabHelper.CrabHelper.submit_crab_task().