]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationTriggerX.cxx
Logging of Debug, Info and Error Messages follwing AliRoot Standard http://aliweb...
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationTriggerX.cxx
index bb54e5bd00b819b4d572d8ef0957e023908377c8..96813e09e0f0e0bc5b37b34c7957481eff75f7f7 100644 (file)
@@ -25,6 +25,7 @@
 #include "AliMUONTriggerConstants.h"
 #include "AliMUONChamber.h"
 #include "AliRun.h"  // gAlice
+#include "AliLog.h"
 
 ClassImp(AliMUONSegmentationTriggerX)
 
@@ -32,8 +33,7 @@ ClassImp(AliMUONSegmentationTriggerX)
 void AliMUONSegmentationTriggerX::Init(Int_t chamber)
 {
 // intialize X segmentation 
-  AliMUON *pMUON  = (AliMUON *) gAlice->GetModule("MUON");
-  if(pMUON->GetDebug()>1) printf("%s: Initialize Trigger Chamber Geometry X\n",ClassName());
+  AliDebug(2,"Initialize Trigger Chamber Geometry X");
   AliMUONSegmentationTrigger::Init(chamber);
 
 // calculate x & y position of X strips