Inherits Configuration::DataProcessing::Scenario::Scenario.
Public Member Functions | |
def | alcaSkim |
def | dqmHarvesting |
def | promptReco |
def | skimsIfNotGiven |
_AlCa_ Implement configuration building for data processing for proton collision data taking
def Impl::AlCa::AlCa::alcaSkim | ( | self, | |
skims, | |||
args | |||
) |
_alcaSkim_ AlcaReco processing & skims for proton collisions
Definition at line 54 of file AlCa.py.
00055 : 00056 """ 00057 _alcaSkim_ 00058 00059 AlcaReco processing & skims for proton collisions 00060 00061 """ 00062 options = Options() 00063 options.__dict__.update(defaultOptions.__dict__) 00064 options.scenario = "pp" 00065 options.step = "ALCAOUTPUT:"+('+'.join(skims)) 00066 options.conditions = args['globaltag'] if 'globaltag' in args else 'None' 00067 options.triggerResultsProcess = 'RECO' 00068 00069 process = cms.Process('ALCA') 00070 cb = ConfigBuilder(options, process = process) 00071 00072 # Input source 00073 process.source = cms.Source( 00074 "PoolSource", 00075 fileNames = cms.untracked.vstring() 00076 ) 00077 00078 cb.prepare() 00079 00080 return process 00081
def Impl::AlCa::AlCa::dqmHarvesting | ( | self, | |
datasetName, | |||
runNumber, | |||
globalTag, | |||
args | |||
) |
_dqmHarvesting_ Proton collisions data taking DQM Harvesting
Definition at line 82 of file AlCa.py.
00083 : 00084 """ 00085 _dqmHarvesting_ 00086 00087 Proton collisions data taking DQM Harvesting 00088 00089 """ 00090 options = defaultOptions 00091 options.scenario = "pp" 00092 options.step = "HARVESTING:alcaHarvesting" 00093 options.name = "EDMtoMEConvert" 00094 options.conditions = globalTag 00095 00096 process = cms.Process("HARVESTING") 00097 process.source = dqmIOSource(args) 00098 configBuilder = ConfigBuilder(options, process = process) 00099 configBuilder.prepare() 00100 00101 # 00102 # customise process for particular job 00103 # 00104 #process.source.processingMode = cms.untracked.string('RunsAndLumis') 00105 #process.source.fileNames = cms.untracked(cms.vstring()) 00106 #process.maxEvents.input = -1 00107 #process.dqmSaver.workflow = datasetName 00108 #process.dqmSaver.saveByLumiSection = 1 00109 #if args.has_key('referenceFile') and args.get('referenceFile', ''): 00110 # process.DQMStore.referenceFileName = \ 00111 # cms.untracked.string(args['referenceFile']) 00112 harvestingMode(process,datasetName,args) 00113 00114 return process
def Impl::AlCa::AlCa::promptReco | ( | self, | |
globalTag, | |||
args | |||
) |
Definition at line 32 of file AlCa.py.
00033 : 00034 if not 'skims' in args: 00035 args['skims']=self.skims 00036 step = stepALCAPRODUCER(args['skims']) 00037 options = Options() 00038 options.__dict__.update(defaultOptions.__dict__) 00039 options.scenario = "pp" 00040 options.step = step 00041 dictIO(options,args) 00042 options.conditions = globalTag 00043 00044 process = cms.Process('RECO') 00045 cb = ConfigBuilder(options, process = process, with_output = True) 00046 00047 # Input source 00048 process.source = cms.Source("PoolSource", 00049 fileNames = cms.untracked.vstring() 00050 ) 00051 cb.prepare() 00052 00053 return process