From 48ea753b834c4cb14d8ae37e520dac1c7b7ced05 Mon Sep 17 00:00:00 2001 From: Shyam Date: Fri, 5 Dec 2025 19:50:09 +0100 Subject: [PATCH 01/21] adding new campaign --- benchmarks/tracking_performances/Snakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 95d7efc7..6ea8b76a 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -277,5 +277,6 @@ rule tracking_performance_campaigns: "24.10.1", "25.07.0", "25.08.0", + "25.10.4", ], ) From b137a6ff76bf8d893dfb8947260f06cf7d705180 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sat, 6 Dec 2025 13:57:52 +0100 Subject: [PATCH 02/21] Update Snakefile Removed old campaign --- benchmarks/tracking_performances/Snakefile | 1 - 1 file changed, 1 deletion(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 6ea8b76a..6a13ebc3 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -274,7 +274,6 @@ rule tracking_performance_campaigns: expand( "results/tracking_performances/{CAMPAIGN}", CAMPAIGN=[ - "24.10.1", "25.07.0", "25.08.0", "25.10.4", From af736ba517cead8b89201d422f6ec47650c0e9e8 Mon Sep 17 00:00:00 2001 From: Shyam Date: Sat, 6 Dec 2025 14:52:16 +0100 Subject: [PATCH 03/21] fixing title --- benchmarks/tracking_performances/NhitsvsEta_ePIC.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/tracking_performances/NhitsvsEta_ePIC.C b/benchmarks/tracking_performances/NhitsvsEta_ePIC.C index 674efb58..b1b2fb0f 100644 --- a/benchmarks/tracking_performances/NhitsvsEta_ePIC.C +++ b/benchmarks/tracking_performances/NhitsvsEta_ePIC.C @@ -238,7 +238,7 @@ void NhitsvsEta_ePIC(TString filePath="", TString label="", TString output_prefi hits->SetLineWidth(2); hits->Draw("hist"); TPaveText *pt = new TPaveText(0.1, 0.95, 0.9, 1.0, "NDC"); - pt->AddText(Form("p_{mc} = %1.1f GeV/c",pmc)); + pt->AddText(Form("MC Truth-Level Hits; p_{mc} = %1.1f GeV/c",pmc)); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(23); From 6c6228731f6fb70010f6a6b58e421229e07739ba Mon Sep 17 00:00:00 2001 From: Shyam Date: Sat, 6 Dec 2025 20:45:56 +0100 Subject: [PATCH 04/21] Adding pull distribution of track parameters --- .../Tracking_Performances.C | 30 +++++++++++++++++-- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/benchmarks/tracking_performances/Tracking_Performances.C b/benchmarks/tracking_performances/Tracking_Performances.C index 69c79cff..7528dc02 100644 --- a/benchmarks/tracking_performances/Tracking_Performances.C +++ b/benchmarks/tracking_performances/Tracking_Performances.C @@ -1,6 +1,7 @@ // Code to extract the Tracking Performances // Shyam Kumar; INFN Bari, Italy // shyam.kumar@ba.infn.it; shyam.kumar@cern.ch +// Pull distributions: https://indico.bnl.gov/event/28544/contributions/109057/attachments/62799/108633/ePIC_Tracking_Meeting_30June2025_ShyamKumar.pdf #include "TGraphErrors.h" #include "TF1.h" @@ -30,7 +31,7 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" int nfiles = 100; double eta[nbins_eta+1]={-3.5,-2.5,-1.0,1.0,2.5,3.5}; double pt[nbins_eta+1]={0.5,1.0,2.0,5.0,10.0,20.1}; - TH1D *histp[nbins_eta]; + TH1D *histp[nbins_eta], *hpull_invp[nbins_eta], *hpull_d0xy[nbins_eta], *hpull_d0z[nbins_eta], *hpull_phi[nbins_eta], *hpull_theta[nbins_eta]; TH3D *h_d0xy_3d= new TH3D("h_d0xy_3d","Transverse Pointing Resolution",500,-0.1,0.1,70,-3.5,3.5,201,0.,20.1); TH3D *h_d0z_3d= new TH3D("h_d0z_3d","Longitudinal Pointing Resolution",500,-0.1,0.1,70,-3.5,3.5,201,0.,20.1); @@ -88,6 +89,7 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" TTreeReaderArray theta(myReader, Form("CentralCKF%sTrackParameters.theta",tag.Data())); TTreeReaderArray phi(myReader, Form("CentralCKF%sTrackParameters.phi",tag.Data())); TTreeReaderArray qoverp(myReader, Form("CentralCKF%sTrackParameters.qOverP",tag.Data())); + TTreeReaderArray> rcTrkCov(myReader, Form("CentralCKF%sTrackParameters.covariance.covariance[21]",tag.Data())); int count =0; int matchId = 1; // Always matched track assigned the index 0 @@ -111,9 +113,24 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" Double_t etamc = -1.0*TMath::Log(TMath::Tan((TMath::ACos(pzmc/fabs(pmc)))/2)); Double_t p_resol = (prec-pmc)/pmc; + // Accessing the pull distributions + std::array& cov = rcTrkCov.At(j); // access covariance + Double_t pull_invmom = (fabs(1./prec)-fabs(1./pmc))/sqrt(cov[14]); // cov[14] = sigma_1/p^2 + Double_t pull_dcaxy = d0xy[j]/sqrt(cov[0]); // cov[0] = sigma_l0^2 + Double_t pull_dcaz = d0z[j]/sqrt(cov[2]); // cov[2] = sigma_l1^2 + Double_t pull_phi = (phi[j]-phi_mc)/sqrt(cov[5]); + Double_t pull_theta = (theta[j]-theta_mc)/sqrt(cov[9]); + for (int ibin=0; ibineta[ibin] && etamcFill(p_resol); + if(etamc>eta[ibin] && etamcFill(p_resol); + hpull_invp[ibin]->Fill(pull_invmom); + hpull_d0xy[ibin]->Fill(pull_dcaxy); + hpull_d0z[ibin]->Fill(pull_dcaz); + hpull_phi[ibin]->Fill(pull_phi); + hpull_theta[ibin]->Fill(pull_theta); + } } h_d0xy_3d->Fill(d0xy[j]*0.1, etamc, ptmc); // cm h_d0z_3d->Fill(d0z[j]*0.1, etamc, ptmc); // cm @@ -124,7 +141,14 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" TFile *fout_mom = new TFile(Form("%s/%s/mom/Performances_mom_%1.1f_%s_%s.root",dir.Data(),particle.Data(),mom,dist_dir_mom.Data(),particle.Data()),"recreate"); fout_mom->cd(); - for (int ibin=0; ibinWrite(); + for (int ibin=0; ibinWrite(); + hpull_invp[ibin]->Write(); + hpull_d0xy[ibin]->Write(); + hpull_d0z[ibin]->Write(); + hpull_phi[ibin]->Write(); + hpull_theta[ibin]->Write(); + } fout_mom->Close(); TFile *fout_dca = new TFile(Form("%s/%s/dca/Performances_dca_%1.1f_%s_%s.root",dir.Data(),particle.Data(),mom,dist_dir_dca.Data(),particle.Data()),"recreate"); From 8081af5ea6268f5009066fd5a801884eac7d3359 Mon Sep 17 00:00:00 2001 From: Shyam Date: Sat, 6 Dec 2025 21:02:16 +0100 Subject: [PATCH 05/21] fixing a bug --- .../Tracking_Performances.C | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/benchmarks/tracking_performances/Tracking_Performances.C b/benchmarks/tracking_performances/Tracking_Performances.C index 7528dc02..94850f3f 100644 --- a/benchmarks/tracking_performances/Tracking_Performances.C +++ b/benchmarks/tracking_performances/Tracking_Performances.C @@ -40,6 +40,26 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" histp[i] = new TH1D(Form("hist_etabin%d",i),Form("hist_etabin%d",i),600,-0.3,0.3); histp[i]->SetTitle(Form("%1.1f < #eta < %1.1f && p = %1.1f ",eta[i],eta[i+1],mom)); histp[i]->SetName(Form("hist_mom_%1.1f_%1.1f_pmax_%1.1f",mom,eta[i],eta[i+1])); + + hpull_invp[i] = new TH1D(Form("hpull_invp_etabin%d",i),Form("hist_etabin%d",i),100,-10.0,10.0); + hpull_invp[i]->SetTitle(Form("%1.1f < #eta < %1.1f && p = %1.1f (GeV/c);Pull (q/p);Entries (a.u.)",eta[i],eta[i+1],mom)); + hpull_invp[i]->SetName(Form("hpull_invp_%1.1f_%1.1f_pmax_%1.1f",mom,eta[i],eta[i+1])); + + hpull_d0xy[i] = new TH1D(Form("hpull_d0xy_etabin%d",i),Form("hist_etabin%d",i),100,-10.0,10.0); + hpull_d0xy[i]->SetTitle(Form("%1.1f < #eta < %1.1f && p = %1.1f (GeV/c);Pull (d0_{xy});Entries (a.u.)",eta[i],eta[i+1],mom)); + hpull_d0xy[i]->SetName(Form("hpull_d0xy_%1.1f_%1.1f_pmax_%1.1f",mom,eta[i],eta[i+1])); + + hpull_d0z[i] = new TH1D(Form("hpull_d0z_etabin%d",i),Form("hist_etabin%d",i),100,-10.0,10.0); + hpull_d0z[i]->SetTitle(Form("%1.1f < #eta < %1.1f && p = %1.1f (GeV/c);Pull (d0_{z});Entries (a.u.)",eta[i],eta[i+1],mom)); + hpull_d0z[i]->SetName(Form("hpull_d0z_%1.1f_%1.1f_pmax_%1.1f",mom,eta[i],eta[i+1])); + + hpull_phi[i] = new TH1D(Form("hpull_phi_etabin%d",i),Form("hist_etabin%d",i),100,-10.0,10.0); + hpull_phi[i]->SetTitle(Form("%1.1f < #eta < %1.1f && p = %1.1f (GeV/c);Pull (#phi);Entries (a.u.)",eta[i],eta[i+1],mom)); + hpull_phi[i]->SetName(Form("hpull_phi_%1.1f_%1.1f_pmax_%1.1f",mom,eta[i],eta[i+1])); + + hpull_theta[i] = new TH1D(Form("hpull_theta_etabin%d",i),Form("hist_etabin%d",i),100,-10.0,10.0); + hpull_theta[i]->SetTitle(Form("%1.1f < #eta < %1.1f && p = %1.1f (GeV/c);Pull (#theta);Entries (a.u.)",eta[i],eta[i+1],mom)); + hpull_theta[i]->SetName(Form("hpull_theta_%1.1f_%1.1f_pmax_%1.1f",mom,eta[i],eta[i+1])); } TFile* file = TFile::Open(filename.Data()); From 1a5b181f9d30372763e15ef431d91aee5a2d6759 Mon Sep 17 00:00:00 2001 From: Shyam Date: Sat, 6 Dec 2025 22:04:35 +0100 Subject: [PATCH 06/21] adding a drawing macro for pulls --- benchmarks/tracking_performances/draw_Pulls.C | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 benchmarks/tracking_performances/draw_Pulls.C diff --git a/benchmarks/tracking_performances/draw_Pulls.C b/benchmarks/tracking_performances/draw_Pulls.C new file mode 100644 index 00000000..b3ab4d3a --- /dev/null +++ b/benchmarks/tracking_performances/draw_Pulls.C @@ -0,0 +1,75 @@ +// Macro to draw the pulls of the track parameters +// Shyam Kumar; INFN Bari, shyam.kumar@ba.infn.it + +void draw_Pulls(TString particle = "pi-", double etamin = -1.0, double etamax = 1.0){ + + gStyle->SetPalette(kRainBow); + gStyle->SetTitleSize(0.045,"XY"); + gStyle->SetTitleSize(0.04,"XY"); + gStyle->SetLabelSize(0.04,"XY"); + gStyle->SetTitleOffset(1.0,"XY"); + gStyle->SetOptStat(1); + gStyle->SetOptFit(1); + gStyle->SetOptTitle(1); + gStyle->SetGridColor(kBlack); + gStyle->SetGridWidth(2); + gStyle->SetGridStyle(2); + + const Int_t nfiles = 6; + double mom[nfiles] ={0.5,1.0,2.0,5.0,10.0,20.0}; + TFile *fmom_real[nfiles]; + + for (int i =0; iSetMargin(0.10, 0.05 ,0.1,0.07); + + fmom_real[i] = TFile::Open(Form("./realseed/pi-/mom/Performances_mom_%1.1f_mom_resol_realseed_%s.root",mom[i],particle.Data())); + TH1D *hpull_invp = (TH1D*) fmom_real[i]->Get(Form("hpull_invp_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); + TH1D *hpull_d0xy = (TH1D*) fmom_real[i]->Get(Form("hpull_d0xy_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); + TH1D *hpull_d0z = (TH1D*) fmom_real[i]->Get(Form("hpull_d0z_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); + TH1D *hpull_phi = (TH1D*) fmom_real[i]->Get(Form("hpull_phi_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); + TH1D *hpull_theta = (TH1D*) fmom_real[i]->Get(Form("hpull_theta_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); + + can->cd(); + hpull_invp->Draw("hist") + can->SaveAs(Form("Final_Results/%s/mom/hpull_invp_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); + + can->Clear(); can->cd(); + hpull_d0xy->Draw("hist") + can->SaveAs(Form("Final_Results/%s/mom/hpull_d0xy_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); + + can->Clear(); can->cd(); + hpull_d0z->Draw("hist") + can->SaveAs(Form("Final_Results/%s/mom/hpull_d0z_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); + + can->Clear(); can->cd(); + hpull_phi->Draw("hist") + can->SaveAs(Form("Final_Results/%s/mom/hpull_phi_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); + + can->Clear(); can->cd(); + hpull_theta->Draw("hist") + can->SaveAs(Form("Final_Results/%s/mom/hpull_theta_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); + + } + +} + + + + + + + + + + + + + + + + + + + From 2501f2b5e5ed1d4445c945082e9a6782dffffccf Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 05:29:48 +0100 Subject: [PATCH 07/21] Update Tracking_Performances.C Fix for error --- benchmarks/tracking_performances/Tracking_Performances.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/benchmarks/tracking_performances/Tracking_Performances.C b/benchmarks/tracking_performances/Tracking_Performances.C index 94850f3f..ea7aefe5 100644 --- a/benchmarks/tracking_performances/Tracking_Performances.C +++ b/benchmarks/tracking_performances/Tracking_Performances.C @@ -122,7 +122,10 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" if (status[j] !=1 && pdg.GetSize()!=1) continue; Double_t ptmc = sqrt(px_mc[j]*px_mc[j]+py_mc[j]*py_mc[j]); - + TVector3 mom_MC(px_mc[j],py_mc[j],pz_mc[j]); + Double_t theta_mc = mom_MC.Theta(); + Double_t phi_mc = mom_MC.Phi(); + if (fabs(ptmc) < pTcut) continue; Double_t pmc = (1./charge[j])*sqrt(px_mc[j]*px_mc[j]+py_mc[j]*py_mc[j]+pz_mc[j]*pz_mc[j]); // 1./(q/p); similar to prec From db248bf0f90a4bbf5f7f25b93ba46036a10af26b Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 05:37:45 +0100 Subject: [PATCH 08/21] Update Tracking_Performances.C Fixing and polishing the code --- .../Tracking_Performances.C | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/benchmarks/tracking_performances/Tracking_Performances.C b/benchmarks/tracking_performances/Tracking_Performances.C index ea7aefe5..b1abe55a 100644 --- a/benchmarks/tracking_performances/Tracking_Performances.C +++ b/benchmarks/tracking_performances/Tracking_Performances.C @@ -121,28 +121,28 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" for (int j = 0; j < pdg.GetSize(); ++j){ if (status[j] !=1 && pdg.GetSize()!=1) continue; - Double_t ptmc = sqrt(px_mc[j]*px_mc[j]+py_mc[j]*py_mc[j]); TVector3 mom_MC(px_mc[j],py_mc[j],pz_mc[j]); Double_t theta_mc = mom_MC.Theta(); Double_t phi_mc = mom_MC.Phi(); - - if (fabs(ptmc) < pTcut) continue; - - Double_t pmc = (1./charge[j])*sqrt(px_mc[j]*px_mc[j]+py_mc[j]*py_mc[j]+pz_mc[j]*pz_mc[j]); // 1./(q/p); similar to prec + Double_t ptmc = mom_MC.Pt(); + Double_t etamc = mom_MC.Eta(); + + if (fabs(ptmc) < pTcut) continue; + Double_t pmc = mom_MC.Mag() / charge[j]; // 1./(q/p); similar to prec Double_t prec = 1./qoverp[j]; Double_t pzrec = prec*TMath::Cos(theta[j]); Double_t pt_rec = sqrt(prec*prec-pzrec*pzrec); Double_t pzmc = pz_mc[j]; - Double_t etamc = -1.0*TMath::Log(TMath::Tan((TMath::ACos(pzmc/fabs(pmc)))/2)); + // Double_t etamc = -1.0*TMath::Log(TMath::Tan((TMath::ACos(pzmc/fabs(pmc)))/2)); Double_t p_resol = (prec-pmc)/pmc; // Accessing the pull distributions std::array& cov = rcTrkCov.At(j); // access covariance Double_t pull_invmom = (fabs(1./prec)-fabs(1./pmc))/sqrt(cov[14]); // cov[14] = sigma_1/p^2 Double_t pull_dcaxy = d0xy[j]/sqrt(cov[0]); // cov[0] = sigma_l0^2 Double_t pull_dcaz = d0z[j]/sqrt(cov[2]); // cov[2] = sigma_l1^2 - Double_t pull_phi = (phi[j]-phi_mc)/sqrt(cov[5]); - Double_t pull_theta = (theta[j]-theta_mc)/sqrt(cov[9]); + Double_t pull_phi = (phi[j]-phi_mc)/sqrt(cov[5]); // cov[5] = sigma_phi^2 + Double_t pull_theta = (theta[j]-theta_mc)/sqrt(cov[9]); // cov[9] = sigma_theta^2 for (int ibin=0; ibin Date: Sun, 7 Dec 2025 16:18:25 +0100 Subject: [PATCH 09/21] Update Snakefile Updated snake for pulls --- benchmarks/tracking_performances/Snakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 6a13ebc3..ff6dfc8d 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -166,6 +166,7 @@ rule tracking_performance_summary_at_eta: "{CAMPAIGN}/truthseed/pi-/dca/final_hist_dca_truthseed.root", "{CAMPAIGN}/realseed/pi-/dca/final_hist_dca_realseed.root", script_mom="benchmarks/tracking_performances/doCompare_truth_real_widebins_mom.C", + script_pulls="benchmarks/tracking_performances/draw_Pulls.C", script_dcaT="benchmarks/tracking_performances/doCompare_truth_real_widebins_dcaT.C", script_dcaz="benchmarks/tracking_performances/doCompare_truth_real_widebins_dcaz.C", output: @@ -208,6 +209,7 @@ else fi cd {wildcards.CAMPAIGN} root -l -b -q ../{input.script_mom}'("pi-", {wildcards.ETA_MIN}, {wildcards.ETA_MAX}, 1., true, "'"$EXTRA_LEGEND"'")' +root -l -b -q ../{input.script_pulls}'("pi-", {wildcards.ETA_MIN}, {wildcards.ETA_MAX})' root -l -b -q ../{input.script_dcaT}'("pi-", {wildcards.ETA_MIN}, {wildcards.ETA_MAX}, true, "'"$EXTRA_LEGEND"'")' root -l -b -q ../{input.script_dcaz}'("pi-", {wildcards.ETA_MIN}, {wildcards.ETA_MAX}, true, "'"$EXTRA_LEGEND"'")' """ From ad33f5b9a18a0ad41e0f297089f663967457958e Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 17:17:00 +0100 Subject: [PATCH 10/21] Update draw_Pulls.C Using single canvas for multiple plots --- benchmarks/tracking_performances/draw_Pulls.C | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/benchmarks/tracking_performances/draw_Pulls.C b/benchmarks/tracking_performances/draw_Pulls.C index b3ab4d3a..9bb33281 100644 --- a/benchmarks/tracking_performances/draw_Pulls.C +++ b/benchmarks/tracking_performances/draw_Pulls.C @@ -21,8 +21,8 @@ void draw_Pulls(TString particle = "pi-", double etamin = -1.0, double etamax = for (int i =0; iSetMargin(0.10, 0.05 ,0.1,0.07); + TCanvas *can = new TCanvas("can","can",2000,1000); + can->Divide(3,2); fmom_real[i] = TFile::Open(Form("./realseed/pi-/mom/Performances_mom_%1.1f_mom_resol_realseed_%s.root",mom[i],particle.Data())); TH1D *hpull_invp = (TH1D*) fmom_real[i]->Get(Form("hpull_invp_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); @@ -31,26 +31,22 @@ void draw_Pulls(TString particle = "pi-", double etamin = -1.0, double etamax = TH1D *hpull_phi = (TH1D*) fmom_real[i]->Get(Form("hpull_phi_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); TH1D *hpull_theta = (TH1D*) fmom_real[i]->Get(Form("hpull_theta_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); - can->cd(); + can->cd(1); hpull_invp->Draw("hist") - can->SaveAs(Form("Final_Results/%s/mom/hpull_invp_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); - - can->Clear(); can->cd(); + + can->cd(2); hpull_d0xy->Draw("hist") - can->SaveAs(Form("Final_Results/%s/mom/hpull_d0xy_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); - - can->Clear(); can->cd(); + + can->cd(3); hpull_d0z->Draw("hist") - can->SaveAs(Form("Final_Results/%s/mom/hpull_d0z_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); - - can->Clear(); can->cd(); + + can->cd(4); hpull_phi->Draw("hist") - can->SaveAs(Form("Final_Results/%s/mom/hpull_phi_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); - can->Clear(); can->cd(); + can->cd(5); hpull_theta->Draw("hist") - can->SaveAs(Form("Final_Results/%s/mom/hpull_theta_%1.1f_%1.1f_pmax_%1.1f",particle.Data(),etamin,etamax,mom[i])); - + can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_%1.1f_pmax_%1.1f.png",particle.Data(),etamin,etamax,mom[i])); + can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_%1.1f_pmax_%1.1f.root",particle.Data(),etamin,etamax,mom[i])); } } From 845d2d368a5e74804c54fb6a528f00c0606a7e33 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 17:29:26 +0100 Subject: [PATCH 11/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index ff6dfc8d..937c67a0 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -187,6 +187,8 @@ rule tracking_performance_summary_at_eta: ), "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.root", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_{ETA_MAX}_pmax_{MOMENTUM:.1f}.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_{ETA_MAX}_pmax_{MOMENTUM:.1f}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.png", @@ -241,6 +243,12 @@ rule tracking_performance: [ "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.png", "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.root", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_0.5.png", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_1.0.png", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_15.0.png", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_0.5.root", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_1.0.root", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_15.0.root", "{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png", ], ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])], From 6e0bce1eb1361c3f4807a0b246bd2766704be256 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 17:30:46 +0100 Subject: [PATCH 12/21] Update draw_Pulls.C --- benchmarks/tracking_performances/draw_Pulls.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/tracking_performances/draw_Pulls.C b/benchmarks/tracking_performances/draw_Pulls.C index 9bb33281..5c21f24a 100644 --- a/benchmarks/tracking_performances/draw_Pulls.C +++ b/benchmarks/tracking_performances/draw_Pulls.C @@ -45,8 +45,8 @@ void draw_Pulls(TString particle = "pi-", double etamin = -1.0, double etamax = can->cd(5); hpull_theta->Draw("hist") - can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_%1.1f_pmax_%1.1f.png",particle.Data(),etamin,etamax,mom[i])); - can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_%1.1f_pmax_%1.1f.root",particle.Data(),etamin,etamax,mom[i])); + can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_eta_%1.1f_pmax_%1.1f.png",particle.Data(),etamin,etamax,mom[i])); + can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_eta_%1.1f_pmax_%1.1f.root",particle.Data(),etamin,etamax,mom[i])); } } From dca23b4623c82870f295d6a2852ab8d7d83f3c83 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 17:31:38 +0100 Subject: [PATCH 13/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 937c67a0..f7807052 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -187,8 +187,8 @@ rule tracking_performance_summary_at_eta: ), "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.root", - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_{ETA_MAX}_pmax_{MOMENTUM:.1f}.png", - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_{ETA_MAX}_pmax_{MOMENTUM:.1f}.root", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{MOMENTUM:.1f}.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{MOMENTUM:.1f}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.png", From 74d2145521a7fc206e8452cbe7428a0d5e040a41 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 17:47:46 +0100 Subject: [PATCH 14/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index f7807052..24e8046a 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -243,12 +243,15 @@ rule tracking_performance: [ "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.png", "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.root", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_0.5.png", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_1.0.png", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_15.0.png", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_0.5.root", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_1.0.root", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_15.0.root", + *[ + f"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_{pmax}.png" + for pmax in ["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"] + ], + *[ + f"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_{pmax}.root" + for pmax in ["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"] + ], + "{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png", ], ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])], From db3412c3944a72d9a0ece82265b9892fb5588b32 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 20:24:17 +0100 Subject: [PATCH 15/21] Update draw_Pulls.C Fix for bug --- benchmarks/tracking_performances/draw_Pulls.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/benchmarks/tracking_performances/draw_Pulls.C b/benchmarks/tracking_performances/draw_Pulls.C index 5c21f24a..ebe51fa6 100644 --- a/benchmarks/tracking_performances/draw_Pulls.C +++ b/benchmarks/tracking_performances/draw_Pulls.C @@ -32,19 +32,19 @@ void draw_Pulls(TString particle = "pi-", double etamin = -1.0, double etamax = TH1D *hpull_theta = (TH1D*) fmom_real[i]->Get(Form("hpull_theta_%1.1f_%1.1f_pmax_%1.1f",mom[i],etamin,etamax)); can->cd(1); - hpull_invp->Draw("hist") + hpull_invp->Draw("hist"); can->cd(2); - hpull_d0xy->Draw("hist") + hpull_d0xy->Draw("hist"); can->cd(3); - hpull_d0z->Draw("hist") + hpull_d0z->Draw("hist"); can->cd(4); - hpull_phi->Draw("hist") + hpull_phi->Draw("hist"); can->cd(5); - hpull_theta->Draw("hist") + hpull_theta->Draw("hist"); can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_eta_%1.1f_pmax_%1.1f.png",particle.Data(),etamin,etamax,mom[i])); can->SaveAs(Form("Final_Results/%s/mom/hpulls_%1.1f_eta_%1.1f_pmax_%1.1f.root",particle.Data(),etamin,etamax,mom[i])); } From 125ade43886e3432e878bae58559413a2fd43f76 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 21:32:04 +0100 Subject: [PATCH 16/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 24e8046a..ce6f0da1 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -243,15 +243,8 @@ rule tracking_performance: [ "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.png", "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.root", - *[ - f"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_{pmax}.png" - for pmax in ["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"] - ], - *[ - f"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_{pmax}.root" - for pmax in ["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"] - ], - + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_0.5.png", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_1.0.png", "{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png", ], ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])], From 404510e0c8028fa81de92807e185ad904327579d Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Sun, 7 Dec 2025 22:06:16 +0100 Subject: [PATCH 17/21] Update Snakefile Making the logic compact --- benchmarks/tracking_performances/Snakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index ce6f0da1..29c4f2ab 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -243,11 +243,12 @@ rule tracking_performance: [ "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.png", "{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.root", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_0.5.png", - "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_1.0.png", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_{PMAX}.png", + "{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_{PMAX}.root", "{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png", ], ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])], + PMAX=["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"], ), lambda wildcards: branch( wildcards.CAMPAIGN == "local", From 3ee87c4493aa1a81892faac04e175ff53b7accd1 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Mon, 8 Dec 2025 06:03:40 +0100 Subject: [PATCH 18/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 29c4f2ab..908b2a28 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -187,8 +187,8 @@ rule tracking_performance_summary_at_eta: ), "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.root", - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{MOMENTUM:.1f}.png", - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{MOMENTUM:.1f}.root", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_0.5.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_0.5.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.png", @@ -248,7 +248,7 @@ rule tracking_performance: "{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png", ], ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])], - PMAX=["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"], + PMAX=["0.5"], ), lambda wildcards: branch( wildcards.CAMPAIGN == "local", From b6c76f3f1a0363465491396ce02cb239d9744e9b Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Mon, 8 Dec 2025 09:44:25 +0100 Subject: [PATCH 19/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 908b2a28..327f5758 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -187,8 +187,14 @@ rule tracking_performance_summary_at_eta: ), "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.root", - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_0.5.png", - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_0.5.root", + expand( + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.png", + PMAX=["0.5", "1.0", "2.0", "20.0"], + ), + expand( + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.root", + PMAX=["0.5", "1.0", "2.0", "20.0"], + ), "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.png", @@ -248,7 +254,7 @@ rule tracking_performance: "{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png", ], ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])], - PMAX=["0.5"], + PMAX=["0.5","1.0","2.0","20.0"], ), lambda wildcards: branch( wildcards.CAMPAIGN == "local", From 753d66305f92b902758b13f8dbcc2287ea4a58ee Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Mon, 8 Dec 2025 09:57:48 +0100 Subject: [PATCH 20/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 327f5758..0344daa6 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -187,13 +187,13 @@ rule tracking_performance_summary_at_eta: ), "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.root", - expand( - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.png", - PMAX=["0.5", "1.0", "2.0", "20.0"], + expand( + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.png", + PMAX=["0.5", "1.0", "2.0", "20.0"], ), - expand( - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.root", - PMAX=["0.5", "1.0", "2.0", "20.0"], + expand( + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.root", + PMAX=["0.5", "1.0", "2.0", "20.0"], ), "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.root", From ce5db7b04ac662cf93d9514b629c6bf5b206131f Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Mon, 8 Dec 2025 10:13:02 +0100 Subject: [PATCH 21/21] Update Snakefile --- benchmarks/tracking_performances/Snakefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/benchmarks/tracking_performances/Snakefile b/benchmarks/tracking_performances/Snakefile index 0344daa6..6f0d285d 100644 --- a/benchmarks/tracking_performances/Snakefile +++ b/benchmarks/tracking_performances/Snakefile @@ -187,14 +187,14 @@ rule tracking_performance_summary_at_eta: ), "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/mom/mom_resol_{ETA_MIN}_eta_{ETA_MAX}.root", - expand( - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.png", - PMAX=["0.5", "1.0", "2.0", "20.0"], - ), - expand( - "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_{PMAX}.root", - PMAX=["0.5", "1.0", "2.0", "20.0"], - ), + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_0.5.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_0.5.root", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_1.0.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_1.0.root", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_2.0.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_2.0.root", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_20.0.png", + "{CAMPAIGN}/Final_Results/pi-/mom/hpulls_{ETA_MIN}_eta_{ETA_MAX}_pmax_20.0.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.png", "{CAMPAIGN}/Final_Results/pi-/dca/dcaxy_resol_{ETA_MIN}_eta_{ETA_MAX}.root", "{CAMPAIGN}/Final_Results/pi-/dca/dcaz_resol_{ETA_MIN}_eta_{ETA_MAX}.png",