5 Scenario supporting proton collisions
13 from Configuration.DataProcessing.Utils
import stepALCAPRODUCER,dqmIOSource,harvestingMode,dictIO,gtNameAndConnect
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 options.__dict__.update(defaultOptions.__dict__)
63 options.scenario =
"pp"
64 options.step =
"ALCAOUTPUT:"+(
'+'.
join(skims))
65 options.conditions = args[
'globaltag']
if 'globaltag' in args
else 'None'
66 if 'globalTagConnect' in args
and args[
'globalTagConnect'] !=
'':
67 options.conditions +=
','+args[
'globalTagConnect']
69 options.triggerResultsProcess =
'RECO'
71 process = cms.Process(
'ALCA', self.eras)
75 process.source = cms.Source(
77 fileNames = cms.untracked.vstring()
89 Proton collisions data taking DQM Harvesting
92 options = defaultOptions
93 options.scenario =
"pp"
94 options.step =
"HARVESTING:alcaHarvesting"
95 options.name =
"EDMtoMEConvert"
98 process = cms.Process(
"HARVESTING", self.eras)
101 configBuilder.prepare()
static std::string join(char **cmd)