Inherits Configuration::DataProcessing::Scenario::Scenario.
Public Member Functions | |
def | dqmHarvesting |
_preprodmc_ Implement configuration building for RelVal MC production
Definition at line 16 of file preprodmc.py.
def Impl::preprodmc::preprodmc::dqmHarvesting | ( | self, | |
datasetName, | |||
runNumber, | |||
globalTag, | |||
args | |||
) |
_dqmHarvesting_ DQM Harvesting for pre-production
Definition at line 24 of file preprodmc.py.
00025 : 00026 """ 00027 _dqmHarvesting_ 00028 00029 DQM Harvesting for pre-production 00030 00031 """ 00032 options = defaultOptions 00033 options.scenario = "pp" 00034 options.step = "HARVESTING:validationpreprodHarvesting+dqmHarvestingPOG" 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 if args.get('newDQMIO', False): 00047 process.source = cms.Source("DQMRootSource") 00048 else: 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