-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add onlineBeamSpotESProducer to BeamSpot_cfi: fix general Online BS swap case #35639
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -4,6 +4,11 @@ | |||||||||
|
||||||||||
offlineBeamSpot = cms.EDProducer("BeamSpotProducer") | ||||||||||
|
||||||||||
import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi as _mod | ||||||||||
BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone( | ||||||||||
timeThreshold = 999999 # for express allow >48h old payloads for replays. DO NOT CHANGE | ||||||||||
) | ||||||||||
|
||||||||||
import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi | ||||||||||
_onlineBeamSpotProducer = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone() | ||||||||||
mods.offlineToOnlineBeamSpotSwap.toReplaceWith(offlineBeamSpot, _onlineBeamSpotProducer) | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. both visualization and express get their swap to online BS via this modifier:
I think that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please make a concrete suggestion. By the way I think concerns on the HLT have been ruled out. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the alternative is to abandon this modifier-based modification and switch back to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @slava77 sorry about my maybe naive question but I was under the (apparently wrong) impression that this cmssw/Configuration/DataProcessing/python/RecoTLR.py Lines 130 to 133 in 7d0e4f1
was taking care of cutomizing the express reconstruction. But I now learned that this is not the case and the customiseExpress is actually only used in relvals since #14350 (my ignorance for not knowing this). Are you now suggesting to revert that old PR? Or is there another smart way of implementing it?
At this point we most probably need another release in any case because without this PR the express reco will not work IIUC (just like it did not work in the DQM visualization clients) (FYI @perrotta @qliphy). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Do I understand correctly that this swap is also needed in some workflow based on cmsDriver? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I am not very familiar with it. Anyway d6091aa it's my take at it.
correct, but it's done via the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
did it fix the vis unit test? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, see #35642 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that wherever this module is imported it gets this
timeThreshold
? I don't think this is the intended use for the HLT case, right @gennai ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't HLT fully dumped anyway?