diff --git a/DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_cosmic.xml b/DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_cosmic.xml index 7a1bf05dfa890..5a7f2e0cedade 100644 --- a/DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_cosmic.xml +++ b/DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_cosmic.xml @@ -77,7 +77,7 @@ 0 1 0 - 15.0 + 10.0 50.0 @@ -89,7 +89,7 @@ 0 1 0 - 15.0 + 10.0 50.0 @@ -101,7 +101,7 @@ 0 1 0 - 15.0 + 10.0 50.0 @@ -113,7 +113,7 @@ 0 1 0 - 15.0 + 10.0 50.0 diff --git a/DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0_cosmic.xml b/DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0_cosmic.xml index 86d1f9b24f5f0..2648eba52b1e5 100644 --- a/DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0_cosmic.xml +++ b/DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0_cosmic.xml @@ -31,6 +31,30 @@ -1.1 1.1 + + MeanWithinExpected + 0.05 + 0.3 + 1.0 + 0 + 0 + 1 + 0 + 0.0 + 200.0 + + + MeanWithinExpected + 0.05 + 0.3 + 1.0 + 0 + 0 + 1 + 0 + 0.0 + 800.0 + MeanWithinExpectedRange:TrkRate @@ -44,4 +68,10 @@ XrangeWithin:FractionOfGoodTracks + + MeanWithinExpectedRange:SeedNStrip + + + MeanWithinExpectedRange:SeedNPixel + diff --git a/DQM/TrackingMonitorClient/python/TrackingClientConfig_Tier0_Cosmic_cff.py b/DQM/TrackingMonitorClient/python/TrackingClientConfig_Tier0_Cosmic_cff.py index 9cb19b7a1ae5a..64bbe72a29b62 100644 --- a/DQM/TrackingMonitorClient/python/TrackingClientConfig_Tier0_Cosmic_cff.py +++ b/DQM/TrackingMonitorClient/python/TrackingClientConfig_Tier0_Cosmic_cff.py @@ -22,6 +22,16 @@ dir = cms.string("TrackParameters/HitProperties"), name = cms.string("NumberOfRecHitsPerTrack_"), ), + cms.PSet( + QT = cms.string("SeedNStrip"), + dir = cms.string("SiStrip/MechanicalView"), + name = cms.string("NumberOfClustersInStrip"), + ), + cms.PSet( + QT = cms.string("SeedNPixel"), + dir = cms.string("SiStrip/MechanicalView"), + name = cms.string("NumberOfClustersInPixel"), + ) ), TrackingLSQualityPSets = cms.VPSet( cms.PSet( diff --git a/DQM/TrackingMonitorClient/src/TrackingQualityChecker.cc b/DQM/TrackingMonitorClient/src/TrackingQualityChecker.cc index 8eac442706540..46553cbf9de04 100644 --- a/DQM/TrackingMonitorClient/src/TrackingQualityChecker.cc +++ b/DQM/TrackingMonitorClient/src/TrackingQualityChecker.cc @@ -304,6 +304,10 @@ void TrackingQualityChecker::fillTrackingStatus(DQMStore::IBooker& ibooker, DQMS std::string MEname = it->second.HistoName; std::vector tmpMEvec = igetter.getContents(ibooker.pwd() + "/" + localMEdirpath); + //SeedNStrip and SeedNPixel DQM plots are in SiStrip folder (not inside Tracking folder) + if (it->first == "SeedNStrip" or it->first == "SeedNPixel") { + tmpMEvec = igetter.getContents(localMEdirpath); + } if (verbose_) edm::LogInfo("TrackingQualityChecker") << "fillTrackingStatus tmpMEvec: " << tmpMEvec.size() << std::endl; MonitorElement* me = nullptr; @@ -410,6 +414,7 @@ void TrackingQualityChecker::fillTrackingStatus(DQMStore::IBooker& ibooker, DQMS << "fillTrackingStatus qt_reports: " << qt_reports.size() << std::endl; // loop on possible QTs for (auto iQT : qt_reports) { + tmp_status = 0; // reset status tmp_status += iQT->getQTresult(); if (verbose_) edm::LogInfo("TrackingQualityChecker") << "fillTrackingStatus iQT: " << iQT->getQRName() << std::endl;