diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/share/InDetPVMPlotDefCommon_ITK.xml b/InnerDetector/InDetValidation/InDetPhysValMonitoring/share/InDetPVMPlotDefCommon_ITK.xml index 78f019539831c718ab14f9fc2300103fb9cc84a5..4b4b811d37683c09ae880899b714d6a99695aa8f 100644 --- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/share/InDetPVMPlotDefCommon_ITK.xml +++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/share/InDetPVMPlotDefCommon_ITK.xml @@ -403,6 +403,11 @@ end of hit residuals & cluster width plots <y title="Number of Entries"/> </h> +<h id="reco_hasValidTime_eff_vs_eta" type="TEfficiency" title="hasValidTime efficiency vs eta"> + <x title="#eta" n="100" lo="-&ETA;" hi="&ETA;"/> + <y title="efficiency"/> +</h> + <!-- ======================================================= end of HGTD timing plots diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.cxx b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.cxx index 169646fd1d5be1aa8f5030393fea8f786a964017..890798de757ec566d79fbdcce05d27b563e7e8e5 100644 --- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.cxx +++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.cxx @@ -37,6 +37,7 @@ InDetPerfPlot_TrackParameters::initializePlots() { book(m_reco_chi2Overndof, "reco_chi2Overndof"); book(m_reco_author, "reco_author"); book(m_reco_time, "reco_time"); + book(m_reco_hasValidTime_eff_vs_eta, "reco_hasValidTime_eff_vs_eta"); book(m_truth_d0, "truth_d0"); book(m_truth_z0, "truth_z0"); @@ -141,6 +142,10 @@ InDetPerfPlot_TrackParameters::fill(const xAOD::TrackParticle& particle, float w } } + if( accValidTime.isAvailable(particle) ) { + fillHisto(m_reco_hasValidTime_eff_vs_eta, eta, particle.hasValidTime(), weight); + } + } void diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.h b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.h index ea803a5119f94e95b3db15fb2adc05ae36b399da..3048600a0f1480388d7aa6894e7b5f40a2644924 100644 --- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.h +++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetPerfPlot_TrackParameters.h @@ -41,6 +41,7 @@ private: TH1* m_reco_chi2Overndof{}; TH1* m_reco_author{}; TH1* m_reco_time{}; + TEfficiency* m_reco_hasValidTime_eff_vs_eta{}; TH1* m_truth_d0{}; TH1* m_truth_z0{}; diff --git a/Tools/CampaignsARTTests/config/dcube_config_all_domains_reduced.xml b/Tools/CampaignsARTTests/config/dcube_config_all_domains_reduced.xml index c5d3b6ade7877e626e52184ae27ecf6d0b92a53d..653196bb1ea4013a0092628d27df9728cff213f9 100644 --- a/Tools/CampaignsARTTests/config/dcube_config_all_domains_reduced.xml +++ b/Tools/CampaignsARTTests/config/dcube_config_all_domains_reduced.xml @@ -60,6 +60,7 @@ <hist1D name="truth_eta" plotopts="" tests="KS" type="TH1F"/> <hist1D name="truth_pt" plotopts="" tests="KS" type="TH1F"/> <hist1D name="truth_lowpt" plotopts="" tests="KS" type="TH1F"/> + <graph name="reco_hasValidTime_eff_vs_eta" plotopts="" tests="KS" type="TEfficiency"/> </TDirectory> <TDirectory name="HitsOnTracks"> <hist1D name="nInnerMostPixelHits" plotopts="" tests="KS" type="TH1F"/>