Skip to content

Commit

Permalink
Merge pull request #39306 from missirol/devel_hltOutputModuleRepl2_124X
Browse files Browse the repository at this point in the history
specify compression settings in offline output modules used by HLT [`12_4_X`]
  • Loading branch information
cmsbuild committed Sep 6, 2022
2 parents 18b170b + 3835ed3 commit b31b65b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions HLTrigger/Configuration/python/Tools/confdb.py
Expand Up @@ -479,16 +479,18 @@ def overrideOutput(self):
)

self.data = re.sub("""\
\\b(process\.)?hltOutput(\w+) *= *cms\.OutputModule\( *"(EvFOutputModule|GlobalEvFOutputModule)" *,
\\b(process\.)?hltOutput(\w+) *= *cms\.OutputModule\( *['"](EvFOutputModule|GlobalEvFOutputModule)['"] *,
use_compression = cms.untracked.bool\( (True|False) \),
compression_algorithm = cms.untracked.string\( "(.+?)" \),
compression_algorithm = cms.untracked.string\( ['"](.+?)['"] \),
compression_level = cms.untracked.int32\( (-?\d+) \),
lumiSection_interval = cms.untracked.int32\( (-?\d+) \),
(.+?),
psetMap = cms.untracked.InputTag\( "hltPSetMap" \)
psetMap = cms.untracked.InputTag\( ['"]hltPSetMap['"] \)
""","""\
\g<1>hltOutput\g<2> = cms.OutputModule( "PoolOutputModule",
%(process)s.hltOutput\g<2> = cms.OutputModule( "PoolOutputModule",
fileName = cms.untracked.string( "output\g<2>.root" ),
compressionAlgorithm = cms.untracked.string( "\g<5>" ),
compressionLevel = cms.untracked.int32( \g<6> ),
fastCloning = cms.untracked.bool( False ),
dataset = cms.untracked.PSet(
filterName = cms.untracked.string( "" ),
Expand Down

0 comments on commit b31b65b

Please sign in to comment.