Make drawing and viewving named macros
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2000 19:51:04 +0000 (19:51 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2000 19:51:04 +0000 (19:51 +0000)
84 files changed:
CASTOR/DrawCASTOR.C
CASTOR/ViewCASTOR.C
FMD/DrawFMD.C
FMD/ViewFMD.C
ITS/DrawITS.C
ITS/ViewITS.C
ITS/ViewITS_v3.C
MUON/DrawMUON.C
MUON/ViewMUON.C
PHOS/DrawPHOS.C
PHOS/ViewPHOS.C
PMD/DrawPMD.C
PMD/ViewPMD.C
RICH/DrawRICH.C
RICH/ViewRICH.C
START/DrawSTART.C
START/ViewSTART.C
STRUCT/DrawABSO.C
STRUCT/DrawDIPO.C
STRUCT/DrawFRAME.C
STRUCT/DrawHALL.C
STRUCT/DrawMAG.C
STRUCT/DrawPIPE.C
STRUCT/DrawSHIL.C
STRUCT/ViewABSO.C
STRUCT/ViewDIPO.C
STRUCT/ViewFRAME.C
STRUCT/ViewHALL.C
STRUCT/ViewMAG.C
STRUCT/ViewPIPE.C
STRUCT/ViewSHIL.C
TOF/DrawTOF.C
TOF/DrawTOF0.C
TOF/DrawTOF1.C
TOF/ViewTOF.C
TOF/ViewTOF0.C
TOF/ViewTOF1.C
TOF/ViewTOF2.C
TPC/DrawTPC.C
TPC/ViewTPC.C
TRD/DrawTRD.C
TRD/ViewTRD.C
TRD/ViewTRD0.C
TRD/ViewTRD1.C
TRD/ViewTRD2.C
macros/DrawABSO.C
macros/DrawCASTOR.C
macros/DrawDIPO.C
macros/DrawFMD.C
macros/DrawFRAME.C
macros/DrawHALL.C
macros/DrawITS.C
macros/DrawMAG.C
macros/DrawMUON.C
macros/DrawPHOS.C
macros/DrawPIPE.C
macros/DrawPMD.C
macros/DrawRICH.C
macros/DrawSHIL.C
macros/DrawTOF.C
macros/DrawTOF0.C
macros/DrawTOF1.C
macros/DrawTPC.C
macros/DrawTRD.C
macros/ViewABSO.C
macros/ViewCASTOR.C
macros/ViewDIPO.C
macros/ViewFMD.C
macros/ViewFRAME.C
macros/ViewHALL.C
macros/ViewITS.C
macros/ViewMAG.C
macros/ViewMUON.C
macros/ViewPHOS.C
macros/ViewPIPE.C
macros/ViewPMD.C
macros/ViewRICH.C
macros/ViewSHIL.C
macros/ViewTOF.C
macros/ViewTOF0.C
macros/ViewTOF1.C
macros/ViewTOF2.C
macros/ViewTPC.C
macros/ViewTRD.C

index c6a3f19..83f5a17 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawCASTOR()
+void DrawCASTOR()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewCASTOR.C");
+   gROOT->LoadMacro("ViewCASTOR.C");
+   gInterpreter->ProcessLine("ViewCASTOR()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 0076ed5..3fec238 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewCASTOR()
+void ViewCASTOR()
 {
    gMC->Gsatt("OCTA","seen",0);
    gMC->Gsatt("EM  ","seen",0);
index a039e09..72744cc 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawFMD()
+void DrawFMD()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewFMD.C");
+   gROOT->LoadMacro("ViewFMD.C");
+   gInterpreter->ProcessLine("ViewFMD()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index c5a9e2c..984359c 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFMD()
+void ViewFMD()
 {
    gMC->Gsatt("IWR3","seen",1);
    gMC->Gsatt("FWR3","seen",1);
index f5e5410..fc1b90e 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawITS()
+void DrawITS()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewITS.C");
+   gROOT->LoadMacro("ViewITS.C");
+   gInterpreter->ProcessLine("ViewITS()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index dfba13b..6cc651a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewITS()
+void ViewITS()
 {
    gMC->Gsatt("ITSV","seen",0);
    gMC->Gsatt("IT12","seen",0);
index 568e547..413cf65 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewITS_v3()
+void ViewITS_v3()
 {
    gMC->Gsatt("ITSV","seen",0);
    gMC->Gsatt("IT12","seen",0);
index bc3cb70..d651a4f 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawMUON()
+void DrawMUON()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewMUON.C");
+   gROOT->LoadMacro("ViewMUON.C");
+   gInterpreter->ProcessLine("ViewMUON()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 548233f..2d62399 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMUON()
+void ViewMUON()
 {
    gMC->Gsatt("CH1A","seen",1);
    gMC->Gsatt("CH1G","seen",0);
index f976964..e415a7a 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPHOS()
+void DrawPHOS()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPHOS.C");
+   gROOT->LoadMacro("ViewPHOS.C");
+   gInterpreter->ProcessLine("ViewPHOS()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index c70fb9a..7887310 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPHOS()
+void ViewPHOS()
 {
   // Set drawing attributes for PHOS version #2
 
index 0faaa52..5f90fa2 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPMD()
+void DrawPMD()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPMD.C");
+   gROOT->LoadMacro("ViewPMD.C");
+   gInterpreter->ProcessLine("ViewPMD()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 8bc4c61..dc0315b 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPMD()
+void ViewPMD()
 {
    gMC->Gsatt("DP21","seen",0);
    gMC->Gsatt("DP22","seen",0);
index 90b5b89..0915732 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawRICH()
+void DrawRICH()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewRICH.C");
+   gROOT->LoadMacro("ViewRICH.C");
+   gInterpreter->ProcessLine("ViewRICH()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 6719da6..10403b3 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewRICH()
+void ViewRICH()
 {
    gMC->Gsatt("RICH","seen",0);
    gMC->Gsatt("SRIC","seen",0);
index a3ba444..0c323cd 100755 (executable)
@@ -1,8 +1,9 @@
-//void DrawSTART()
+void DrawSTART()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewSTART.C");
+   gROOT->LoadMacro("ViewSTART.C");
+   gInterpreter->ProcessLine("ViewSTART()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 1842b29..095aad2 100755 (executable)
@@ -1,4 +1,4 @@
-//void ViewSTART()
+void ViewSTART()
 {
    gMC->Gsatt("STRT","seen",0);
    gMC->Gsatt("PMT ","seen",1);
index d13f0ef..2d60c84 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawABSO()
+void DrawABSO()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewABSO.C");
+   gROOT->LoadMacro("ViewABSO.C");
+   gInterpreter->ProcessLine("ViewABSO()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 9db306a..9ec2b40 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawDIPO()
+void DrawDIPO()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewDIPO.C");
+   gROOT->LoadMacro("ViewDIPO.C");
+   gInterpreter->ProcessLine("ViewDIPO()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index f5595fa..e0d6869 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawFRAME()
+void DrawFRAME()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewFRAME.C");
+   gROOT->LoadMacro("ViewFRAME.C");
+   gInterpreter->ProcessLine("ViewFRAME()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 5);
index 1f47d90..54dbc11 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawHALL()
+void DrawHALL()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewHALL.C");
+   gROOT->LoadMacro("ViewHALL.C");
+   gInterpreter->ProcessLine("ViewHALL()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 3202e60..50301ce 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawMAG()
+void DrawMAG()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewMAG.C");
+   gROOT->LoadMacro("ViewMAG.C");
+   gInterpreter->ProcessLine("ViewMAG()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 8e76c07..7a6caa0 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPIPE()
+void DrawPIPE()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPIPE.C");
+   gROOT->LoadMacro("ViewPIPE.C");
+   gInterpreter->ProcessLine("ViewPIPE()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index c36ee1a..607d56f 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawSHIL()
+void DrawSHIL()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewSHIL.C");
+   gROOT->LoadMacro("ViewSHIL.C");
+   gInterpreter->ProcessLine("ViewSHIL()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 1a7fcaa..452aa5a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewABSO()
+void ViewABSO()
 {
    gMC->Gsatt("ABSM","seen",1);
    gMC->Gsatt("ANOS","seen",1);
index 3f722d8..1f23245 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewDIPO()
+void ViewDIPO()
 {
    gMC->Gsatt("DDIP","seen",0);
    gMC->Gsatt("DC1 ","seen",1);
index d1f1c86..1b065bd 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFRAME()
+void ViewFRAME()
 {
 /*
    gMC->Gsatt("BFMO","seen",0);
index 76bb6bc..f16d7e7 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewHALL()
+void ViewHALL()
 {
    gMC->Gsatt("HUFL","seen",1);
    gMC->Gsatt("HUWA","seen",1);
index 8d54220..aad1d4c 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMAG()
+void ViewMAG()
 {
    gMC->Gsatt("L3MO","seen",0);
    gMC->Gsatt("L3CO","seen",1);
index 4b11688..d110e3a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPIPE()
+void ViewPIPE()
 {
    gMC->Gsatt("QQMO","seen",1);
    gMC->Gsatt("QDT1","seen",1);
index 6fca123..4e09a22 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewSHIL()
+void ViewSHIL()
 {
    gMC->Gsatt("YMOT","seen",1);
    gMC->Gsatt("YMS1","seen",1);
index d2444d8..6a16440 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTOF()
+void DrawTOF()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);   
-   gROOT->Macro("ViewTOF4.C");
+   gROOT->LoadMacro("ViewTOF4.C");
+   gInterpreter->ProcessLine("ViewTOF4()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 10a3139..a9033e9 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTOF0()
+void DrawTOF0()
 {
    geant3->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTOF0.C");
+   gROOT->LoadMacro("ViewTOF0.C");
+   gInterpreter->ProcessLine("ViewTOF0()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index a2c98c7..2c5636a 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTPC()
+void DrawTPC()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTPC.C");
+   gROOT->LoadMacro("ViewTPC.C");
+   gInterpreter->ProcessLine("ViewTPC()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 95133ba..f3dbc4a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF()
+void ViewTOF()
 {
    AliDetector *TOF  = gAlice->GetDetector("TOF");
    gMC->Gsatt("*","seen",0);
index c38442a..c81607d 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF0()
+void ViewTOF0()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FSEC","seen",0);
index a415453..8b3d263 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF1()
+void ViewTOF1()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FGP1","seen",1);
index 5c0d236..5a6752c 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF2()
+void ViewTOF2()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FTOF","seen",0);
index 798f848..257faac 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTPC()
+void DrawTPC()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTPC.C");
+   gROOT->LoadMacro("ViewTPC.C");
+   gInterpreter->ProcessLine("ViewTPC()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index f593d3e..dd53766 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTPC()
+void ViewTPC()
 {
   gMC->Gsatt("TPC","SEEN",0);
   gMC->Gsatt("TPEC","SEEN",0);
index 02e91db..c594599 100644 (file)
@@ -4,9 +4,11 @@ void DrawTRD()
    gMC->Gsatt("alic", "seen", 0);
    AliTRD *TRD = gAlice->GetModule("TRD");
    if (TRD->Hole())
-     gROOT->Macro("ViewTRDhole.C");
+     gROOT->LoadMacro("ViewTRDhole.C");
+   gInterpreter->ProcessLine("ViewTRDhole()");
    else
-     gROOT->Macro("ViewTRDfull.C");
+     gROOT->LoadMacro("ViewTRDfull.C");
+   gInterpreter->ProcessLine("ViewTRDfull()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 61d9b31..1dbb083 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
 
   gMC->Gsatt("B032","SEEN", 0);
index 80c786b..6492a59 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
    geant3->Gsatt("TRD ","seen",0);
    geant3->Gsatt("UTRS","seen",0);
index 496a38a..c32e36f 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
    geant3->Gsatt("TRD ","seen",0);
    geant3->Gsatt("UTRD","seen",0);
index bb6026a..e956bc0 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
 
    geant3->Gsatt("TRD ","seen",0);
index d13f0ef..2d60c84 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawABSO()
+void DrawABSO()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewABSO.C");
+   gROOT->LoadMacro("ViewABSO.C");
+   gInterpreter->ProcessLine("ViewABSO()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index c6a3f19..83f5a17 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawCASTOR()
+void DrawCASTOR()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewCASTOR.C");
+   gROOT->LoadMacro("ViewCASTOR.C");
+   gInterpreter->ProcessLine("ViewCASTOR()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 9db306a..9ec2b40 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawDIPO()
+void DrawDIPO()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewDIPO.C");
+   gROOT->LoadMacro("ViewDIPO.C");
+   gInterpreter->ProcessLine("ViewDIPO()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index a039e09..72744cc 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawFMD()
+void DrawFMD()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewFMD.C");
+   gROOT->LoadMacro("ViewFMD.C");
+   gInterpreter->ProcessLine("ViewFMD()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index f5595fa..e0d6869 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawFRAME()
+void DrawFRAME()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewFRAME.C");
+   gROOT->LoadMacro("ViewFRAME.C");
+   gInterpreter->ProcessLine("ViewFRAME()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 5);
index 1f47d90..54dbc11 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawHALL()
+void DrawHALL()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewHALL.C");
+   gROOT->LoadMacro("ViewHALL.C");
+   gInterpreter->ProcessLine("ViewHALL()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index f5e5410..fc1b90e 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawITS()
+void DrawITS()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewITS.C");
+   gROOT->LoadMacro("ViewITS.C");
+   gInterpreter->ProcessLine("ViewITS()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 3202e60..50301ce 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawMAG()
+void DrawMAG()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewMAG.C");
+   gROOT->LoadMacro("ViewMAG.C");
+   gInterpreter->ProcessLine("ViewMAG()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index bc3cb70..d651a4f 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawMUON()
+void DrawMUON()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewMUON.C");
+   gROOT->LoadMacro("ViewMUON.C");
+   gInterpreter->ProcessLine("ViewMUON()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index f976964..e415a7a 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPHOS()
+void DrawPHOS()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPHOS.C");
+   gROOT->LoadMacro("ViewPHOS.C");
+   gInterpreter->ProcessLine("ViewPHOS()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 8e76c07..7a6caa0 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPIPE()
+void DrawPIPE()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPIPE.C");
+   gROOT->LoadMacro("ViewPIPE.C");
+   gInterpreter->ProcessLine("ViewPIPE()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 0faaa52..5f90fa2 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPMD()
+void DrawPMD()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPMD.C");
+   gROOT->LoadMacro("ViewPMD.C");
+   gInterpreter->ProcessLine("ViewPMD()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 90b5b89..0915732 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawRICH()
+void DrawRICH()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewRICH.C");
+   gROOT->LoadMacro("ViewRICH.C");
+   gInterpreter->ProcessLine("ViewRICH()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index c36ee1a..607d56f 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawSHIL()
+void DrawSHIL()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewSHIL.C");
+   gROOT->LoadMacro("ViewSHIL.C");
+   gInterpreter->ProcessLine("ViewSHIL()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 36bede7..26af67a 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTOF()
+void DrawTOF()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTOF.C");
+   gROOT->LoadMacro("ViewTOF.C");
+   gInterpreter->ProcessLine("ViewTOF()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 10a3139..a9033e9 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTOF0()
+void DrawTOF0()
 {
    geant3->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTOF0.C");
+   gROOT->LoadMacro("ViewTOF0.C");
+   gInterpreter->ProcessLine("ViewTOF0()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index a2c98c7..2c5636a 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTPC()
+void DrawTPC()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTPC.C");
+   gROOT->LoadMacro("ViewTPC.C");
+   gInterpreter->ProcessLine("ViewTPC()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 798f848..257faac 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTPC()
+void DrawTPC()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTPC.C");
+   gROOT->LoadMacro("ViewTPC.C");
+   gInterpreter->ProcessLine("ViewTPC()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 444deac..30a9cb2 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawTRD()
+void DrawTRD()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTRD.C");
+   gROOT->LoadMacro("ViewTRD.C");
+   gInterpreter->ProcessLine("ViewTRD()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
index 1a7fcaa..452aa5a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewABSO()
+void ViewABSO()
 {
    gMC->Gsatt("ABSM","seen",1);
    gMC->Gsatt("ANOS","seen",1);
index 0076ed5..3fec238 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewCASTOR()
+void ViewCASTOR()
 {
    gMC->Gsatt("OCTA","seen",0);
    gMC->Gsatt("EM  ","seen",0);
index 3f722d8..1f23245 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewDIPO()
+void ViewDIPO()
 {
    gMC->Gsatt("DDIP","seen",0);
    gMC->Gsatt("DC1 ","seen",1);
index c5a9e2c..984359c 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFMD()
+void ViewFMD()
 {
    gMC->Gsatt("IWR3","seen",1);
    gMC->Gsatt("FWR3","seen",1);
index d1f1c86..1b065bd 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFRAME()
+void ViewFRAME()
 {
 /*
    gMC->Gsatt("BFMO","seen",0);
index 76bb6bc..f16d7e7 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewHALL()
+void ViewHALL()
 {
    gMC->Gsatt("HUFL","seen",1);
    gMC->Gsatt("HUWA","seen",1);
index dfba13b..6cc651a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewITS()
+void ViewITS()
 {
    gMC->Gsatt("ITSV","seen",0);
    gMC->Gsatt("IT12","seen",0);
index 8d54220..aad1d4c 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMAG()
+void ViewMAG()
 {
    gMC->Gsatt("L3MO","seen",0);
    gMC->Gsatt("L3CO","seen",1);
index 548233f..2d62399 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMUON()
+void ViewMUON()
 {
    gMC->Gsatt("CH1A","seen",1);
    gMC->Gsatt("CH1G","seen",0);
index c70fb9a..7887310 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPHOS()
+void ViewPHOS()
 {
   // Set drawing attributes for PHOS version #2
 
index 4b11688..d110e3a 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPIPE()
+void ViewPIPE()
 {
    gMC->Gsatt("QQMO","seen",1);
    gMC->Gsatt("QDT1","seen",1);
index 8bc4c61..dc0315b 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPMD()
+void ViewPMD()
 {
    gMC->Gsatt("DP21","seen",0);
    gMC->Gsatt("DP22","seen",0);
index 6719da6..10403b3 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewRICH()
+void ViewRICH()
 {
    gMC->Gsatt("RICH","seen",0);
    gMC->Gsatt("SRIC","seen",0);
index 6fca123..4e09a22 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewSHIL()
+void ViewSHIL()
 {
    gMC->Gsatt("YMOT","seen",1);
    gMC->Gsatt("YMS1","seen",1);
index b98491b..688d107 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF()
+void ViewTOF()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FTOF","seen",0);
index c38442a..c81607d 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF0()
+void ViewTOF0()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FSEC","seen",0);
index a415453..8b3d263 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF1()
+void ViewTOF1()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FGP1","seen",1);
index 5c0d236..5a6752c 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF2()
+void ViewTOF2()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FTOF","seen",0);
index f593d3e..dd53766 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTPC()
+void ViewTPC()
 {
   gMC->Gsatt("TPC","SEEN",0);
   gMC->Gsatt("TPEC","SEEN",0);
index a2b607f..0fcbb24 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewUTD()
+void ViewUTD()
 {
    gMC->Gsatt("TRD ","seen",0);