Public Member Functions | |
def | __init__ |
def | create |
def | getoutput |
def | initializeTask |
def | run |
def | submit |
Public Attributes | |
crab_cfg | |
crabCfg_name | |
dir | |
project | |
pset | |
pset_name |
Definition at line 7 of file CrabTask.py.
def CrabTask::CrabTask::__init__ | ( | self, | |
dir, | |||
crab_cfg, | |||
pset = None , |
|||
pset_name = 'mypset.py' |
|||
) |
Definition at line 8 of file CrabTask.py.
def CrabTask::CrabTask::create | ( | self, | |
dir | |||
) |
Definition at line 30 of file CrabTask.py.
def CrabTask::CrabTask::getoutput | ( | self | ) |
Definition at line 38 of file CrabTask.py.
def CrabTask::CrabTask::initializeTask | ( | self, | |
dir | |||
) |
Definition at line 19 of file CrabTask.py.
00020 : 00021 if not os.path.exists(dir): os.makedirs(dir) 00022 00023 # Write pset 00024 if self.pset: 00025 self.crab_cfg.set('CMSSW','pset',self.pset_name) 00026 open(dir + '/' + self.pset_name,'w').write(self.pset) 00027 00028 # Write CRAB cfg 00029 self.crab_cfg.write(open(dir + '/' + self.crabCfg_name,'w'))
def CrabTask::CrabTask::run | ( | self | ) |
Definition at line 46 of file CrabTask.py.
def CrabTask::CrabTask::submit | ( | self | ) |
Definition at line 34 of file CrabTask.py.
Definition at line 8 of file CrabTask.py.
Definition at line 8 of file CrabTask.py.
Definition at line 8 of file CrabTask.py.
Definition at line 30 of file CrabTask.py.
Definition at line 8 of file CrabTask.py.
Definition at line 8 of file CrabTask.py.