]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
AliEveEventManager - reduce log level while trying to open raw-file.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Sep 2008 11:18:12 +0000 (11:18 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Sep 2008 11:18:12 +0000 (11:18 +0000)
binalieve.pkg - when linking alieve, remove .d and .so files for
compiled macros in EVE/alice-macros/.

EVE/EveBase/AliEveEventManager.cxx
EVE/binalieve.pkg

index 361d17059c08e72b3cbf69cd56d92dc338eeef27..ea9715276b4cf5c0beede307d38ac7bb8d74d2e3 100644 (file)
@@ -324,6 +324,11 @@ void AliEveEventManager::Open()
   // If i use open directly, raw-reader reports an error but i have     
   // no way to detect it.       
   // Is this (AccessPathName check) ok for xrootd / alien? Yes, not for http.   
+  AliLog::EType_t oldLogLevel = (AliLog::EType_t) AliLog::GetGlobalLogLevel();
+  if (fgAssertRaw == kFALSE)
+  {
+    AliLog::SetGlobalLogLevel(AliLog::kFatal);
+  }
   if (gSystem->AccessPathName(rawPath, kReadPermission) == kFALSE)      
   {
     fRawReader = AliRawReader::Create(rawPath);
@@ -332,6 +337,11 @@ void AliEveEventManager::Open()
   {
     fRawReader = AliRawReader::Create(fgRawFileName);
   }
+  if (fgAssertRaw == kFALSE)
+  {
+    AliLog::SetGlobalLogLevel(oldLogLevel);
+  }
+
   if (fRawReader == 0)
   {
     if (fgAssertRaw)
index c07431161291ac318a59bc5f5d74e8420148d23c..5aaf3746ae91623328ddf8870fcb3ccff08ac3fb 100644 (file)
@@ -28,6 +28,13 @@ ELIBS    := EveBase EveDet EveHLT \
 
 PACKBLIBS := $(ROOTCLIBS) $(ROOTPLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL -lEve $(SYSLIBS)
 
+$(BINPATH)/alieve: alieve_clean_compiled_macros
+
+.PHONY: alieve_clean_compiled_macros
+
+alieve_clean_compiled_macros:
+       rm -f $(ALICE_ROOT)/EVE/alice-macros/*_C.d
+       rm -f $(ALICE_ROOT)/EVE/alice-macros/*_C.$(SOEXT)
 
 ifeq (macosx,$(ALICE_TARGET))