Skip to content

Commit

Permalink
Update Tracking_Performances.C
Browse files Browse the repository at this point in the history
  • Loading branch information
Simple-Shyam authored Jun 6, 2024
1 parent 5f36da5 commit d588bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/tracking_performances/Tracking_Performances.C
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void Tracking_Performances(TString filename="tracking_output",TString particle="
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/pmc))/2));
Double_t etamc = -1.0*TMath::Log(TMath::Tan((TMath::ACos(pzmc/fabs(pmc)))/2));
Double_t p_resol = (prec-pmc)/pmc;

for (int ibin=0; ibin<nbins_eta; ++ibin){
Expand Down

0 comments on commit d588bd5

Please sign in to comment.