]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentIndex.cxx
Corrected index (aplhacxx6)
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentIndex.cxx
index 3e3ec094324ae8c77af98f2d66c25ec0d3926c59..0038dcb410642632f2a597146ac016277f7b5996 100644 (file)
@@ -28,6 +28,7 @@
 #include <TString.h>
 
 #include "AliMUONSegmentIndex.h"
+#include "AliLog.h"
 
 //___________________________________________
 ClassImp(AliMUONSegmentIndex)
@@ -43,7 +44,7 @@ AliMUONSegmentIndex::AliMUONSegmentIndex() : TNamed()
   fCathode=0;  
 }
 //___________________________________________
-AliMUONSegmentIndex::AliMUONSegmentIndex(const Int_t channelId, const Int_t padX, const Int_t padY, const Int_t cathode) : TNamed()
+AliMUONSegmentIndex::AliMUONSegmentIndex(Int_t channelId, Int_t padX, Int_t padY, Int_t cathode) : TNamed()
 {
   // Constructor to be used
   fName  = Name(padX, padY, cathode).Data();
@@ -75,8 +76,8 @@ TString AliMUONSegmentIndex::Name(Int_t padx, Int_t pady, Int_t cathode)
 }
 
 //___________________________________________
-void AliMUONSegmentIndex::Print() const
+void AliMUONSegmentIndex::Print(const char* /*opt*/) const
 {
   // Printing information of AliMUONSegmentIndex
-  Info("Print", "Name=%s Id=%d PadX=%d PadY=%d Cathode=%d\n",fName.Data(),fChannelId,fPadX,fPadY,fCathode);   
+  AliInfo(Form("Name=%s Id=%d PadX=%d PadY=%d Cathode=%d\n",fName.Data(),fChannelId,fPadX,fPadY,fCathode));   
 }