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

Update doCompare_truth_real_widebins_mom.C

Fixing the symbol name Pt-->p.
parent cf3f09da
No related branches found
No related tags found
No related merge requests found
Pipeline #98054 failed with stages
in 1 hour, 5 minutes, and 57 seconds
...@@ -166,7 +166,7 @@ void doCompare_truth_real_widebins_mom(TString particle = "pi-",double etamin=-1 ...@@ -166,7 +166,7 @@ void doCompare_truth_real_widebins_mom(TString particle = "pi-",double etamin=-1
// Write the numbers in output file for comparisons // Write the numbers in output file for comparisons
outfile<<"ePIC"<<setw(20)<<epic.Data()<<setw(20)<<"EICrecon"<<setw(20)<<eicrecon.Data()<<endl; outfile<<"ePIC"<<setw(20)<<epic.Data()<<setw(20)<<"EICrecon"<<setw(20)<<eicrecon.Data()<<endl;
outfile<<"Etamin"<<setw(20)<<"Etamax"<<setw(20)<<"Pt (GeV/c) \t"<<setw(20)<<"Resol #mum (Truth)"<<setw(20)<<"Resol #mum (Real)"<<endl; outfile<<"Etamin"<<setw(20)<<"Etamax"<<setw(20)<<"p (GeV/c) \t"<<setw(20)<<"Resol #mum (Truth)"<<setw(20)<<"Resol #mum (Real)"<<endl;
for (Int_t i = 0; i<gr1->GetN(); ++i){ for (Int_t i = 0; i<gr1->GetN(); ++i){
double x,ytrue, yreal; double x,ytrue, yreal;
gr1->GetPoint(i,x,ytrue); gr2->GetPoint(i,x,yreal); gr1->GetPoint(i,x,ytrue); gr2->GetPoint(i,x,yreal);
......
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