Skip to content

Commit

Permalink
Merge pull request #8295 from cms-tsg-storm/integrationOfHltPathsForRun2
Browse files Browse the repository at this point in the history
More HLT integrations before moving to the L1 seeds for 50ns
  • Loading branch information
cmsbuild committed Mar 17, 2015
2 parents 8bed044 + 54c36c5 commit 7808009
Show file tree
Hide file tree
Showing 30 changed files with 6,757 additions and 10,758 deletions.
23 changes: 23 additions & 0 deletions HLTrigger/Configuration/python/CustomConfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,26 @@ def L1REPACK(process):
process=L1T(process)

return process


def customizeHLTforCMSSW(process):
# Apply cff-based customisations to a process
# Can't use process.load(customFile) as it only loads additional objects into the process
# One can not remove any module this way, but modify it!

class Module(object):
pass
locals = Module()

globals = process.__dict__

import imp
customFile = imp.find_module('HLTrigger/Configuration/customizeHLTforCMSSW')[1]
# import pkgutil
# customFile = pkgutil.get_loader('HLTrigger/Configuration/customizeHLTforCMSSW').filename

# execfile(customFile, globals, locals.__dict__)
execfile(customFile, globals)
process.extend(locals)

return process

0 comments on commit 7808009

Please sign in to comment.