CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DTDQMValidation.DTDQMValidation Class Reference

Public Member Functions

def __init__ (self, run, dir, config)
 
def initCrab (self)
 
def initProcess (self)
 
def run (self)
 
def writeCfg (self)
 

Public Attributes

 config
 
 crab_cfg
 
 dir
 
 outputfile
 
 process
 
 project
 
 pset_name
 
 pset_template
 
 task
 

Detailed Description

Definition at line 6 of file DTDQMValidation.py.

Constructor & Destructor Documentation

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

Definition at line 8 of file DTDQMValidation.py.

8  def __init__(self, run, dir, config):
9  self.outputfile = 'DQM.root'
10  self.config = config
11  self.dir = dir
12  #self.inputdb = input_db
13 
14  self.pset_name = 'dtDQM_cfg.py'
15  self.pset_template = 'CalibMuon.DTCalibration.dtDQMAlca_cfg'
16  if hasattr(self.config,'runOnCosmics') and self.config.runOnCosmics:
17  self.pset_template = 'CalibMuon.DTCalibration.dtDQMAlca_cosmics_cfg'
18 
19  self.process = None
20  self.crab_cfg = None
21  self.initProcess()
22  self.initCrab()
23  self.task = CrabTask(self.dir,self.crab_cfg)
24 
def __init__(self, run, dir, config)

Member Function Documentation

def DTDQMValidation.DTDQMValidation.initCrab (   self)

Definition at line 66 of file DTDQMValidation.py.

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

66  def initCrab(self):
67  crab_cfg_parser = loadCrabCfg()
68  loadCrabDefault(crab_cfg_parser,self.config)
69  crab_cfg_parser.set('CMSSW','pset',self.pset_name)
70  crab_cfg_parser.set('CMSSW','output_file',self.outputfile)
71  crab_cfg_parser.remove_option('USER','additional_input_files')
72  #if self.inputdb:
73  # addCrabInputFile(crab_cfg_parser,self.inputdb)
74  if hasattr(self.config,'inputTTrigDB') and self.config.inputTTrigDB:
75  addCrabInputFile(crab_cfg_parser,self.config.inputTTrigDB)
76 
77  if hasattr(self.config,'inputVDriftDB') and self.config.inputVDriftDB:
78  addCrabInputFile(crab_cfg_parser,self.config.inputVDriftDB)
79 
80  if hasattr(self.config,'inputT0DB') and self.config.inputT0DB:
81  addCrabInputFile(crab_cfg_parser,self.config.inputT0DB)
82 
83  self.crab_cfg = crab_cfg_parser
84 
def loadCrabCfg(cfgName=None)
Definition: tools.py:178
def loadCrabDefault(crabCfg, config)
Definition: tools.py:195
def addCrabInputFile(crabCfg, inputFile)
Definition: tools.py:183
def DTDQMValidation.DTDQMValidation.initProcess (   self)
def DTDQMValidation.DTDQMValidation.run (   self)

Definition at line 89 of file DTDQMValidation.py.

Referenced by Types.EventID.cppID(), Types.LuminosityBlockID.cppID(), and o2olib.O2OTool.execute().

89  def run(self):
90  self.project = self.task.run()
91  return self.project

Member Data Documentation

DTDQMValidation.DTDQMValidation.process

Definition at line 19 of file DTDQMValidation.py.

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), DTValidSummary.DTValidSummary.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), DTDQMValidation.DTDQMValidation.initProcess(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), runTauIdMVA.TauIDEmbedder.processDeepProducer(), 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(), DTTTrigCorrFirst.DTTTrigCorrFirst.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), DTDQMValidation.DTDQMValidation.writeCfg(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg().

DTDQMValidation.DTDQMValidation.project

Definition at line 90 of file DTDQMValidation.py.

DTDQMValidation.DTDQMValidation.task

Definition at line 23 of file DTDQMValidation.py.