CMS 3D CMS Logo

Public Member Functions

Impl::relvalmcfs::relvalmcfs Class Reference

Inherits Configuration::DataProcessing::Scenario::Scenario.

List of all members.

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.

00026                                                                       :
00027         """
00028         _dqmHarvesting_
00029 
00030         DQM Harvesting for RelVal MC production
00031 
00032         """
00033         options = defaultOptions
00034         options.scenario = "pp"
00035         options.step = "HARVESTING:validationHarvestingFS"
00036         options.isMC = True
00037         options.isData = False
00038         options.beamspot = None
00039         options.name = "EDMtoMEConvert"
00040         options.conditions = globalTag
00041  
00042         process = cms.Process("HARVESTING")
00043         process.source = cms.Source("PoolSource")
00044         configBuilder = ConfigBuilder(options, process = process)
00045         configBuilder.prepare()
00046 
00047         #
00048         # customise process for particular job
00049         #
00050         process.source.processingMode = cms.untracked.string('RunsAndLumis')
00051         process.source.fileNames = cms.untracked(cms.vstring())
00052         process.maxEvents.input = -1
00053         process.dqmSaver.workflow = datasetName
00054         if args.has_key('referenceFile') and args.get('referenceFile', ''):
00055             process.DQMStore.referenceFileName = \
00056                                 cms.untracked.string(args['referenceFile'])
00057         
00058         return process