From 9658c93ccc5f769ac42c28aa46ed3424175b0e6b Mon Sep 17 00:00:00 2001 From: mtadel Date: Thu, 26 Oct 2006 13:24:32 +0000 Subject: [PATCH 1/1] Added option to avoid exceptions during event open as an argument and enabled it by default. --- EVE/macros/alieve_init.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EVE/macros/alieve_init.C b/EVE/macros/alieve_init.C index b8dba950f4c..19f09a6a462 100644 --- a/EVE/macros/alieve_init.C +++ b/EVE/macros/alieve_init.C @@ -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); -- 2.39.3