Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix offline BS swap for express Run3
- Loading branch information
Showing
3 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import * | ||
|
||
#scalers = cms.EDProducer('ScalersRawToDigi') | ||
BeamSpotESProducer = cms.ESProducer("OnlineBeamSpotESProducer") | ||
|
||
from Configuration.Eras.Modifier_run3_common_cff import run3_common | ||
run3_common.toModify(onlineBeamSpotProducer, useTransientRecord = True) | ||
|
||
onlineBeamSpot = cms.Sequence( onlineBeamSpotProducer ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
import RecoVertex.BeamSpotProducer.beamSpotOnlineProducer_cfi as _mod | ||
onlineBeamSpotProducer = _mod.beamSpotOnlineProducer.clone( | ||
src = 'scalersRawToDigi', | ||
setSigmaZ = -1, #negative value disables it. | ||
gtEvmLabel = 'gtEvmDigis' | ||
src = 'scalersRawToDigi', | ||
setSigmaZ = -1, #negative value disables it. | ||
gtEvmLabel = 'gtEvmDigis' | ||
) | ||
|
||
from Configuration.Eras.Modifier_run3_common_cff import run3_common | ||
run3_common.toModify(onlineBeamSpotProducer, useTransientRecord = True) |