Skip to content

Commit

Permalink
Merge pull request #17696 from dmitrijus/mwgr2_changes
Browse files Browse the repository at this point in the history
Online DQM changes for MWGR#2
  • Loading branch information
cmsbuild committed Mar 18, 2017
2 parents f030dd5 + 630b4ed commit c925f26
Show file tree
Hide file tree
Showing 13 changed files with 288 additions and 273 deletions.
Expand Up @@ -224,7 +224,7 @@ def _copy(old, new, skip=[]):
for key in old.parameterNames_():
if key not in skipSet:
setattr(new, key, getattr(old, key))
_copy(process.pixelTracksTrackingRegions, new, skip=["nSigmaZ", "beamSpot"])
_copy(process.pixelTracksTrackingRegions.RegionPSet, new.RegionPSet, skip=["nSigmaZ", "beamSpot"])
new.RegionPSet.originRadius = 0.4
# Bit of a hack to replace a module with another, but works
#
Expand Down
Expand Up @@ -91,7 +91,7 @@
process.CSCChannelMapperESProducer.AlgoName=cms.string("CSCChannelMapperPostls1")

process.csc2DRecHits.readBadChannels = cms.bool(False)
process.csc2DRecHits.CSCUseGasGainCorrection = cms.bool(False)
process.csc2DRecHits.CSCUseGasGainCorrections = cms.bool(False)


""" Pick up upgrade condions data directly from DB tags using ESPrefer's.
Expand Down
Expand Up @@ -10,7 +10,7 @@
# this is needed to map the names of the run-types chosen by DQM to the scenarios, ideally we could converge to the same names
#scenarios = {'pp_run': 'ppEra_Run2_2016','cosmic_run':'cosmicsEra_Run2_2016','hi_run':'HeavyIons'}
#scenarios = {'pp_run': 'ppEra_Run2_2016','pp_run_stage1': 'ppEra_Run2_2016','cosmic_run':'cosmicsEra_Run2_2016','cosmic_run_stage1':'cosmicsEra_Run2_2016','hi_run':'HeavyIonsEra_Run2_HI'}
scenarios = {'pp_run': 'ppEra_Run2_2016','cosmic_run':'cosmicsEra_Run2_2016','hi_run':'HeavyIonsEra_Run2_HI'}
scenarios = {'pp_run': 'ppEra_Run2_2017','cosmic_run':'cosmicsEra_Run2_2017','hi_run':'HeavyIonsEra_Run2_HI'}

if not runType.getRunTypeName() in scenarios.keys():
msg = "Error getting the scenario out of the 'runkey', no mapping for: %s\n"%runType.getRunTypeName()
Expand Down
2 changes: 1 addition & 1 deletion DQM/Integration/python/clients/visualization-live_cfg.py
Expand Up @@ -10,7 +10,7 @@
# this is needed to map the names of the run-types chosen by DQM to the scenarios, ideally we could converge to the same names
#scenarios = {'pp_run': 'ppEra_Run2_2016','cosmic_run':'cosmicsEra_Run2_2016','hi_run':'HeavyIons'}
#scenarios = {'pp_run': 'ppEra_Run2_2016','pp_run_stage1': 'ppEra_Run2_2016','cosmic_run':'cosmicsEra_Run2_2016','cosmic_run_stage1':'cosmicsEra_Run2_2016','hi_run':'HeavyIonsEra_Run2_HI'}
scenarios = {'pp_run': 'ppEra_Run2_2016','cosmic_run':'cosmicsEra_Run2_2016','hi_run':'HeavyIonsEra_Run2_HI'}
scenarios = {'pp_run': 'ppEra_Run2_2017','cosmic_run':'cosmicsEra_Run2_2017','hi_run':'HeavyIonsEra_Run2_HI'}

if not runType.getRunTypeName() in scenarios.keys():
msg = "Error getting the scenario out of the 'runkey', no mapping for: %s\n"%runType.getRunTypeName()
Expand Down
@@ -1,15 +1,16 @@
import FWCore.ParameterSet.Config as cms
from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
GlobalTag.connect = cms.string("frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierOnProd)(serverurl=http://localhost:8000/FrontierOnProd)(retrieve-ziplevel=0)(failovertoserver=no)/CMS_CONDITIONS")

# Default Express GT: it is the GT that will be used in case we are not able
# to retrieve the one used at Tier0.
# It should be kept in synch with Express processing at Tier0.
GlobalTag.globaltag = cms.string( "80X_dataRun2_Express_v15" )
GlobalTag.connect = cms.string("frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierProd)(serverurl=http://localhost:8000/FrontierProd)(retrieve-ziplevel=0)(failovertoserver=no)/CMS_CONDITIONS")
GlobalTag.globaltag = "90X_dataRun2_Express_v2"

# ===== auto -> Automatically get the GT string from current Tier0 configuration via a Tier0Das call.
# This needs a valid proxy to access the cern.ch network from the .cms one.
#
auto=True
auto=False

# The implementation of the class is reused from the condition upload service.
#TODO: make this class a common utility under Conditions or Config.DP
Expand Down
3 changes: 1 addition & 2 deletions DQM/Integration/python/config/FrontierCondition_GT_cfi.py
@@ -1,4 +1,3 @@
import FWCore.ParameterSet.Config as cms
from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
GlobalTag.connect = cms.string("frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierOnProd)(serverurl=http://localhost:8000/FrontierOnProd)(retrieve-ziplevel=0)(failovertoserver=no)/CMS_CONDITIONS")
GlobalTag.globaltag = "80X_dataRun2_HLT_v12"
GlobalTag.globaltag = "90X_dataRun2_HLT_v1"
1 change: 1 addition & 0 deletions DQMServices/StreamerIO/test/BuildFile.xml
Expand Up @@ -3,6 +3,7 @@
<use name="IOPool/Streamer"/>
<use name="EventFilter/Utilities"/>
<use name="DQMServices/Core"/>
<use name="DQMServices/Components"/>
<library file="*.cc" name="DQMServicesStreamerIOTestPlugins">
<flags EDM_PLUGIN="1"/>
</library>
198 changes: 0 additions & 198 deletions DQMServices/StreamerIO/test/DQMStreamReader_replay.py

This file was deleted.

42 changes: 0 additions & 42 deletions DQMServices/StreamerIO/test/DQMStreamReader_replay_cfg.py

This file was deleted.

2 changes: 1 addition & 1 deletion DQMServices/StreamerIO/test/DQMStreamWriter.py
Expand Up @@ -42,7 +42,7 @@
)

# define the PoolOutputModule
process.poolOutput = cms.OutputModule('DQMStreamerOutputModule',
process.poolOutput = cms.OutputModule('DQMStreamerOutputModuleTest',
runInputDir = cms.untracked.string(options.runInputDir),
streamLabel = cms.untracked.string("_streamA"),
)
Expand Down

0 comments on commit c925f26

Please sign in to comment.