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
Dump of the beamspot for DIP #37858
Dump of the beamspot for DIP #37858
Conversation
@francescobrivio @dzuolo you may want to follow this as well |
and @sikler too |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37858/29800
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
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.
In addition could you update the refresh time in
cmssw/DQM/Integration/python/clients/onlinebeammonitor_dqm_sourceclient-live_cfg.py
Lines 143 to 151 in d1be6d9
process.GlobalTag.toGet = cms.VPSet( | |
cms.PSet( | |
record = cms.string("BeamSpotOnlineLegacyObjectsRcd"), | |
refreshTime = cms.uint64(1) | |
), | |
cms.PSet( | |
record = cms.string("BeamSpotOnlineHLTObjectsRcd"), | |
refreshTime = cms.uint64(1) | |
) |
?
@@ -199,6 +213,7 @@ std::shared_ptr<onlinebeammonitor::NoCache> OnlineBeamMonitor::globalBeginLumino | |||
} | |||
if (auto bsTransientHandle = iSetup.getHandle(bsTransientToken_)) { | |||
auto const& spotDB = *bsTransientHandle; | |||
std::cout <<" from the DB "<<spotDB<<std::endl; |
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.
Can you remove the cout (or replace it with edm::LogInfo
)?
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.
i forgot to remove it, doing it now (it was just a test)
MonitorName = cms.untracked.string("onlineBeamMonitor"), | ||
AppendRunToFileName = cms.untracked.bool(False), | ||
WriteDIPAscii = cms.untracked.bool(True), | ||
DIPFileName = cms.untracked.string("BeamFitResultsForDIP.txt") |
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.
Do we need to add the same options also in
cmssw/DQM/Integration/python/clients/onlinebeammonitor_dqm_sourceclient-live_cfg.py
Line 128 in d1be6d9
process.dqmOnlineBeamMonitor = cms.EDProducer("OnlineBeamMonitor", |
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.
Actually the easiest way would be to clone the onlinebeammonitor configuration so that we do not have to add the extra parameters, but i agree this file has to be changed
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37858/29801
|
A new Pull Request was created by @gennai (simone gennai) for master. It involves the following packages:
@malbouis, @pmandrik, @emanueleusai, @ahmad3213, @tvami, @cmsbuild, @jfernan2, @ggovi, @francescobrivio, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
MonitorName = cms.untracked.string("OnlineBeamMonitor"), | ||
AppendRunToFileName = cms.untracked.bool(False), | ||
WriteDIPAscii = cms.untracked.bool(True), | ||
DIPFileName = cms.untracked.string("BeamFitResultsForDIP.txt") |
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.
Sorry Simone I forgot to add that the DIP filename should probably contain the full /nfshome0
path, similar to
process.dqmBeamMonitor.BeamFitter.DIPFileName = '/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResults.txt' |
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.
done in the latest commit
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37858/29802
|
Pull request #37858 was updated. @malbouis, @pmandrik, @emanueleusai, @ahmad3213, @tvami, @cmsbuild, @jfernan2, @ggovi, @francescobrivio, @micsucmed, @rvenditti can you please check and sign again. |
Hi @gennai , @francescobrivio , please let me know once this is settled, since in any case I would have to modify #37817 and #37835 to match the format/name/content of the .txt you write out (e,g, adding TkStatus, etc). Thanks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37858/29871
|
Pull request #37858 was updated. @malbouis, @pmandrik, @emanueleusai, @ahmad3213, @tvami, @cmsbuild, @jfernan2, @ggovi, @francescobrivio, @micsucmed, @rvenditti can you please check and sign again. |
can anybody start the jenkins test? |
please test |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5fd3d3/24624/summary.html Comparison SummarySummary:
|
+db |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
this PR adds the dump of the beamspot parameters that are the uploaded in DIP.
PR validation:
I have run Online_BeamMonitor_file.py in the test directory to check that the printed information is correct