]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bug fixed by Alberto
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Dec 2007 15:22:51 +0000 (15:22 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Dec 2007 15:22:51 +0000 (15:22 +0000)
T0/AliT0Preprocessor.cxx

index 59be21863f481ea2fd09e2ecc2227e1bef45d113..4c5d582f25e20bfc2bd48768f9b094156d87ce1e 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.7  2007/12/06 16:35:24  alla
+new bugs fixed by Tomek
+
 Revision 1.5  2007/11/23 19:28:52  alla
 bug fixed
 
@@ -158,7 +161,10 @@ UInt_t AliT0Preprocessor::Process(TMap* dcsAliasMap )
               Log("No Laser Data stored");
               return 3;//return error code for failure in storing Laser Data
             }
-          }
+          } else {
+               Log("No sources found for id LASER!");
+               return 1;
+         }
         }
         else if(runType == "PHYSICS")
         {
@@ -193,7 +199,10 @@ UInt_t AliT0Preprocessor::Process(TMap* dcsAliasMap )
               Log("No Laser Data stored");
               return 4;//return error code for failure in storing OCDB Data
             }
-          }
+          } else {
+               Log("No sources found for id PHYSICS!");
+               return 1;
+         }
         }
 
   return 0;