fix coding convention violations
[u/mrichter/AliRoot.git] / RAW / alimdc_main.cxx
similarity index 98%
rename from RAW/alimdc.cxx
rename to RAW/alimdc_main.cxx
index 7923c23d519e7664ada5621b9015e21e17acb3dd..b7be39155118faf0c0537d8a70eb4b6224f95762 100644 (file)
@@ -29,7 +29,7 @@ extern "C" {
 }
 #endif
 
-#include "AliRawEvent.h"
+#include "AliMDC.h"
 
 //______________________________________________________________________________
 static void AliMDCErrorHandler(int level, Bool_t abort, const char *location,
@@ -95,7 +95,7 @@ static void SMI_handle_command()
       strcpy(param, "");
    }
    if (strcmp(action, "STOP") == 0) {
-      if (gAliMDC) gAliMDC->SetStopLoop();
+      if (AliMDC::Instance()) AliMDC::Instance()->SetStopLoop();
    }
    smi_set_state("RUNNING");
 }