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 20 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 29 of file relvalmcfs.py.

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