Skip to content
Snippets Groups Projects
Unverified Commit d588bd50 authored by Shyam Kumar's avatar Shyam Kumar Committed by GitHub
Browse files

Update Tracking_Performances.C

parent 5f36da5b
No related branches found
No related tags found
No related merge requests found
Pipeline #94945 passed with warnings
...@@ -88,7 +88,7 @@ void Tracking_Performances(TString filename="tracking_output",TString particle=" ...@@ -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 pzrec = prec*TMath::Cos(theta[j]); Double_t pt_rec = sqrt(prec*prec-pzrec*pzrec);
Double_t pzmc = pz_mc[j]; 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; Double_t p_resol = (prec-pmc)/pmc;
for (int ibin=0; ibin<nbins_eta; ++ibin){ for (int ibin=0; ibin<nbins_eta; ++ibin){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment