Skip to content
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

QTest Tracking Summary DQM #46532

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<PARAM name="useSigma">0</PARAM>
<PARAM name="useRange">1</PARAM>
<PARAM name="minEntries">0</PARAM>
<PARAM name="xmin">15.0</PARAM>
<PARAM name="xmin">10.0</PARAM>
<PARAM name="xmax">50.0</PARAM>
</QTEST>
<QTEST name="MeanWithinExpectedRange:StoNTOB">
Expand All @@ -89,7 +89,7 @@
<PARAM name="useSigma">0</PARAM>
<PARAM name="useRange">1</PARAM>
<PARAM name="minEntries">0</PARAM>
<PARAM name="xmin">15.0</PARAM>
<PARAM name="xmin">10.0</PARAM>
<PARAM name="xmax">50.0</PARAM>
</QTEST>
<QTEST name="MeanWithinExpectedRange:StoNTEC">
Expand All @@ -101,7 +101,7 @@
<PARAM name="useSigma">0</PARAM>
<PARAM name="useRange">1</PARAM>
<PARAM name="minEntries">0</PARAM>
<PARAM name="xmin">15.0</PARAM>
<PARAM name="xmin">10.0</PARAM>
<PARAM name="xmax">50.0</PARAM>
</QTEST>
<QTEST name="MeanWithinExpectedRange:StoNTID">
Expand All @@ -113,7 +113,7 @@
<PARAM name="useSigma">0</PARAM>
<PARAM name="useRange">1</PARAM>
<PARAM name="minEntries">0</PARAM>
<PARAM name="xmin">15.0</PARAM>
<PARAM name="xmin">10.0</PARAM>
<PARAM name="xmax">50.0</PARAM>
</QTEST>
<QTEST name="MeanWithinExpectedRange:TrkRate" activate="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,30 @@
<PARAM name="xmin">-1.1</PARAM>
<PARAM name="xmax">1.1</PARAM>
</QTEST>
<QTEST name="MeanWithinExpectedRange:SeedNStrip" activate="true">
<TYPE>MeanWithinExpected</TYPE>
<PARAM name="error">0.05</PARAM>
<PARAM name="warning">0.3</PARAM>
<PARAM name="mean">1.0</PARAM>
<PARAM name="useRMS">0</PARAM>
<PARAM name="useSigma">0</PARAM>
<PARAM name="useRange">1</PARAM>
<PARAM name="minEntries">0</PARAM>
<PARAM name="xmin">0.0</PARAM>
<PARAM name="xmax">200.0</PARAM>
</QTEST>
<QTEST name="MeanWithinExpectedRange:SeedNPixel" activate="true">
<TYPE>MeanWithinExpected</TYPE>
<PARAM name="error">0.05</PARAM>
<PARAM name="warning">0.3</PARAM>
<PARAM name="mean">1.0</PARAM>
<PARAM name="useRMS">0</PARAM>
<PARAM name="useSigma">0</PARAM>
<PARAM name="useRange">1</PARAM>
<PARAM name="minEntries">0</PARAM>
<PARAM name="xmin">0.0</PARAM>
<PARAM name="xmax">800.0</PARAM>
</QTEST>

<LINK name="*TrackParameters/GeneralProperties/NumberOfTracks_CKFTk">
<TestName activate="true">MeanWithinExpectedRange:TrkRate</TestName>
Expand All @@ -44,4 +68,10 @@
<LINK name="*TrackParameters/GeneralProperties/FractionOfGoodTracks_CKFTk">
<TestName activate="true">XrangeWithin:FractionOfGoodTracks</TestName>
</LINK>
<LINK name="SiStrip/MechanicalView/NumberOfClustersInStrip">
<TestName activate="true">MeanWithinExpectedRange:SeedNStrip</TestName>
</LINK>
<LINK name="SiStrip/MechanicalView/NumberOfClustersInPixel">
<TestName activate="true">MeanWithinExpectedRange:SeedNPixel</TestName>
</LINK>
</TESTSCONFIGURATION>
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
5 changes: 5 additions & 0 deletions DQM/TrackingMonitorClient/src/TrackingQualityChecker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ void TrackingQualityChecker::fillTrackingStatus(DQMStore::IBooker& ibooker, DQMS
std::string MEname = it->second.HistoName;

std::vector<MonitorElement*> 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;
Expand Down Expand Up @@ -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;
Expand Down