]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/muon_raw.C
fixes for new CaloCells contents
[u/mrichter/AliRoot.git] / EVE / alice-macros / muon_raw.C
index 252a2ba486eaff24bcbcb821884fb94968564011..cac3d439f464991df1dc4e5984e4c8edd82e6efd 100644 (file)
@@ -25,6 +25,7 @@
 #include <TEveUtil.h>
 #include <TEveQuadSet.h>
 
+#include <AliLog.h>
 #include <AliMUONDigitMaker.h>
 #include <AliMUONDigitStoreV2R.h>
 #include <AliMpCDB.h>
@@ -40,9 +41,9 @@ void muon_raw()
   // load raw data
   AliRawReader* reader = AliEveEventManager::AssertRawReader();
   if ( reader->GetEventHeader() ) 
-    cout << "RUN " << reader->GetRunNumber() << " EVENT " << reader->GetEventIndex() << endl;
+    AliInfoGeneral("muon_raw.C", Form("RUN %d EVENT %d", reader->GetRunNumber(),reader->GetEventIndex()) );
   else
-    cout << "NO EVENT HEADER ?" << endl;
+    AliInfoGeneral("muon_raw.C", "NO EVENT HEADER ?");
   
   // convert raw to digits
   AliMUONDigitMaker digitMaker;