]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/muon_raw.C
AliInfo displays better than std::cout
[u/mrichter/AliRoot.git] / EVE / alice-macros / muon_raw.C
index 31b778103ac5e3e4642e750f373e9c3d5de90750..eab8bd79179447234c3c10333a8108fc69d27c70 100644 (file)
@@ -6,32 +6,30 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
  * full copyright notice.                                                 *
  **************************************************************************/
 
-// Macro to visualise rootified raw-data from MUON spectrometer 
-// (both tracker and trigger).
-//
-// Use muon_raw() in order to run it
-//
-// Needs that alieve_init() is already called
+/// \ingroup evemacros
+/// \file muon_raw.C
+/// \brief Macro to visualise rootified raw-data from MUON spectrometer 
+/// (both tracker and trigger).
+///
+/// Use muon_raw() in order to run it
+///
+/// Needs that alieve_init() is already called
+///
+/// \author P. Pillot, L. Aphecetche; Subatech
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
-
-#include "AliMUONDigitMaker.h"
-#include "AliMUONDigitStoreV2R.h"
-
-#include "AliMpCDB.h"
-
-#include "AliRawReader.h"
-
-#include "EveBase/AliEveEventManager.h"
-
-#include <TEveManager.h>
-#include <TEveUtil.h>
-#include <TEveQuadSet.h>
-
 #include <TStyle.h>
 #include <Riostream.h>
 #include <TROOT.h>
 #include <TStyle.h>
 #include <Riostream.h>
 #include <TROOT.h>
+#include <TEveManager.h>
+#include <TEveUtil.h>
+#include <TEveQuadSet.h>
 
 
+#include <AliMUONDigitMaker.h>
+#include <AliMUONDigitStoreV2R.h>
+#include <AliMpCDB.h>
+#include <AliRawReader.h>
+#include <AliEveEventManager.h>
 #endif
 
 void muon_raw()
 #endif
 
 void muon_raw()
@@ -42,9 +40,9 @@ void muon_raw()
   // load raw data
   AliRawReader* reader = AliEveEventManager::AssertRawReader();
   if ( reader->GetEventHeader() ) 
   // load raw data
   AliRawReader* reader = AliEveEventManager::AssertRawReader();
   if ( reader->GetEventHeader() ) 
-    cout << "RUN " << reader->GetRunNumber() << " EVENT " << reader->GetEventIndex() << endl;
+    AliInfo(Form("RUN %d EVENT %d", reader->GetRunNumber(),reader->GetEventIndex()) );
   else
   else
-    cout << "NO EVENT HEADER ?" << endl;
+    AliInfo("NO EVENT HEADER ?");
   
   // convert raw to digits
   AliMUONDigitMaker digitMaker;
   
   // convert raw to digits
   AliMUONDigitMaker digitMaker;