Skip to content

Commit db3bfa8

Browse files
add valid histograms for ETL
1 parent 05248a5 commit db3bfa8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Validation/MtdValidation/plugins/MtdTracksValidation.cc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ class MtdTracksValidation : public DQMEDAnalyzer {
263263
MonitorElement* meTrackResTotvsMVAQual_;
264264
MonitorElement* meTrackPullTotvsMVAQual_;
265265

266+
MonitorElement* meTrackResEtl_;
267+
MonitorElement* meTrackResEtlLowEta_;
268+
MonitorElement* meTrackResEtlHighEta_;
269+
MonitorElement* meTrackResEtlvsEta_;
270+
266271
MonitorElement* meTrackMatchedTPPtTotLV_;
267272
MonitorElement* meTrackMatchedTPEtaTotLV_;
268273
MonitorElement* meExtraPtMtd_;
@@ -1413,6 +1418,12 @@ void MtdTracksValidation::analyze(const edm::Event& iEvent, const edm::EventSetu
14131418
meTrackPullTot_->Fill(pullT);
14141419
meTrackResTotvsMVAQual_->Fill(mtdQualMVA[trackref], dT);
14151420
meTrackPullTotvsMVAQual_->Fill(mtdQualMVA[trackref], pullT);
1421+
if ( isETL ){
1422+
meTrackResEtl_->Fill(dT);
1423+
meTrackResEtlvsEta_->Fill(std::abs(trackGen.eta()), dT);
1424+
if (std::abs(trackGen.eta()) < 2.1 ) meTrackResEtlLowEta_->Fill(dT); // reduced coverage 1.7 disks option
1425+
if (std::abs(trackGen.eta()) >= 2.1 ) meTrackResEtlHighEta_->Fill(dT); // full coverage 1.7 disks option
1426+
}
14161427
}
14171428
} // time res and time pull
14181429
} // TP matching
@@ -2609,6 +2620,25 @@ void MtdTracksValidation::bookHistograms(DQMStore::IBooker& ibook, edm::Run cons
26092620
5.,
26102621
"s");
26112622

2623+
meTrackResEtl_ = ibook.book1D(
2624+
"TrackResEtl", "t_{rec} - t_{sim} for LV associated tracks matched to TP (ETL); t_{rec} - t_{sim} [ns] ", 120, -0.15, 0.15);
2625+
meTrackResEtlLowEta_ = ibook.book1D(
2626+
"TrackResEtlLowEta", "t_{rec} - t_{sim} for LV associated tracks matched to TP (ETL, low eta); t_{rec} - t_{sim} [ns] ", 120, -0.15, 0.15);
2627+
2628+
meTrackResEtlHighEta_ = ibook.book1D(
2629+
"TrackResEtlHighEta", "t_{rec} - t_{sim} for LV associated tracks matched to TP (ETL, high eta); t_{rec} - t_{sim} [ns] ", 120, -0.15, 0.15);
2630+
2631+
meTrackResEtlvsEta_ = ibook.bookProfile(
2632+
"TrackResEtlvsEta",
2633+
"t_{rec} - t_{sim} for LV associated tracks matched to TP vs eta; eta; t_{rec} - t_{sim} [ns] ",
2634+
100,
2635+
1.5,
2636+
3.0,
2637+
-0.15,
2638+
0.15,
2639+
"s");
2640+
2641+
26122642
meExtraPhiAtBTL_ = ibook.book1D(
26132643
"ExtraPhiAtBTL", "Phi at BTL surface of extrapolated tracks associated to LV; phi [deg]", 720, -180., 180.);
26142644
meExtraPhiAtBTLmatched_ =

0 commit comments

Comments
 (0)