Changeset 19826 for trunk/Mars/hawc
- Timestamp:
- 10/30/19 08:47:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/hawc/plot_ranger.C
r19797 r19826 86 86 zero.SetLineColor(kBlue); 87 87 88 TGraph *g[4];89 90 88 TCanvas &c1 = d->AddTab("Bias"); 91 89 c1.Divide(2,2); … … 113 111 // ------------------------------------------------------------------ 114 112 115 TF1 zero("zero", "0", -1e100, 1e100); 116 zero.SetLineStyle(kDashed); 117 zero.SetLineWidth(1); 118 zero.SetLineColor(kBlue); 113 TCanvas &c2 = d->AddTab("Resolution"); 114 c2.Divide(2,2); 119 115 120 TCanvas &c1 = d->AddTab("Resolution"); 121 c1.Divide(2,2); 122 123 c1.cd(1); 116 c2.cd(1); 124 117 c.Draw("Predictions-True:True", "", "prof"); 125 118 plot_resolution(); 126 119 127 c 1.cd(2);120 c2.cd(2); 128 121 c.Draw("Predictions-True:Predictions", "", "prof"); 129 122 plot_resolution(); 130 123 131 c 1.cd(3);124 c2.cd(3); 132 125 c.Draw("(Predictions-True)/True:True", "", "prof"); 133 126 plot_resolution(); 134 127 135 c 1.cd(4);128 c2.cd(4); 136 129 c.Draw("(Predictions-True)/Predictions:Predictions", "", "prof"); 137 130 plot_resolution(); … … 143 136 TIter Next(leaves); 144 137 TObject *o=0; 145 while ( o=Next())138 while ((o=Next())) 146 139 { 147 140 TString name = o->GetName();
Note:
See TracChangeset
for help on using the changeset viewer.