New script from Alexandru: initialize TRD visualization.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Oct 2006 16:33:43 +0000 (16:33 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Oct 2006 16:33:43 +0000 (16:33 +0000)
EVE/alice-macros/init_trd.C [new file with mode: 0644]

diff --git a/EVE/alice-macros/init_trd.C b/EVE/alice-macros/init_trd.C
new file mode 100644 (file)
index 0000000..cded4b5
--- /dev/null
@@ -0,0 +1,12 @@
+void init_trd()
+{
+       TString macdir("$(REVESYS)/alice-macros");
+  gSystem->ExpandPathName(macdir);
+  gROOT->GetListOfBrowsables()->Add
+    (new TSystemDirectory(macdir.Data(), macdir.Data()));
+       Reve::AssertMacro("region_marker.C");
+       
+       Alieve::TRDLoader *trdl=new Alieve::TRDLoader();
+       gReve->AddRenderElement(trdl);
+       gReve->DrawRenderElement(trdl);
+}
\ No newline at end of file