Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix event display config generation and problem also affecting T0 in config builder #12453

Merged
merged 1 commit into from
Nov 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2199,13 +2199,7 @@ def prepare(self, doChecking = False):
self.pythonCfgCode +="#Setup FWK for multithreaded\n"
self.pythonCfgCode +="process.options.numberOfThreads=cms.untracked.uint32("+self._options.nThreads+")\n"
self.pythonCfgCode +="process.options.numberOfStreams=cms.untracked.uint32(0)\n"
#repacked version
if self._options.isRepacked:
self.pythonCfgCode +="\n"
self.pythonCfgCode +="from Configuration.Applications.ConfigBuilder import MassReplaceInputTag\n"
self.pythonCfgCode +="MassReplaceInputTag(process)\n"
MassReplaceInputTag(self.process)


# special treatment in case of production filter sequence 2/2
if self.productionFilterSequence:
self.pythonCfgCode +='# filter all path with the production filter sequence\n'
Expand All @@ -2225,6 +2219,14 @@ def prepare(self, doChecking = False):
# dump customise fragment
self.pythonCfgCode += self.addCustomise()

#repacked version
if self._options.isRepacked:
self.pythonCfgCode +="\n"
self.pythonCfgCode +="from Configuration.Applications.ConfigBuilder import MassReplaceInputTag\n"
self.pythonCfgCode +="MassReplaceInputTag(process)\n"
MassReplaceInputTag(self.process)


if self._options.runUnscheduled:
# prune and delete paths
#this is not supporting the blacklist at this point since I do not understand it
Expand Down
1 change: 1 addition & 0 deletions Configuration/DataProcessing/python/Impl/HeavyIonsRun2.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def visualizationProcessing(self, globalTag, **args):

"""
self._checkMINIAOD(**args)
self._setRepackedFlag(args)

customsFunction = self.visCustoms
if not 'customs' in args:
Expand Down
2 changes: 2 additions & 0 deletions Configuration/DataProcessing/python/Reco.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def visualizationProcessing(self, globalTag, **args):
if 'customs' in args:
options.customisation_file=args['customs']

self._checkRepackedFlag(options, **args)

cb = ConfigBuilder(options, process = process, with_output = True, with_input = True)

cb.prepare()
Expand Down