Skip to content

Commit

Permalink
Merge pull request #37623 from pmandrik/splash_ed_simple_reco
Browse files Browse the repository at this point in the history
[12_3_X] simple RECO squence for SPLASH runs
  • Loading branch information
cmsbuild committed Apr 23, 2022
2 parents 48e2590 + e46fd00 commit edd2392
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Configuration/DataProcessing/python/Reco.py
Expand Up @@ -157,6 +157,10 @@ def visualizationProcessing(self, globalTag, **args):

eiStep=''

if 'beamSplashRun' in args:
eiStep = ":localreco+hcalOnlyGlobalRecoSequence+caloTowersRec" if args['beamSplashRun'] else ""
print("Using RECO%s step for ED clients" % eiStep)

options.step += 'RAW2DIGI,L1Reco,RECO'+eiStep+',ENDJOB'


Expand Down
Expand Up @@ -47,7 +47,8 @@
from DQM.Integration.config.FrontierCondition_GT_autoExpress_cfi import GlobalTag
kwds = {
'globalTag': GlobalTag.globaltag.value(),
'globalTagConnect': GlobalTag.connect.value()
'globalTagConnect': GlobalTag.connect.value(),
'beamSplashRun' : options.BeamSplashRun,
}

# explicitly select the input collection, since we get multiple in online
Expand Down
3 changes: 2 additions & 1 deletion DQM/Integration/python/clients/visualization-live_cfg.py
Expand Up @@ -47,7 +47,8 @@
from DQM.Integration.config.FrontierCondition_GT_autoExpress_cfi import GlobalTag
kwds = {
'globalTag': GlobalTag.globaltag.value(),
'globalTagConnect': GlobalTag.connect.value()
'globalTagConnect': GlobalTag.connect.value(),
'beamSplashRun' : options.BeamSplashRun,
}

# explicitly select the input collection, since we get multiple in online
Expand Down
6 changes: 6 additions & 0 deletions DQM/Integration/python/config/unittestinputsource_cfi.py
Expand Up @@ -81,6 +81,12 @@
VarParsing.VarParsing.varType.bool,
"Don't upload the BeamSpot conditions to the DB")

options.register('BeamSplashRun',
False, # default value
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.bool,
"Set client source settings for beam SPLASH run")

options.parseArguments()

print("Querying DAS for files...")
Expand Down

0 comments on commit edd2392

Please sign in to comment.