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