Skip to content

Commit

Permalink
QTest Tracking Summary DQM
Browse files Browse the repository at this point in the history
  • Loading branch information
alaperto committed Oct 28, 2024
1 parent cea67a0 commit a6f1da8
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 4 deletions.
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

0 comments on commit a6f1da8

Please sign in to comment.