CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
DTTTrigProd.DTTTrigProd Class Reference

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
 

Static Public Attributes

 connect = self.config.connectStrDBTag
 
string moduleName = 'customDB%s'
 
 moduleName = tag,
 
tuple pathsequence = self.config.preselection.split(':')
 
 record = self.config.inputDBRcd
 
tuple seqname = self.config.preselection.split(':')
 
 tag = self.config.inputDBTag
 

Detailed Description

Definition at line 5 of file DTTTrigProd.py.

Constructor & Destructor Documentation

def DTTTrigProd.DTTTrigProd.__init__ (   self,
  run,
  dir,
  config 
)

Definition at line 6 of file DTTTrigProd.py.

6 
7  def __init__(self, run, dir, config):
8  self.pset_name = 'dtTTrigCalibration_cfg.py'
9  self.outputfile = 'DTTimeBoxes.root'
10  self.config = config
11  self.dir = dir
12  self.pset_template = 'CalibMuon.DTCalibration.dtTTrigCalibration_cfg'
13  self.process = None
14  self.crab_cfg = None
15 
16  self.pset_template = 'CalibMuon.DTCalibration.dtTTrigCalibration_cfg'
17  if hasattr(self.config,'runOnCosmics') and self.config.runOnCosmics:
18  self.pset_template = 'CalibMuon.DTCalibration.dtTTrigCalibration_cosmics_cfg'
19 
20  self.initProcess()
21  self.initCrab()
22  self.task = CrabTask(self.dir,self.crab_cfg)

Member Function Documentation

def DTTTrigProd.DTTTrigProd.initCrab (   self)

Definition at line 49 of file DTTTrigProd.py.

References DTTTrigProd.DTTTrigProd.config, DTAnalysisResiduals.DTAnalysisResiduals.config, DTDqm.DTDqm.config, DTDQMMerge.DTDQMMerge.config, DTDQMValidation.DTDQMValidation.config, DTResidualCalibration.DTResidualCalibration.config, DTTTrigCorrFirst.DTTTrigCorrFirst.config, DTDQMHarvesting.DTDQMHarvesting.config, DTNoiseCalibration.DTNoiseCalibration.config, DTT0DBValidation.DTT0DBValidation.config, plottingOptions.BasePlottingOptions.config, preexistingValidation.PreexistingValidation.config, geometry.Alignables.config, DTCalibrationWorker.DTCalibrationWorker.config, genericValidation.GenericValidation.config, DTTTrigProd.DTTTrigProd.crab_cfg, CrabTask.CrabTask.crab_cfg, DTAnalysisResiduals.DTAnalysisResiduals.crab_cfg, DTNoiseCalibration.DTNoiseCalibration.crab_cfg, DTResidualCalibration.DTResidualCalibration.crab_cfg, DTDQMValidation.DTDQMValidation.crab_cfg, tools.loadCrabCfg(), tools.loadCrabDefault(), DTTTrigProd.DTTTrigProd.outputfile, DTAnalysisResiduals.DTAnalysisResiduals.outputfile, DTDQMValidation.DTDQMValidation.outputfile, DTResidualCalibration.DTResidualCalibration.outputfile, DTTTrigProd.DTTTrigProd.pset_name, DTResidualCalibration.DTResidualCalibration.pset_name, DTAnalysisResiduals.DTAnalysisResiduals.pset_name, DTNoiseCalibration.DTNoiseCalibration.pset_name, DTDQMMerge.DTDQMMerge.pset_name, DTDqm.DTDqm.pset_name, DTDQMValidation.DTDQMValidation.pset_name, DTDQMHarvesting.DTDQMHarvesting.pset_name, and CrabTask.CrabTask.pset_name.

49 
50  def initCrab(self):
51  crab_cfg_parser = loadCrabCfg()
52  crab_cfg_parser = loadCrabDefault(crab_cfg_parser,self.config)
53  crab_cfg_parser.set('CMSSW','pset',self.pset_name)
54  crab_cfg_parser.set('CMSSW','output_file',self.outputfile)
55  self.crab_cfg = crab_cfg_parser
def loadCrabDefault
Definition: tools.py:195
def loadCrabCfg
Definition: tools.py:178
def DTTTrigProd.DTTTrigProd.initProcess (   self)

Definition at line 23 of file DTTTrigProd.py.

References DTTTrigProd.DTTTrigProd.config, DTAnalysisResiduals.DTAnalysisResiduals.config, DTDQMMerge.DTDQMMerge.config, DTDQMValidation.DTDQMValidation.config, DTResidualCalibration.DTResidualCalibration.config, DTDqm.DTDqm.config, DTDQMHarvesting.DTDQMHarvesting.config, DTNoiseCalibration.DTNoiseCalibration.config, DTT0DBValidation.DTT0DBValidation.config, DTTTrigCorrFirst.DTTTrigCorrFirst.config, plottingOptions.BasePlottingOptions.config, preexistingValidation.PreexistingValidation.config, geometry.Alignables.config, genericValidation.GenericValidation.config, DTCalibrationWorker.DTCalibrationWorker.config, tools.loadCmsProcess(), DTTTrigProd.DTTTrigProd.outputfile, DTAnalysisResiduals.DTAnalysisResiduals.outputfile, DTDQMValidation.DTDQMValidation.outputfile, DTResidualCalibration.DTResidualCalibration.outputfile, DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTDQMValidation.DTDQMValidation.process, DTT0DBValidation.DTT0DBValidation.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigProd.DTTTrigProd.pset_template, DTAnalysisResiduals.DTAnalysisResiduals.pset_template, DTNoiseCalibration.DTNoiseCalibration.pset_template, DTDQMMerge.DTDQMMerge.pset_template, DTT0DBValidation.DTT0DBValidation.pset_template, DTResidualCalibration.DTResidualCalibration.pset_template, DTDqm.DTDqm.pset_template, DTDQMValidation.DTDQMValidation.pset_template, and DTDQMHarvesting.DTDQMHarvesting.pset_template.

23 
24  def initProcess(self):
26  self.process.GlobalTag.globaltag = self.config.globaltag
27  self.process.dtTTrigCalibration.rootFileName = self.outputfile
28  self.process.dtTTrigCalibration.digiLabel = self.config.digilabel
def loadCmsProcess
Definition: tools.py:144
def DTTTrigProd.DTTTrigProd.run (   self)

Definition at line 60 of file DTTTrigProd.py.

Referenced by Types.EventID.cppID(), and Types.LuminosityBlockID.cppID().

60 
61  def run(self):
62  self.project = self.task.run()
63  return self.project
def DTTTrigProd.DTTTrigProd.writeCfg (   self)

Definition at line 56 of file DTTTrigProd.py.

References CmsswTask.CmsswTask.dir, DTDQMMerge.DTDQMMerge.dir, DTDqm.DTDqm.dir, DTT0DBValidation.DTT0DBValidation.dir, DTDQMHarvesting.DTDQMHarvesting.dir, DTTTrigProd.DTTTrigProd.dir, CrabTask.CrabTask.dir, DTDQMValidation.DTDQMValidation.dir, DTResidualCalibration.DTResidualCalibration.dir, DTAnalysisResiduals.DTAnalysisResiduals.dir, DTNoiseCalibration.DTNoiseCalibration.dir, DTTTrigCorrFirst.DTTTrigCorrFirst.dir, DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTDQMValidation.DTDQMValidation.process, DTT0DBValidation.DTT0DBValidation.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigProd.DTTTrigProd.pset_name, DTNoiseCalibration.DTNoiseCalibration.pset_name, DTAnalysisResiduals.DTAnalysisResiduals.pset_name, DTResidualCalibration.DTResidualCalibration.pset_name, DTDQMMerge.DTDQMMerge.pset_name, DTDqm.DTDqm.pset_name, DTDQMValidation.DTDQMValidation.pset_name, DTDQMHarvesting.DTDQMHarvesting.pset_name, and CrabTask.CrabTask.pset_name.

56 
57  def writeCfg(self):
58  writeCfg(self.process,self.dir,self.pset_name)
59  #writeCfgPkl(self.process,self.dir,self.pset_name)

Member Data Documentation

DTTTrigProd.DTTTrigProd.config

Definition at line 9 of file DTTTrigProd.py.

Referenced by DTTTrigProd.DTTTrigProd.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), and DTTTrigValid.DTTTrigValid.initProcess().

DTTTrigProd.DTTTrigProd.connect = self.config.connectStrDBTag
static

Definition at line 32 of file DTTTrigProd.py.

Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea.__init__(), Vispa.Views.PropertyView.BooleanProperty.__init__(), Vispa.Gui.FindDialog.FindDialog._addScript(), Vispa.Gui.FindDialog.FindDialog._addStringProperty(), Vispa.Main.Application.Application._connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView._createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog.addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer.addWidget(), Vispa.Views.PropertyView.PropertyView.append(), Vispa.Views.PropertyView.PropertyView.appendAddRow(), Vispa.Main.Application.Application.createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createButton(), Vispa.Views.LineDecayView.LineDecayView.createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.find(), Vispa.Gui.PortWidget.PortWidget.mouseMoveEvent(), confdbOfflineConverter.OfflineConverter.query(), Vispa.Views.PropertyView.BooleanProperty.setChecked(), Vispa.Main.SplitterTab.SplitterTab.setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab.setController(), Vispa.Views.PropertyView.BooleanProperty.setReadOnly(), Vispa.Views.PropertyView.DropDownProperty.setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty.setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.setTab(), Vispa.Views.PropertyView.IntegerProperty.setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController.updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.updateViewMenu().

DTTTrigProd.DTTTrigProd.crab_cfg

Definition at line 13 of file DTTTrigProd.py.

Referenced by DTTTrigProd.DTTTrigProd.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab().

DTTTrigProd.DTTTrigProd.dir

Definition at line 10 of file DTTTrigProd.py.

Referenced by Inspector.Inspector.GetListObjects(), DTValidSummary.DTValidSummary.writeCfg(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg().

string DTTTrigProd.DTTTrigProd.moduleName = 'customDB%s'
static

Definition at line 33 of file DTTTrigProd.py.

DTTTrigProd.DTTTrigProd.moduleName = tag,
static

Definition at line 35 of file DTTTrigProd.py.

DTTTrigProd.DTTTrigProd.outputfile

Definition at line 8 of file DTTTrigProd.py.

Referenced by DTTTrigProd.DTTTrigProd.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess().

tuple DTTTrigProd.DTTTrigProd.pathsequence = self.config.preselection.split(':')
static

Definition at line 44 of file DTTTrigProd.py.

DTTTrigProd.DTTTrigProd.process

Definition at line 12 of file DTTTrigProd.py.

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), DTValidSummary.DTValidSummary.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), ConfigBuilder.ConfigBuilder.scheduleSequence(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProcess(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProperty(), DTValidSummary.DTValidSummary.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.writeCfg(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg().

DTTTrigProd.DTTTrigProd.project

Definition at line 61 of file DTTTrigProd.py.

DTTTrigProd.DTTTrigProd.pset_name

Definition at line 7 of file DTTTrigProd.py.

Referenced by DTTTrigProd.DTTTrigProd.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTValidSummary.DTValidSummary.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg().

DTTTrigProd.DTTTrigProd.pset_template

Definition at line 11 of file DTTTrigProd.py.

Referenced by DTValidSummary.DTValidSummary.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), and DTTTrigValid.DTTTrigValid.initProcess().

DTTTrigProd.DTTTrigProd.record = self.config.inputDBRcd
static

Definition at line 31 of file DTTTrigProd.py.

tuple DTTTrigProd.DTTTrigProd.seqname = self.config.preselection.split(':')
static

Definition at line 45 of file DTTTrigProd.py.

DTTTrigProd.DTTTrigProd.tag = self.config.inputDBTag
static

Definition at line 30 of file DTTTrigProd.py.

Referenced by Inspector.Inspector.SetTag().

DTTTrigProd.DTTTrigProd.task

Definition at line 21 of file DTTTrigProd.py.