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