Inherits Configuration::DataProcessing::Scenario::Scenario.
Public Member Functions | |
def | dqmHarvesting |
_prodmc_ Implement configuration building for MC production
def Impl::prodmc::prodmc::dqmHarvesting | ( | self, | |
datasetName, | |||
runNumber, | |||
globalTag, | |||
args | |||
) |
_dqmHarvesting_ DQM Harvesting for MC production
Definition at line 28 of file prodmc.py.
00029 : 00030 """ 00031 _dqmHarvesting_ 00032 00033 DQM Harvesting for MC production 00034 00035 """ 00036 options = defaultOptions 00037 options.scenario = "pp" 00038 options.step = "HARVESTING:validationprodHarvesting" 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 00049 process = cms.Process("HARVESTING") 00050 if args.get('newDQMIO', False): 00051 process.source = cms.Source("DQMRootSource") 00052 else: 00053 process.source = cms.Source("PoolSource") 00054 configBuilder = ConfigBuilder(options, process = process) 00055 configBuilder.prepare() 00056 00057 # 00058 # customise process for particular job 00059 # 00060 process.source.processingMode = cms.untracked.string('RunsAndLumis') 00061 process.source.fileNames = cms.untracked(cms.vstring()) 00062 process.maxEvents.input = -1 00063 process.dqmSaver.workflow = datasetName 00064 if args.has_key('referenceFile') and args.get('referenceFile', ''): 00065 process.DQMStore.referenceFileName = \ 00066 cms.untracked.string(args['referenceFile']) 00067 00068 return process