START macros added
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Sep 2000 10:29:11 +0000 (10:29 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Sep 2000 10:29:11 +0000 (10:29 +0000)
macros/DrawSTART.C [new file with mode: 0755]
macros/ViewSTART.C [new file with mode: 0755]

diff --git a/macros/DrawSTART.C b/macros/DrawSTART.C
new file mode 100755 (executable)
index 0000000..40caaa3
--- /dev/null
@@ -0,0 +1,19 @@
+void DrawSTART()
+{
+
+ gMC->Gsatt("*", "seen", -1);
+ gMC->Gsatt("alic", "seen", 0);
+ gROOT->LoadMacro("ViewSTART.C");
+ gInterpreter->ProcessLine("ViewSTART()");
+ gMC->Gdopt("hide", "on");
+ gMC->Gdopt("shad", "on");
+ gMC->Gsatt("*", "fill", 7);
+ //   gMC->SetClipBox(".");
+ // gMC->SetClipBox("*", 0, 300, -300, 300, -300, 300);
+ //   gMC->SetClipBox("*", 0, 1000, -1000, 1000, -1000, 1000);
+ gMC->DefaultRange();
+ gMC->Gdraw("ALIC", 40, 30, 0, -10, 2, 0.5, 0.5);
+ gMC->Gdhead(1111, "START Detector");
+ //  gMC->Gdman(13, 9, "MAN");
+}
diff --git a/macros/ViewSTART.C b/macros/ViewSTART.C
new file mode 100755 (executable)
index 0000000..08ac755
--- /dev/null
@@ -0,0 +1,9 @@
+void ViewSTART()
+{
+   gMC->Gsatt("STRT","seen",0);
+   gMC->Gsatt("INST","seen",0);
+   gMC->Gsatt("PMT","seen",1);
+   gMC->Gsatt("DIVI","seen",1);
+}
+
+