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 19 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 27 of file relvalmc.py.

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