-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix Tracks related Pixel quantities at HLT DQM (backport) #40875
Conversation
A new Pull Request was created by @arossi83 (Alessandro Rossi) for CMSSW_13_0_X. It involves the following packages:
@emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
test parameters:
|
please test |
urgent
|
@arossi83 the unit test
this happens because the input file for the test |
Interesting.. I couldn't find any files from I could only find [1]; that might help for local tests, but I guess we should not rely on this non-standard path in CMSSW. Maybe, one quick workaround could be asking to copy this in a proper folder of the cmsbot cache (then CMSSW tests would see it). Not sure how to proceed.
|
#+ hltSiPixelPhase1TrackClustersAnalyzer | ||
hltSiPixelClusterShapeCache | ||
+ hltSiPixelPhase1ClustersAnalyzer | ||
+ refittedForPixelDQM |
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.
shouldn't this be
+ refittedForPixelDQM | |
+ hltrefittedForPixelDQM |
?
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.
Yes, It should. Just push a commit to fix it.
-1 Failed Tests: UnitTests RelVals-INPUT Unit TestsI found errors in the following unit tests: ---> test TestDQMOnlineClient-hlt_dqm_sourceclient had ERRORS RelVals-INPUT
Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
so this patch: diff --git a/DQM/Integration/python/clients/hlt_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/hlt_dqm_sourceclient-live_cfg.py
index 3e6b28ecb1f..cc04e270abf 100644
--- a/DQM/Integration/python/clients/hlt_dqm_sourceclient-live_cfg.py
+++ b/DQM/Integration/python/clients/hlt_dqm_sourceclient-live_cfg.py
@@ -46,8 +46,8 @@ process.ClusterShapeHitFilterESProducer = cms.ESProducer( "ClusterShapeHitFilter
)
#SiStrip Local Reco
process.load("CalibTracker.SiStripCommon.TkDetMapESProducer_cfi")
-#SiPixelTemplate
-process.load("CalibTracker.SiPixelESProducers.SiPixelTemplateDBObjectESProducer_cfi")
+#Track refitters
+process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
#---- for P5 (online) DB access
process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
diff --git a/DQMOffline/Trigger/python/SiPixel_OfflineMonitoring_cff.py b/DQMOffline/Trigger/python/SiPixel_OfflineMonitoring_cff.py
index 37714b63571..94184f2792e 100644
--- a/DQMOffline/Trigger/python/SiPixel_OfflineMonitoring_cff.py
+++ b/DQMOffline/Trigger/python/SiPixel_OfflineMonitoring_cff.py
@@ -6,11 +6,12 @@ from RecoPixelVertexing.PixelLowPtUtilities.siPixelClusterShapeCache_cfi import
from DQM.SiPixelMonitorTrack.RefitterForPixelDQM import *
hltSiPixelClusterShapeCache = siPixelClusterShapeCache.clone(src = 'hltSiPixelClusters')
-hltrefittedForPixelDQM = refittedForPixelDQM.clone(src ='hltMergedTracks')
+hltrefittedForPixelDQM = refittedForPixelDQM.clone(src ='hltMergedTracks',
+ TTRHBuilder = cms.string('WithTrackAngle')) # no templates at HLT
sipixelMonitorHLTsequence = cms.Sequence(
hltSiPixelClusterShapeCache
+ hltSiPixelPhase1ClustersAnalyzer
- + refittedForPixelDQM
+ + hltrefittedForPixelDQM
+ hltSiPixelPhase1TrackClustersAnalyzer
)
diff --git a/RecoPixelVertexing/PixelLowPtUtilities/plugins/SiPixelClusterShapeCacheProducer.cc b/RecoPixelVertexing/PixelLowPtUtilities/plugins/SiPixelClusterShapeCacheProducer.cc
index dba9894b23c..6322f9cc868 100644
--- a/RecoPixelVertexing/PixelLowPtUtilities/plugins/SiPixelClusterShapeCacheProducer.cc
+++ b/RecoPixelVertexing/PixelLowPtUtilities/plugins/SiPixelClusterShapeCacheProducer.cc
@@ -61,6 +61,13 @@ void SiPixelClusterShapeCacheProducer::produce(edm::StreamID, edm::Event& iEvent
edm::Handle<InputCollection> input;
iEvent.getByToken(token_, input);
+ if (!input.isValid()) {
+ edm::LogError("siPixelClusterShapeCache") << "input pixel cluster collection is not valid!";
+ auto output = std::make_unique<SiPixelClusterShapeCache>();
+ iEvent.put(std::move(output));
+ return;
+ }
+
const auto& geom = &iSetup.getData(geomToken_);
auto output = std::make_unique<SiPixelClusterShapeCache>(input);
technically makes the test |
Pull request #40875 was updated. @emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please check and sign again. |
Pull request #40875 was updated. @micsucmed, @emanueleusai, @clacaputo, @cmsbuild, @syuvivida, @pmandrik, @mandrenguyen, @rvenditti can you please check and sign again. |
@cmsbuild, please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Expand to see more relval errors ...Comparison SummarySummary:
|
@emanueleusai @mandrenguyen @perrotta w.r.t last signature this PR just removed cms type specification in one configuration file. Can you consider this for inclusion in 13_0_0? |
+reconstruction |
+1
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_13_0_X IBs (but tests are reportedly failing) and once validation in the development release cycle CMSSW_13_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
merge |
PR description:
Monitor of the tracks related Pixel quantities at HLT DQM never works and it was disabled at some point, with this PR we introduce the changes needed (tracks refitting) in order to be able to monitor Pixel Tracks quantities at HLT DQM.
In this PR we also update the collection to be used by the Standard DQM Pixel Residuals Monitor in order to use the refitted tracks.
PR validation:
runTheMatrix.sh -l 140.063
Manually run the Online HLT client at P5 with old stored DQM stream file
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Backport of #40873