CMS 3D CMS Logo

Public Member Functions

Impl::relvalmc::relvalmc Class Reference

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

List of all members.

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.

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