Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HistMacro_p2pi_KinFitPullsVsPhi_PiMinus.C
Go to the documentation of this file.
1 {
2  TCanvas *cPiMinus = new TCanvas("cPiMinus","cPiMinus", 1200,900);
3  cPiMinus->Divide(3,2);
4 
5  cPiMinus->cd(1);
6  h=(TH2I*) gDirectory->Get("/p2pi_preco_kinfit/Hist_KinFitResults/Step0__Photon_Proton__Proton_Pi+_Pi-/Pi-/Pull_Px_VsPhi");
7  h->Draw("colz");
8 
9  cPiMinus->cd(2);
10  h=(TH2I*) gDirectory->Get("/p2pi_preco_kinfit/Hist_KinFitResults/Step0__Photon_Proton__Proton_Pi+_Pi-/Pi-/Pull_Py_VsPhi");
11  h->Draw("colz");
12 
13  cPiMinus->cd(3);
14  h=(TH2I*) gDirectory->Get("/p2pi_preco_kinfit/Hist_KinFitResults/Step0__Photon_Proton__Proton_Pi+_Pi-/Pi-/Pull_Pz_VsPhi");
15  h->Draw("colz");
16 
17  cPiMinus->cd(4);
18  h=(TH2I*) gDirectory->Get("/p2pi_preco_kinfit/Hist_KinFitResults/Step0__Photon_Proton__Proton_Pi+_Pi-/Pi-/Pull_Xx_VsPhi");
19  h->Draw("colz");
20 
21  cPiMinus->cd(5);
22  h=(TH2I*) gDirectory->Get("/p2pi_preco_kinfit/Hist_KinFitResults/Step0__Photon_Proton__Proton_Pi+_Pi-/Pi-/Pull_Xy_VsPhi");
23  h->Draw("colz");
24 
25  cPiMinus->cd(6);
26  h=(TH2I*) gDirectory->Get("/p2pi_preco_kinfit/Hist_KinFitResults/Step0__Photon_Proton__Proton_Pi+_Pi-/Pi-/Pull_Xz_VsPhi");
27  h->Draw("colz");
28 
29  cPiMinus->SaveAs("PiMinusKinFitPulls.png");
30 }
31 
32