]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Allow override of CDB storage.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Jun 2007 15:33:15 +0000 (15:33 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Jun 2007 15:33:15 +0000 (15:33 +0000)
EVE/macros/alieve_init.C

index c809c0edbb7007f430d0164ef3fe1559b76f3db6..f453ade9983e61f771c321525564b57f359b515f 100644 (file)
@@ -1,6 +1,7 @@
 // $Header$
 
-void alieve_init(const Text_t* path=".", Int_t event=0,
+void alieve_init(const Text_t* path   = ".", Int_t event=0,
+                const Text_t* cdburi = 0,
                 Bool_t use_runloader=kTRUE, Bool_t use_esd=kTRUE,
                 Bool_t avoid_exceptions_on_open=kTRUE)
 {
@@ -48,7 +49,7 @@ void alieve_init(const Text_t* path=".", Int_t event=0,
   // Open event
   if(path != 0) {
     Alieve::Event::Initialize(use_runloader, use_esd, avoid_exceptions_on_open);
-
+    Alieve::Event::SetCdbUri(cdburi);
     printf("Opening event %d from '%s' ...", event, path); fflush(stdout);
     Alieve::gEvent = new Alieve::Event(path, event);
     printf(" done.\n");