]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Workaround for a scoping problem of Cint
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Jun 2000 07:40:09 +0000 (07:40 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Jun 2000 07:40:09 +0000 (07:40 +0000)
macros/grun.C

index 21e89e5a8071ea7061fd876a08dbccf00ac938fe..eaedba820d606205da0c64a0681d83b8699bb066 100644 (file)
@@ -1,8 +1,10 @@
+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(nevent);
+  gAlice->Run(ievent);
 }