Macros named
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Jan 2001 11:00:44 +0000 (11:00 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Jan 2001 11:00:44 +0000 (11:00 +0000)
macros/AliceHelp.C
macros/ViewFMD.C
macros/ecut.C
macros/grun.C
macros/html.C
macros/mkhtml.C
macros/rootlogon.C

index 50c603b..8096e00 100644 (file)
@@ -1,7 +1,9 @@
+void AliceHelp(){
 ////////////////////////////////////////////////////
 //            H O W  to run  A l i R o o t        //
 ////////////////////////////////////////////////////
 
+  /*
  To execute the Alice simulation program, type aliroot.
  This starts AliRoot in interactive mode by default.
  After a few seconds, you get the Root prompt.
@@ -56,3 +58,5 @@
 
  When you want to leave gAlice type the command ".q"
     Root > .q
+  */
+}
index 485e14f..306545c 100644 (file)
@@ -1,37 +1,7 @@
 void ViewFMD()
 {
-  gMC->Gsatt("BR3_","seen",1);
-  gMC->Gsatt("CB3_","seen",0);
-  gMC->Gsatt("BR5_","seen",1);
-  gMC->Gsatt("CB5_","seen",0);
-  gMC->Gsatt("R1R3","seen",1);
-  gMC->Gsatt("R2R3","seen",1);
-  gMC->Gsatt("R3R3","seen",1);
-  gMC->Gsatt("R1SP","seen",1);
-  gMC->Gsatt("R1L3","seen",1);
-  gMC->Gsatt("R2L3","seen",1);
-  gMC->Gsatt("R3L3","seen",1);
-  gMC->Gsatt("R2SP","seen",1);
-  gMC->Gsatt("R3SP","seen",1);
-  gMC->Gsatt("BR2_","seen",1);
-  gMC->Gsatt("CB2_","seen",0);
-  gMC->Gsatt("R1R2","seen",1);
-  gMC->Gsatt("R2R2","seen",1);
-  gMC->Gsatt("R3R2","seen",1);
-  gMC->Gsatt("R1L2","seen",1);
-  gMC->Gsatt("R2L2","seen",1);
-  gMC->Gsatt("R3L2","seen",1);
-  gMC->Gsatt("BR1_","seen",1);
-  gMC->Gsatt("CB1_","seen",0);
-  gMC->Gsatt("R1R1","seen",1);
-  gMC->Gsatt("R2R1","seen",1);
-  gMC->Gsatt("R3R1","seen",1);
-  gMC->Gsatt("R1L1","seen",1);
-  gMC->Gsatt("R2L1","seen",1);
-  gMC->Gsatt("R3L1","seen",1);
-  gMC->Gsatt("BR4_","seen",1);
-  gMC->Gsatt("CB4_","seen",0);
-  gMC->Gsatt("R1L4","seen",1);
-  gMC->Gsatt("R2L4","seen",0);
-  gMC->Gsatt("R3L4","seen",1);
+   gMC->Gsatt("FMD0","seen",1);
+   gMC->Gsatt("FMD1","seen",1);
+   gMC->Gsatt("FMD2","seen",1);
+   gMC->Gsatt("FMD3","seen",1);
 }
index a891407..9923920 100644 (file)
@@ -1,4 +1,4 @@
-{
+void ecut() {
 
 //Begin_Html
 /*
index eaedba8..e8d6688 100644 (file)
@@ -1,10 +1,12 @@
-Int_t ievent;
 void grun (Int_t nevent=1, const char *config="Config.C")
 {
   //
   // Simple macro to run aliroot in a batch mode
   //
-  ievent=nevent;
   gAlice->Init(config);
-  gAlice->Run(ievent);
+  TStopwatch timer;
+  timer.Start();
+  gAlice->Run(nevent);
+  timer.Stop();
+  timer.Print();
 }
index dda1baf..51844cc 100644 (file)
@@ -1,4 +1,4 @@
-{
+void html() {
 // to run this macro, you must have the correct .rootrc file
 // in your galice directory.
 // The gAlice classes summary documentation go to directory html
index 9c09054..e5b4edc 100644 (file)
@@ -8,6 +8,8 @@ void mkhtml (char *macro=0, Int_t force=0) {
   // gROOT->LoadMacro("loadlibs.C");
   // loadlibs();
   THtml html;
+  TStopwatch timer;
+  timer.Start();
   if(macro) {
     gROOT->LoadMacro(macro);
     html.Convert(macro,"Example Macro");
@@ -15,4 +17,6 @@ void mkhtml (char *macro=0, Int_t force=0) {
     gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRALICE");
     html.MakeAll(force);
   }
+  timer.Stop();
+  timer.Print();
 }
index 3b71a28..1e9310a 100644 (file)
@@ -1,4 +1,4 @@
-{
+void rootlogon() {
    printf("\nWELCOME to ALICE\n\n");
 }