@@ -154,7 +154,7 @@ void TrackingRecoDQM::efficiencyPlots(
154154 auto truth_z0 = truth_trk.getZ0 ();
155155 auto truth_theta = truth_trk.getTheta ();
156156 auto truth_qop = truth_trk.getQoP ();
157- auto truth_p = 1 . / abs (truth_trk.getQoP ())* 1000.0 ;
157+ auto truth_p = 1 . / abs (truth_trk.getQoP ()) * 1000.0 ;
158158 auto truth_n_hits = truth_trk.getNhits ();
159159
160160 std::vector<double > truth_mom = truth_trk.getMomentum ();
@@ -235,7 +235,7 @@ void TrackingRecoDQM::efficiencyPlots(
235235 auto truth_z0 = truth_trk->getZ0 ();
236236 auto truth_theta = truth_trk->getTheta ();
237237 auto truth_qop = truth_trk->getQoP ();
238- auto truth_p = 1 . / abs (truth_trk->getQoP ())* 1000.0 ;
238+ auto truth_p = 1 . / abs (truth_trk->getQoP ()) * 1000.0 ;
239239 std::vector<double > truth_mom = truth_trk->getMomentum ();
240240
241241 // Polar angle
@@ -310,7 +310,7 @@ void TrackingRecoDQM::trackMonitoring(
310310 auto trk_qop = track.getQoP ();
311311 auto trk_theta = track.getTheta ();
312312 auto trk_phi = track.getPhi ();
313- auto trk_p = 1 . / abs (trk_qop)* 1000.0 ;
313+ auto trk_p = 1 . / abs (trk_qop) * 1000.0 ;
314314 for (auto track_hit : track.getMeasurementsIdxs ()) {
315315 histograms_.fill (title + " LayersHit" ,
316316 measurements.at (track_hit).getLayer ());
@@ -340,14 +340,15 @@ void TrackingRecoDQM::trackMonitoring(
340340 cov (Acts::BoundIndices::eBoundTheta, Acts::BoundIndices::eBoundTheta));
341341 double sigmaqop = sqrt (cov (Acts::BoundIndices::eBoundQOverP,
342342 Acts::BoundIndices::eBoundQOverP));
343- double sigmap = (1 . / trk_qop) * (1 . / trk_qop) * sigmaqop*1000 ;// convert to MeV
343+ double sigmap =
344+ (1 . / trk_qop) * (1 . / trk_qop) * sigmaqop * 1000 ; // convert to MeV
344345
345346 histograms_.fill (title + " d0" , trk_d0);
346347 histograms_.fill (title + " z0" , trk_z0);
347348 histograms_.fill (title + " qop" , trk_qop);
348349 histograms_.fill (title + " phi" , trk_phi);
349350 histograms_.fill (title + " theta" , trk_theta);
350- histograms_.fill (title + " p" , std::abs (1 . / trk_qop)* 1000 );
351+ histograms_.fill (title + " p" , std::abs (1 . / trk_qop) * 1000 );
351352
352353 if (doDetail) {
353354 histograms_.fill (title + " px" , trk_mom[0 ]);
@@ -372,7 +373,7 @@ void TrackingRecoDQM::trackMonitoring(
372373 histograms_.fill (title + " p_err" , sigmap);
373374
374375 // 2D Error plots
375- double p = std::abs (1 . / trk_qop)* 1000.0 ;
376+ double p = std::abs (1 . / trk_qop) * 1000.0 ;
376377 histograms_.fill (title + " d0_err_vs_p" , p, sigmad0);
377378 histograms_.fill (title + " z0_err_vs_p" , p, sigmaz0);
378379 histograms_.fill (title + " p_err_vs_p" , p, sigmap);
@@ -408,7 +409,7 @@ void TrackingRecoDQM::trackMonitoring(
408409 auto truth_phi = truth_trk->getPhi ();
409410 auto truth_theta = truth_trk->getTheta ();
410411 auto truth_qop = truth_trk->getQoP ();
411- auto truth_p = 1 . / abs (truth_trk->getQoP ())* 1000.0 ;
412+ auto truth_p = 1 . / abs (truth_trk->getQoP ()) * 1000.0 ;
412413 std::vector<double > truth_mom = truth_trk->getMomentum ();
413414 // Polar angle
414415 // The momentum in the plane transverse wrt the beam axis
@@ -475,8 +476,7 @@ void TrackingRecoDQM::trackMonitoring(
475476 else if (track.getNhits () == 10 )
476477 histograms_.fill (title + " res_p_vs_p_10hits" , truth_p, res_p);
477478
478- histograms_.fill (title + " res_pt_beam_vs_p" , truth_p,
479- res_pt_beam);
479+ histograms_.fill (title + " res_pt_beam_vs_p" , truth_p, res_pt_beam);
480480
481481 } // found matched track
482482 } // do TruthComparison
@@ -534,7 +534,7 @@ void TrackingRecoDQM::trackStateMonitoring(const ldmx::Tracks& tracks,
534534 Acts::BoundIndices::eBoundQOverP, Acts::BoundIndices::eBoundQOverP));
535535
536536 double trk_qop = track.getQoP ();
537- double trk_p = 1 . / abs (trk_qop)* 1000.0 ;
537+ double trk_p = 1 . / abs (trk_qop) * 1000.0 ;
538538
539539 double track_state_loc0 = target_state.params_ [0 ];
540540 double track_state_loc1 = target_state.params_ [1 ];
0 commit comments