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 50c603b14c5b1af07703c35e0a77785283fe9bd9..8096e0066fb8e1e217ccafe2980af7c6def3049d 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 485e14f23e488dfa47eed77adbaf958f37715083..306545c6e97c6c8ddc580845f659071f5c792615 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 a8914073b1bd26345c793e0e0478da1d6408200a..9923920cd4d23faa1671d05da549fa2862808d6c 100644 (file)
@@ -1,4 +1,4 @@
-{
+void ecut() {
 
 //Begin_Html
 /*
index eaedba820d606205da0c64a0681d83b8699bb066..e8d6688c9748e4228b242932a08f9ffde631e6a8 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 dda1baf42feec8deb2e8e1fa462eaa0c015a64c0..51844ccb0cceaa7986dd41e771de22d846439d7a 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 9c09054a8c7f3dbdcf7af8e2751b0323246b4477..e5b4edcb5399e636312f51f43f15c07e630d6ee2 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 3b71a28b7fdb7abd18509bd647cca99f3fb0c7ed..1e9310a09745061c4a8a2ffaed74a370fa90be0f 100644 (file)
@@ -1,4 +1,4 @@
-{
+void rootlogon() {
    printf("\nWELCOME to ALICE\n\n");
 }