Public Member Functions | |
def | __init__ |
def | initCrab |
def | initProcess |
def | run |
def | writeCfg |
Public Attributes | |
config | |
crab_cfg | |
dir | |
outputfile | |
process | |
project | |
pset_name | |
pset_template | |
task |
Definition at line 5 of file DTTTrigProd.py.
def DTTTrigProd::DTTTrigProd::__init__ | ( | self, | |
run, | |||
dir, | |||
config | |||
) |
Definition at line 6 of file DTTTrigProd.py.
00007 : 00008 self.pset_name = 'dtTTrigCalibration_cfg.py' 00009 self.outputfile = 'DTTimeBoxes.root' 00010 self.config = config 00011 self.dir = dir 00012 self.pset_template = 'CalibMuon.DTCalibration.dtTTrigCalibration_cfg' 00013 self.process = None 00014 self.crab_cfg = None 00015 00016 self.initProcess() 00017 self.initCrab() 00018 self.task = CrabTask(self.dir,self.crab_cfg)
def DTTTrigProd::DTTTrigProd::initCrab | ( | self | ) |
Definition at line 36 of file DTTTrigProd.py.
def DTTTrigProd::DTTTrigProd::initProcess | ( | self | ) |
Definition at line 19 of file DTTTrigProd.py.
00020 : 00021 self.process = loadCmsProcess(self.pset_template) 00022 self.process.GlobalTag.globaltag = self.config.globaltag 00023 self.process.dtTTrigCalibration.rootFileName = self.outputfile 00024 self.process.dtTTrigCalibration.digiLabel = self.config.digilabel 00025 if hasattr(self.config,'runOnCosmics') and self.config.runOnCosmics: 00026 self.process.load('RecoLocalMuon.Configuration.RecoLocalMuonCosmics_cff') 00027 00028 if hasattr(self.config,'runOnRAW') and self.config.runOnRAW: 00029 prependPaths(self.process,self.config.digilabel) 00030 00031 if hasattr(self.config,'preselection') and self.config.preselection: 00032 pathsequence = self.config.preselection.split(':')[0] 00033 seqname = self.config.preselection.split(':')[1] 00034 self.process.load(pathsequence) 00035 prependPaths(self.process,seqname)
def DTTTrigProd::DTTTrigProd::run | ( | self | ) |
Definition at line 47 of file DTTTrigProd.py.
def DTTTrigProd::DTTTrigProd::writeCfg | ( | self | ) |
Definition at line 43 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 47 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.
Definition at line 6 of file DTTTrigProd.py.