17 TCanvas *
c1 =
new TCanvas(
"c1");
20 c1->SetRightMargin(0.125);
22 new TFile(
"bfield.root");
26 dBtot_vs_r_vs_z->Scale(10000.0);
28 TH2D *
axes =
new TH2D(
"axes",
"B-field Gradient magnitude", 100, -100.0, 450.0, 100, 0.0, 200.0);
29 axes->SetXTitle(
"z (cm)");
30 axes->SetYTitle(
"r (cm)");
32 axes->GetZaxis()->SetRangeUser(0.0, 1000.0);
35 dBtot_vs_r_vs_z->GetZaxis()->SetRangeUser(0.0, 1000.0);
36 dBtot_vs_r_vs_z->GetZaxis()->SetTitle(
"Gauss/cm");
37 dBtot_vs_r_vs_z->Draw(
"same zcol");
43 c1->SaveAs(
"dBtot_vs_r_vs_z.pdf");
44 c1->SaveAs(
"dBtot_vs_r_vs_z.gif");
void dBtot_vs_r_vs_z(void)
void DrawGlueXBoundaries(Int_t full_detector=false, Int_t fill_in=false, Double_t clip_tof=1000.0, Int_t color=-1)