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 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.

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