CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
Impl.relvalmc.relvalmc Class Reference
Inheritance diagram for Impl.relvalmc.relvalmc:

Public Member Functions

def dqmHarvesting
 

Detailed Description

_relvalmc_

Implement configuration building for RelVal MC production 

Definition at line 16 of file relvalmc.py.

Member Function Documentation

def Impl.relvalmc.relvalmc.dqmHarvesting (   self,
  datasetName,
  runNumber,
  globalTag,
  args 
)
_dqmHarvesting_

DQM Harvesting for RelVal MC production

Definition at line 24 of file relvalmc.py.

24 
25  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
26  """
27  _dqmHarvesting_
28 
29  DQM Harvesting for RelVal MC production
30 
31  """
32  options = defaultOptions
33  options.scenario = "pp"
34  options.step = "HARVESTING:validationHarvesting+dqmHarvesting"
35  options.isMC = True
36  options.isData = False
37  options.beamspot = None
38  options.eventcontent = None
39  options.name = "EDMtoMEConvert"
40  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
41  options.arguments = ""
42  options.evt_type = ""
43  options.filein = []
44 
45  process = cms.Process("HARVESTING")
46  process.source = cms.Source("PoolSource")
47  configBuilder = ConfigBuilder(options, process = process)
48  configBuilder.prepare()
49 
50  #
51  # customise process for particular job
52  #
53  process.source.processingMode = cms.untracked.string('RunsAndLumis')
54  process.source.fileNames = cms.untracked(cms.vstring())
55  process.maxEvents.input = -1
56  process.dqmSaver.workflow = datasetName
57  if args.has_key('referenceFile') and args.get('referenceFile', ''):
58  process.DQMStore.referenceFileName = \
59  cms.untracked.string(args['referenceFile'])
60 
61  return process