5 Scenario supporting proton collisions 13 from Configuration.DataProcessing.Utils
import stepALCAPRODUCER,dqmIOSource,harvestingMode,dictIO,gtNameAndConnect,addMonitoring
14 import FWCore.ParameterSet.Config
as cms
18 Scenario.__init__(self)
23 Implement configuration building for data processing for proton 29 if not 'skims' in args:
33 if not 'skims' in args:
34 args[
'skims']=self.skims
37 options.__dict__.update(defaultOptions.__dict__)
38 options.scenario =
"pp" 43 process = cms.Process(
'RECO', self.eras)
44 cb =
ConfigBuilder(options, process = process, with_output =
True)
47 process.source = cms.Source(
"PoolSource",
48 fileNames = cms.untracked.vstring()
58 AlcaReco processing & skims for proton collisions 62 pclWflws = [x
for x
in skims
if "PromptCalibProd" in x]
63 skims =
filter(
lambda x: x
not in pclWflws, skims)
66 step +=
'ALCA:'+(
'+'.
join(pclWflws))
71 step +=
"ALCAOUTPUT:"+(
'+'.
join(skims))
74 options.__dict__.update(defaultOptions.__dict__)
75 options.scenario =
"pp" 77 options.conditions = args[
'globaltag']
if 'globaltag' in args
else 'None' 78 if 'globalTagConnect' in args
and args[
'globalTagConnect'] !=
'':
79 options.conditions +=
','+args[
'globalTagConnect']
81 options.triggerResultsProcess =
'RECO' 83 process = cms.Process(
'ALCA', self.eras)
87 process.source = cms.Source(
89 fileNames=cms.untracked.vstring()
97 methodToCall = getattr(process,
'ALCARECOStream'+wfl)
98 methodToCall.dataset.dataTier = cms.untracked.string(
'ALCAPROMPT')
107 Proton collisions data taking DQM Harvesting 110 options = defaultOptions
111 options.scenario =
"pp" 112 options.step =
"HARVESTING:alcaHarvesting" 113 options.name =
"EDMtoMEConvert" 116 process = cms.Process(
"HARVESTING", self.eras)
119 configBuilder.prepare()
def harvestingMode(process, datasetName, args, rANDl=True)
def gtNameAndConnect(globalTag, args)
def dqmHarvesting(self, datasetName, runNumber, globalTag, args)
def dictIO(options, args)
def skimsIfNotGiven(self, args, sl)
def promptReco(self, globalTag, args)
def alcaSkim(self, skims, args)
def stepALCAPRODUCER(skims)
static std::string join(char **cmd)