]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
GetFileSources returns dummy list with 1 source if system=DCS (better than
authoracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jun 2007 13:06:19 +0000 (13:06 +0000)
committeracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jun 2007 13:06:19 +0000 (13:06 +0000)
returning error as it was)

SHUTTLE/AliShuttle.cxx

index e56f986fb0da2026156cb9bd67554dfb9f4fd5f8..9afceb51aee438aeb9eb7252ce26c0d63693e007 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.47  2007/06/19 17:28:56  acolla
+HLT updated; missing map bug removed.
+
 Revision 1.46  2007/06/09 13:01:09  jgrosseo
 Switching to retrieval of several DCS DPs at a time (multiDPrequest)
 
@@ -2070,8 +2073,11 @@ TList* AliShuttle::GetFileSources(Int_t system, const char* detector, const char
 
        if (system == kDCS)
        {
-               AliError("DCS system has only one source of data!");
-               return NULL;
+               AliWarning("DCS system has only one source of data!");
+               TList *list = new TList();
+               list->SetOwner(1);
+               list->Add(new TObjString(" "));
+               return list;
        }
 
        // check connection, in case connect