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