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.relvalmcfs.relvalmcfs Class Reference
Inheritance diagram for Impl.relvalmcfs.relvalmcfs:

Public Member Functions

def dqmHarvesting
 

Detailed Description

_relvalmcfs_

Implement configuration building for RelVal MC FastSim production 

Definition at line 16 of file relvalmcfs.py.

Member Function Documentation

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

DQM Harvesting for RelVal MC production

Definition at line 25 of file relvalmcfs.py.

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