]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/macros/show_scan_results.C
Adding muon related macros in EVE in documentation
[u/mrichter/AliRoot.git] / EVE / macros / show_scan_results.C
index 3d958efc6bc89a384a6120922dc9a0b7b6d08874..7ec8d0c53107c265541089a458eca7b248493c79 100644 (file)
@@ -73,6 +73,40 @@ void show_scan_results()
   c->Update();
 
 
+  //----------------------------------------------------------------------------
+  // Vertices
+  //----------------------------------------------------------------------------
+
+  c = new TCanvas("Vertices", "Vertex Scanning Results", 800, 600);
+  c->Divide(3, 3);
+
+  c->cd(1);
+  t->Draw("VT.GetX()", "VT.GetNContributors()>0");
+
+  c->cd(2);
+  t->Draw("VT.GetY()", "VT.GetNContributors()>0");
+
+  c->cd(3);
+  t->Draw("VT.GetZ()", "VT.GetNContributors()>0");
+
+  c->cd(4);
+  t->Draw("VSPD.GetX()", "VSPD.GetNContributors()>0 && VSPD.fTitle.Contains(\"3D\")");
+
+  c->cd(5);
+  t->Draw("VSPD.GetY()", "VSPD.GetNContributors()>0 && VSPD.fTitle.Contains(\"3D\")");
+
+  c->cd(6);
+  t->Draw("VSPD.GetZ()", "VSPD.GetNContributors()>0 && VSPD.fTitle.Contains(\"3D\")");
+
+  c->cd(7);
+  t->Draw("VTPC.GetX()", "VTPC.GetNContributors()>0");
+
+  c->cd(8);
+  t->Draw("VTPC.GetY()", "VTPC.GetNContributors()>0");
+
+  c->cd(9);
+  t->Draw("VTPC.GetZ()", "VTPC.GetNContributors()>0");
+
   //----------------------------------------------------------------------------
   // End
   //----------------------------------------------------------------------------