]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added option to avoid exceptions during event open as an argument and enabled it...
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Oct 2006 13:24:32 +0000 (13:24 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Oct 2006 13:24:32 +0000 (13:24 +0000)
EVE/macros/alieve_init.C

index b8dba950f4ca0fcc6d6acc05fbbf916b54e91456..19f09a6a462e1c9193193867530039867934f7dc 100644 (file)
@@ -1,7 +1,8 @@
 // $Header$
 
 void alieve_init(const Text_t* path=".", Int_t event=0,
-                Bool_t use_runloader=true, Bool_t use_esd=true)
+                Bool_t use_runloader=kTRUE, Bool_t use_esd=kTRUE,
+                Bool_t avoid_exceptions_on_open=kTRUE)
 {
 
   // Set-up environment, load libraries.
@@ -40,7 +41,7 @@ void alieve_init(const Text_t* path=".", Int_t event=0,
 
   // Open event
   if(path != 0) {
-    Alieve::Event::Initialize(use_runloader, use_esd);
+    Alieve::Event::Initialize(use_runloader, use_esd, avoid_exceptions_on_open);
 
     printf("Opening event %d from '%s' ...", event, path); fflush(stdout);
     Alieve::gEvent = new Alieve::Event(path, event);