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 c6a3f19b713dd1284d9c16a4c1eb0b2296fcb087..83f5a17229ee23f76804a94882e47e3651d31b0b 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 0076ed5bff98ea1473180790e66eebbb13dd8e29..3fec238be0daf303eccb0400c00cee8eb2e64e6e 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewCASTOR()
+void ViewCASTOR()
 {
    gMC->Gsatt("OCTA","seen",0);
    gMC->Gsatt("EM  ","seen",0);
index a039e096ba34c7eee16a5320da18ba7c06d3133f..72744cc6d16a00cfd2ba80bff1e4dca1fa365b8e 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 c5a9e2c1cdf79ded51cbea5c9ea359cad16d4e7d..984359cbd04d44c27fd169266438b15c26758e67 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFMD()
+void ViewFMD()
 {
    gMC->Gsatt("IWR3","seen",1);
    gMC->Gsatt("FWR3","seen",1);
index f5e541007469d26ea01d375762310f5ca0a30af2..fc1b90e9ef9b19305fb4c6ea4bef3ebbeb8a2731 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 dfba13b0bf49721150f0208c934c52746ceeb01e..6cc651a3982143bbb3933cfa5c6f07c7af9ddce9 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewITS()
+void ViewITS()
 {
    gMC->Gsatt("ITSV","seen",0);
    gMC->Gsatt("IT12","seen",0);
index 568e547c059a587ec3dc136809fb868a7b5b34a4..413cf652a7badf6a2a0b433f7021540255f0e7d9 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewITS_v3()
+void ViewITS_v3()
 {
    gMC->Gsatt("ITSV","seen",0);
    gMC->Gsatt("IT12","seen",0);
index bc3cb701a542fe586b2b96f6c3fef6139f25c166..d651a4fea5557303394297bcf5eee4b459c50a40 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 548233f6d8e4d13004f27c4a08af4b41324080cf..2d62399b29f45d3b07c0e5968ed91ee4a157d79e 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMUON()
+void ViewMUON()
 {
    gMC->Gsatt("CH1A","seen",1);
    gMC->Gsatt("CH1G","seen",0);
index f9769640ea3ac21880c16a1a44bfe385f4dd87c5..e415a7aa6bcc1cf1affe3cd65a9521e029394637 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 c70fb9a5315e9b930b5cbe0d6d182c8c8fa5c3e9..78873102430e3075df924148447808db7c9d2e87 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPHOS()
+void ViewPHOS()
 {
   // Set drawing attributes for PHOS version #2
 
index 0faaa5269e363e3bae5cca98771ef5e0cdc549e8..5f90fa28eb96bef79fca6447361d8003c6dd2942 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 8bc4c6121e6f73d18573cd6493d36e602edd67cf..dc0315bbeef4d6debd859ec59ab7ce2faace50d8 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPMD()
+void ViewPMD()
 {
    gMC->Gsatt("DP21","seen",0);
    gMC->Gsatt("DP22","seen",0);
index 90b5b89f6ee32531542a45230e25d1a81a7ee072..091573276d593600d5e7c275328ea51343d9c361 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 6719da6ec1579d9e4bfd7c7dd15e08187b3c089a..10403b3c21c16a78d12ec98c05c53a17dfe4c7d6 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewRICH()
+void ViewRICH()
 {
    gMC->Gsatt("RICH","seen",0);
    gMC->Gsatt("SRIC","seen",0);
index a3ba444dfb63881ea2d49aeb58fa3615715d34a1..0c323cdde78550063ce18a4e0e8563fb3d7b7617 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 1842b29e1aeb3be2083a7eb22bde10c915eeed05..095aad2d1924c328d511b0ea874a8d8fa96c0d7f 100755 (executable)
@@ -1,4 +1,4 @@
-//void ViewSTART()
+void ViewSTART()
 {
    gMC->Gsatt("STRT","seen",0);
    gMC->Gsatt("PMT ","seen",1);
index d13f0efd708c67ad5ab0f580dfafe26a80e2e4b0..2d60c8478b1ff73172e0255d115eb044e2b0fc5e 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 9db306aa737093c155e224553b099dfb2469150c..9ec2b40e05c2935d449c3aeb5f2f747771a44794 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 f5595fa2dea21b660d5a7683c5fe8f321a714fcf..e0d6869f93d5d4a770194cbe5740e5fea1588438 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 1f47d907e16fb068e313229ec3f9deb1e0749a83..54dbc116d203b2a6d1eefc1f779489e9204990fa 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 3202e6045576e1295db69193a6c2b464de63b7d0..50301ce6fcc2121c7ec5b896a64a3c41d0568c99 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 8e76c0795c2a1a987f145adf344d3c57556fbd7f..7a6caa0242e7b3c7a4e62c526a054e50bcc3140f 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 c36ee1a0d8503bae6505db465d35b0970a2c45ac..607d56ffbf6a7ed11f9619ddd8cd6f43f4f52e01 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 1a7fcaa57ccd523260d79634f18e4b7b6d0383f6..452aa5a8bec4ea4c3098d709b874c7b8a7fb5a97 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewABSO()
+void ViewABSO()
 {
    gMC->Gsatt("ABSM","seen",1);
    gMC->Gsatt("ANOS","seen",1);
index 3f722d8663decca5510b1d256e7ddf493612deae..1f232451fe1f352f3def86f802ac71c7cbfbd91f 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewDIPO()
+void ViewDIPO()
 {
    gMC->Gsatt("DDIP","seen",0);
    gMC->Gsatt("DC1 ","seen",1);
index d1f1c86edf2f022755f68e61f2413bb0b00891c9..1b065bd1616df2a5556bed5a010abf6a2d8709ee 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFRAME()
+void ViewFRAME()
 {
 /*
    gMC->Gsatt("BFMO","seen",0);
index 76bb6bcba987985ddc49ead1d8da0590ad4697bc..f16d7e7241fb60a534f68b7ad488f4269b3befb4 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewHALL()
+void ViewHALL()
 {
    gMC->Gsatt("HUFL","seen",1);
    gMC->Gsatt("HUWA","seen",1);
index 8d54220bb1aeacda35f95f527ee40b48a60c9416..aad1d4cb6276c77ba38f16425cbbc8c9da90c2a1 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMAG()
+void ViewMAG()
 {
    gMC->Gsatt("L3MO","seen",0);
    gMC->Gsatt("L3CO","seen",1);
index 4b116884caa5aec44dd48a8c2e80813d22e66d17..d110e3ab5a7ce61bd47e31cd909b89b308750c59 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPIPE()
+void ViewPIPE()
 {
    gMC->Gsatt("QQMO","seen",1);
    gMC->Gsatt("QDT1","seen",1);
index 6fca123296aa713854044312e5e99840ca0b457a..4e09a227f0824da8367991263f104bb29c3d4eae 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewSHIL()
+void ViewSHIL()
 {
    gMC->Gsatt("YMOT","seen",1);
    gMC->Gsatt("YMS1","seen",1);
index d2444d8502c42d256a3ac412ace59afb8ba259ac..6a16440c72f54897a11450331bf096859e8bc700 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 10a3139796689268c3879309412da6f2f5f3d5d1..a9033e92726d28d50d4f668ffc8b271d7ffa227c 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 a2c98c7e161ebeaada4b72c0b4902076e907b9fa..2c5636aa461ddecab33bd1e59899c05f74adeacc 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 95133ba6f6000cfb991f8c4a803d82d39eb917bb..f3dbc4ab291dacba03c0bcdf2598a8e886e4ad73 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF()
+void ViewTOF()
 {
    AliDetector *TOF  = gAlice->GetDetector("TOF");
    gMC->Gsatt("*","seen",0);
index c38442ae006313907c52645876d24376d9c85fae..c81607d3bcede963209ef7e2ff11033fbadd7083 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF0()
+void ViewTOF0()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FSEC","seen",0);
index a415453427335e671e70c041725a14e5338fcd7b..8b3d263303f9cd7fa330927c2fc7f78b1ce79dbf 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF1()
+void ViewTOF1()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FGP1","seen",1);
index 5c0d236aca47644804979c7c62b9574765b530eb..5a6752cff1bf45bb77782c03685ab3b536edf4aa 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF2()
+void ViewTOF2()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FTOF","seen",0);
index 798f8485ef37f1794f284ce7c4b7ffb0258f3f49..257faac4e19e424b2efcc71429eebf244f66b707 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 f593d3e34e1b205c86d6e7d2cf56253c3501c2df..dd53766f8da20cb4e00c57d1bf325c575cf44109 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTPC()
+void ViewTPC()
 {
   gMC->Gsatt("TPC","SEEN",0);
   gMC->Gsatt("TPEC","SEEN",0);
index 02e91db66b1fb9e69ce97233c4977906370eecca..c5945996ab5ab3bed3fffdb07de028b67fffe4ad 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 61d9b312e32d34f0c118da1ad9fe5f105ec2c3c4..1dbb0838896bbd9929d00ab4f302cc758702a0ce 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
 
   gMC->Gsatt("B032","SEEN", 0);
index 80c786b0b63a7683aa8fbe874f2bb9cb42409384..6492a59891683eecbe77b1c0e6dd971e141b50ce 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
    geant3->Gsatt("TRD ","seen",0);
    geant3->Gsatt("UTRS","seen",0);
index 496a38a824ddd79d3a8f71ad995c9d54740ee330..c32e36fe9013252199d5b134e3c2a54b9a11cbc0 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
    geant3->Gsatt("TRD ","seen",0);
    geant3->Gsatt("UTRD","seen",0);
index bb6026a54eee30dc7330657b9fe8d3fd98ccf33b..e956bc0fca5abe41c14c5c1922cd46dd43f43bb2 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTRD()
+void ViewTRD()
 {
 
    geant3->Gsatt("TRD ","seen",0);
index d13f0efd708c67ad5ab0f580dfafe26a80e2e4b0..2d60c8478b1ff73172e0255d115eb044e2b0fc5e 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 c6a3f19b713dd1284d9c16a4c1eb0b2296fcb087..83f5a17229ee23f76804a94882e47e3651d31b0b 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 9db306aa737093c155e224553b099dfb2469150c..9ec2b40e05c2935d449c3aeb5f2f747771a44794 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 a039e096ba34c7eee16a5320da18ba7c06d3133f..72744cc6d16a00cfd2ba80bff1e4dca1fa365b8e 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 f5595fa2dea21b660d5a7683c5fe8f321a714fcf..e0d6869f93d5d4a770194cbe5740e5fea1588438 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 1f47d907e16fb068e313229ec3f9deb1e0749a83..54dbc116d203b2a6d1eefc1f779489e9204990fa 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 f5e541007469d26ea01d375762310f5ca0a30af2..fc1b90e9ef9b19305fb4c6ea4bef3ebbeb8a2731 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 3202e6045576e1295db69193a6c2b464de63b7d0..50301ce6fcc2121c7ec5b896a64a3c41d0568c99 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 bc3cb701a542fe586b2b96f6c3fef6139f25c166..d651a4fea5557303394297bcf5eee4b459c50a40 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 f9769640ea3ac21880c16a1a44bfe385f4dd87c5..e415a7aa6bcc1cf1affe3cd65a9521e029394637 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 8e76c0795c2a1a987f145adf344d3c57556fbd7f..7a6caa0242e7b3c7a4e62c526a054e50bcc3140f 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 0faaa5269e363e3bae5cca98771ef5e0cdc549e8..5f90fa28eb96bef79fca6447361d8003c6dd2942 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 90b5b89f6ee32531542a45230e25d1a81a7ee072..091573276d593600d5e7c275328ea51343d9c361 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 c36ee1a0d8503bae6505db465d35b0970a2c45ac..607d56ffbf6a7ed11f9619ddd8cd6f43f4f52e01 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 36bede7ca453d897332f342a35074adad524c99c..26af67a10f277d7c670ce3e394365807ebde343e 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 10a3139796689268c3879309412da6f2f5f3d5d1..a9033e92726d28d50d4f668ffc8b271d7ffa227c 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 a2c98c7e161ebeaada4b72c0b4902076e907b9fa..2c5636aa461ddecab33bd1e59899c05f74adeacc 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 798f8485ef37f1794f284ce7c4b7ffb0258f3f49..257faac4e19e424b2efcc71429eebf244f66b707 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 444deac3fe300cb4750319f008783442421d5d23..30a9cb25d58b9071ad592a9f4a7a97129609bbfa 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 1a7fcaa57ccd523260d79634f18e4b7b6d0383f6..452aa5a8bec4ea4c3098d709b874c7b8a7fb5a97 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewABSO()
+void ViewABSO()
 {
    gMC->Gsatt("ABSM","seen",1);
    gMC->Gsatt("ANOS","seen",1);
index 0076ed5bff98ea1473180790e66eebbb13dd8e29..3fec238be0daf303eccb0400c00cee8eb2e64e6e 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewCASTOR()
+void ViewCASTOR()
 {
    gMC->Gsatt("OCTA","seen",0);
    gMC->Gsatt("EM  ","seen",0);
index 3f722d8663decca5510b1d256e7ddf493612deae..1f232451fe1f352f3def86f802ac71c7cbfbd91f 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewDIPO()
+void ViewDIPO()
 {
    gMC->Gsatt("DDIP","seen",0);
    gMC->Gsatt("DC1 ","seen",1);
index c5a9e2c1cdf79ded51cbea5c9ea359cad16d4e7d..984359cbd04d44c27fd169266438b15c26758e67 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFMD()
+void ViewFMD()
 {
    gMC->Gsatt("IWR3","seen",1);
    gMC->Gsatt("FWR3","seen",1);
index d1f1c86edf2f022755f68e61f2413bb0b00891c9..1b065bd1616df2a5556bed5a010abf6a2d8709ee 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewFRAME()
+void ViewFRAME()
 {
 /*
    gMC->Gsatt("BFMO","seen",0);
index 76bb6bcba987985ddc49ead1d8da0590ad4697bc..f16d7e7241fb60a534f68b7ad488f4269b3befb4 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewHALL()
+void ViewHALL()
 {
    gMC->Gsatt("HUFL","seen",1);
    gMC->Gsatt("HUWA","seen",1);
index dfba13b0bf49721150f0208c934c52746ceeb01e..6cc651a3982143bbb3933cfa5c6f07c7af9ddce9 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewITS()
+void ViewITS()
 {
    gMC->Gsatt("ITSV","seen",0);
    gMC->Gsatt("IT12","seen",0);
index 8d54220bb1aeacda35f95f527ee40b48a60c9416..aad1d4cb6276c77ba38f16425cbbc8c9da90c2a1 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMAG()
+void ViewMAG()
 {
    gMC->Gsatt("L3MO","seen",0);
    gMC->Gsatt("L3CO","seen",1);
index 548233f6d8e4d13004f27c4a08af4b41324080cf..2d62399b29f45d3b07c0e5968ed91ee4a157d79e 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewMUON()
+void ViewMUON()
 {
    gMC->Gsatt("CH1A","seen",1);
    gMC->Gsatt("CH1G","seen",0);
index c70fb9a5315e9b930b5cbe0d6d182c8c8fa5c3e9..78873102430e3075df924148447808db7c9d2e87 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPHOS()
+void ViewPHOS()
 {
   // Set drawing attributes for PHOS version #2
 
index 4b116884caa5aec44dd48a8c2e80813d22e66d17..d110e3ab5a7ce61bd47e31cd909b89b308750c59 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPIPE()
+void ViewPIPE()
 {
    gMC->Gsatt("QQMO","seen",1);
    gMC->Gsatt("QDT1","seen",1);
index 8bc4c6121e6f73d18573cd6493d36e602edd67cf..dc0315bbeef4d6debd859ec59ab7ce2faace50d8 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewPMD()
+void ViewPMD()
 {
    gMC->Gsatt("DP21","seen",0);
    gMC->Gsatt("DP22","seen",0);
index 6719da6ec1579d9e4bfd7c7dd15e08187b3c089a..10403b3c21c16a78d12ec98c05c53a17dfe4c7d6 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewRICH()
+void ViewRICH()
 {
    gMC->Gsatt("RICH","seen",0);
    gMC->Gsatt("SRIC","seen",0);
index 6fca123296aa713854044312e5e99840ca0b457a..4e09a227f0824da8367991263f104bb29c3d4eae 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewSHIL()
+void ViewSHIL()
 {
    gMC->Gsatt("YMOT","seen",1);
    gMC->Gsatt("YMS1","seen",1);
index b98491b8a5c43b0fc334a2d6a31220668532f88a..688d107101949894abab675244ff5c1775aea03b 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF()
+void ViewTOF()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FTOF","seen",0);
index c38442ae006313907c52645876d24376d9c85fae..c81607d3bcede963209ef7e2ff11033fbadd7083 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF0()
+void ViewTOF0()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FSEC","seen",0);
index a415453427335e671e70c041725a14e5338fcd7b..8b3d263303f9cd7fa330927c2fc7f78b1ce79dbf 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF1()
+void ViewTOF1()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FGP1","seen",1);
index 5c0d236aca47644804979c7c62b9574765b530eb..5a6752cff1bf45bb77782c03685ab3b536edf4aa 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTOF2()
+void ViewTOF2()
 {
    gMC->Gsatt("FBAR","seen",0);
    gMC->Gsatt("FTOF","seen",0);
index f593d3e34e1b205c86d6e7d2cf56253c3501c2df..dd53766f8da20cb4e00c57d1bf325c575cf44109 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewTPC()
+void ViewTPC()
 {
   gMC->Gsatt("TPC","SEEN",0);
   gMC->Gsatt("TPEC","SEEN",0);
index a2b607f00ad04339a19e062db61089bc8ae7ae0a..0fcbb249cabbe1bba2ccd0cb53133293363e7d8d 100644 (file)
@@ -1,4 +1,4 @@
-//void ViewUTD()
+void ViewUTD()
 {
    gMC->Gsatt("TRD ","seen",0);