]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentPosition.cxx
- Remove double declaration in Digitizer
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentPosition.cxx
index 5aae59562dcb4ce4edef4c186244e7a007c187fd..17bbc646292896a2cdfcdec600bbe208c48644f3 100644 (file)
@@ -28,6 +28,7 @@
 #include <TMath.h>
 
 #include "AliMUONSegmentPosition.h"
+#include "AliLog.h"
 
 //___________________________________________
 ClassImp(AliMUONSegmentPosition)
@@ -44,7 +45,7 @@ AliMUONSegmentPosition::AliMUONSegmentPosition() : TNamed()
   fY = 0.;  
 }
 //___________________________________________
-AliMUONSegmentPosition::AliMUONSegmentPosition(const Int_t channelId, const Float_t x, const Float_t y, const Int_t cathode) : TNamed()
+AliMUONSegmentPosition::AliMUONSegmentPosition(Int_t channelId, Float_t x, Float_t y, Int_t cathode) : TNamed()
 {
   // Constructor to be used
   fName = Name(x,y,cathode);
@@ -90,8 +91,8 @@ TString AliMUONSegmentPosition::Name(Float_t x, Float_t y, Int_t cathode)
   return TString(name);
 }
 //___________________________________________
-void AliMUONSegmentPosition::Print() const
+void AliMUONSegmentPosition::Print(const char* /*opt*/) const
 {
   // Printing AliMUONSegmentManuIndex information
-  Info("Print","Name=%s Id=%d X=%f Y=%f Cathode=%d\n",fName.Data(),fChannelId, fX, fY,fCathode);   
+  AliInfo(Form("Name=%s Id=%d X=%f Y=%f Cathode=%d\n",fName.Data(),fChannelId, fX, fY,fCathode));   
 }