26 m_trackSelTool (
"InDet::InDetTrackSelectionTool/TrackSelectionTool", this),
27 m_IBLParameterSvc(
"IBLParameterSvc",
name),
76 if ( !(LRT_trackParticles.isValid()) ) {
78 return StatusCode::RECOVERABLE;
80 ATH_MSG_DEBUG(
"InDetGlobalMonitoringRun3Test: Track container "<< LRT_trackParticles.name() <<
" is found.");
91 for (
const auto& trackPart: *LRT_trackParticles) {
95 ATH_MSG_DEBUG(
"InDetGlobalMonitoringRun3Test: NULL track pointer in collection" );
102 ATH_MSG_DEBUG(
"InDetGlobalMonitoringRun3Test: NULL track->perigeeParameters pointer " );
116 float eta_perigee = perigee->eta();
117 float phi_perigee = perigee->parameters()[
Trk::phi0];
121 fill(lrtGroup, eta_perigee_m, phi_perigee_m);
122 fill(lrtGroup, eta_perigee_m);
123 fill(lrtGroup, phi_perigee_m);
125 float d0_perigee = perigee->parameters()[
Trk::d0];
127 fill(lrtGroup, d0_perigee_m);
129 float z0_perigee = perigee->parameters()[
Trk::z0];
131 fill(lrtGroup, z0_perigee_m);
135 float charge = perigee->charge();
137 if ( qOverPt != 0 ) {
140 fill(lrtGroup, pT_m);
147 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfInnermostPixelLayerHits_m);
149 fill(lrtGroup, lb_m, numberOfInnermostPixelLayerHits_m);
156 fill(lrtGroup, eta_perigee_m, phi_perigee_m, pixHits_m);
157 fill(lrtGroup, lb_m, pixHits_m);
160 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfPixelDeadSensors_m);
164 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfPixelSharedHits_m);
168 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfPixelHoles_m);
172 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfPixelSplitHits_m);
178 fill(lrtGroup, eta_perigee_m, phi_perigee_m, sctHits_m);
179 fill(lrtGroup, lb_m, sctHits_m);
182 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfSCTDeadSensors_m);
186 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfSCTSharedHits_m);
190 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfSCTHoles_m);
196 fill(lrtGroup, eta_perigee_m, phi_perigee_m, trtHits_m);
197 fill(lrtGroup, lb_m, trtHits_m);
200 fill(lrtGroup, eta_perigee_m, phi_perigee_m, numberOfTRTDeadStraws_m);
208 int InnermostPixelLayerHit = 0;
209 int NextToInnermostPixelLayerHit = 0;
216 int expNInHit = trackPart->summaryValue(iSummaryValue, expNInHitField) ? iSummaryValue : 0;
217 int nNInHits = trackPart->summaryValue(iSummaryValue, nNInHitField) ? iSummaryValue : 0;
222 if ( expInHit==1 && nInHits==0 ) InnermostPixelLayerHit = 1;
223 auto InnermostPixelLayerHit_m =
Monitored::Scalar<int>(
"m_InnermostPixelLayerHit", InnermostPixelLayerHit);
224 fill(lrtGroup, eta_perigee_m, phi_perigee_m, InnermostPixelLayerHit_m);
228 if ( expNInHit==1 && nNInHits==0 ) NextToInnermostPixelLayerHit = 1 ;
229 auto NextToInnermostPixelLayerHit_m =
Monitored::Scalar<int>(
"m_NextToInnermostPixelLayerHit", NextToInnermostPixelLayerHit);
230 fill(lrtGroup, eta_perigee_m, phi_perigee_m, NextToInnermostPixelLayerHit_m);
236 fill(lrtGroup, eta_perigee_m, phi_perigee_m, noTRTHits_m);
245 if ( expInHit==1 && nInHits==0 ) NoIBL = 1;
246 if (NoIBL == 1) nNoIBL++;
248 fill(lrtGroup, lb_m, NoIBL_m);
252 if ( expNInHit==1 && nNInHits==0 ) NoBL = 1;
253 if (NoBL == 1) nNoBL++;
255 fill(lrtGroup, lb_m, NoBL_m);
260 if (NoTRText == 1) nNoTRText++;
262 fill(lrtGroup, lb_m, NoTRText_m);
272 fill(lrtGroup, nBase_m);
275 fill(lrtGroup, lb_m, nBaseLB_m);
277 fill(lrtGroup, lumiPerBCID_m, nBaseLB_m);
281 fill(lrtGroup, lb_m, nNoIBL_m);
285 fill(lrtGroup, lb_m, nNoBL_m);
288 fill(lrtGroup, lb_m, nNoTRText_m);
294 return StatusCode::SUCCESS;