Changeset 2240 for trunk/MagicSoft/Mars/mhistmc
- Timestamp:
- 06/26/03 20:48:39 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
r2173 r2240 66 66 67 67 fHist.SetDirectory(NULL); 68 fHist.SetTitle("3D-plot E_{TRUE} E_{EST}\\Theta");69 fHist.SetXTitle("E_{ TRUE} [GeV]");70 fHist.SetYTitle("E_{ EST} [GeV]");68 fHist.SetTitle("3D-plot E_{EST} E_{TRUE} \\Theta"); 69 fHist.SetXTitle("E_{EST} [GeV]"); 70 fHist.SetYTitle("E_{TRUE} [GeV]"); 71 71 fHist.SetZTitle("\\Theta [\\circ]"); 72 72 73 73 fHist2.SetDirectory(NULL); 74 fHist2.SetTitle("3D-plot \\Delta E / E vs E_{TRUE} E_{EST}");75 fHist2.SetXTitle("E_{ TRUE} [GeV]");76 fHist2.SetYTitle("E_{ EST} [GeV]");74 fHist2.SetTitle("3D-plot \\Delta E / E vs E_{EST} E_{TRUE}"); 75 fHist2.SetXTitle("E_{EST} [GeV]"); 76 fHist2.SetYTitle("E_{TRUE} [GeV]"); 77 77 fHist2.SetZTitle("\\frac{E_{EST} - E_{TRUE}}{E_{TRUE}}"); 78 78 … … 145 145 gPad->SetBorderMode(0); 146 146 gPad->SetLogx(); 147 h = fHist.Project3D("e x_pro");147 h = fHist.Project3D("ey_pro"); 148 148 h->SetTitle("Distribution of E_{TRUE}"); 149 149 h->SetXTitle("E_{TRUE} [GeV]"); … … 155 155 gPad->SetBorderMode(0); 156 156 gPad->SetLogx(); 157 h = fHist.Project3D("e y_pro");157 h = fHist.Project3D("ex_pro"); 158 158 h->SetTitle("Distribution of E_{EST}"); 159 159 h->SetXTitle("E_{est} [GeV]"); … … 200 200 gPad->SetLogx(); 201 201 gPad->SetLogy(); 202 h2 = (TH2D*) fHist.Project3D(" xy");202 h2 = (TH2D*) fHist.Project3D("yx"); 203 203 204 204 TProfile* h2pfx; … … 227 227 gPad->SetLogx(); 228 228 gPad->SetLeftMargin(0.15); 229 h2 = (TH2D*) fHist2.Project3D("z x");229 h2 = (TH2D*) fHist2.Project3D("zy"); 230 230 h2->SetBit(kCanDelete); 231 231 h2pfx = h2->ProfileX("_pfx", 1, h2->GetNbinsY(),"S"); … … 250 250 gPad->SetLogx(); 251 251 gPad->SetLeftMargin(0.15); 252 h2 = (TH2D*) fHist2.Project3D("z y");252 h2 = (TH2D*) fHist2.Project3D("zx"); 253 253 h2->SetBit(kCanDelete); 254 254 h2pfx = h2->ProfileX("_pfx", 1, h2->GetNbinsY(),"S");
Note:
See TracChangeset
for help on using the changeset viewer.