![]() |
![]() |
Inherits Configuration::DataProcessing::Scenario::Scenario.
Public Member Functions | |
def | dqmHarvesting |
_relvalmc_ Implement configuration building for RelVal MC production
Definition at line 16 of file relvalmc.py.
def Impl::relvalmc::relvalmc::dqmHarvesting | ( | self, | |
datasetName, | |||
runNumber, | |||
globalTag, | |||
args | |||
) |
_dqmHarvesting_ DQM Harvesting for RelVal MC production
Definition at line 24 of file relvalmc.py.
00025 : 00026 """ 00027 _dqmHarvesting_ 00028 00029 DQM Harvesting for RelVal MC production 00030 00031 """ 00032 options = defaultOptions 00033 options.scenario = "pp" 00034 options.step = "HARVESTING:validationHarvesting+dqmHarvesting" 00035 options.isMC = True 00036 options.isData = False 00037 options.beamspot = None 00038 options.eventcontent = None 00039 options.name = "EDMtoMEConvert" 00040 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00041 options.arguments = "" 00042 options.evt_type = "" 00043 options.filein = [] 00044 00045 process = cms.Process("HARVESTING") 00046 process.source = cms.Source("PoolSource") 00047 configBuilder = ConfigBuilder(options, process = process) 00048 configBuilder.prepare() 00049 00050 # 00051 # customise process for particular job 00052 # 00053 process.source.processingMode = cms.untracked.string('RunsAndLumis') 00054 process.source.fileNames = cms.untracked(cms.vstring()) 00055 process.maxEvents.input = -1 00056 process.dqmSaver.workflow = datasetName 00057 if args.has_key('referenceFile') and args.get('referenceFile', ''): 00058 process.DQMStore.referenceFileName = \ 00059 cms.untracked.string(args['referenceFile']) 00060 00061 return process