Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HistMacro_p2pi_KinFitPullsVsPhi_PiPlus.C
Go to the documentation of this file.
1 {
2  TCanvas *cPiPlus = new TCanvas("cPiPlus","cPiPlus", 1200,900);
3  cPiPlus->Divide(3,2);
4 
5  cPiPlus->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  cPiPlus->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  cPiPlus->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  cPiPlus->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  cPiPlus->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  cPiPlus->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  cPiPlus->SaveAs("PiPlusKinFitPulls.png");
30 }
31 
32