Fast Momentum Resolution Estimate during Design Stage - Analysis
Edit me
Continue with Example 2, and stay in its working directory
shell commands
root.exe -q -b Fun4All_G4_Momentum.C\(1000\)
shell commands
root.exe FastTrackingEval.root
root
command
tracks->Draw("sqrt(px*px+py*py)/sqrt(gpx*gpx+gpy*gpy)");
tracks->Draw("sqrt(px*px+py*py)/sqrt(gpx*gpx+gpy*gpy)","sqrt(px*px+py*py)/sqrt(gpx*gpx+gpy*gpy)>0.8");
tracks->Draw("dca2d");
tracks->Draw("dca2d","dca2d<0.1");