]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationSlatN.cxx
Removing extra semicolons (FedoraCore3, gcc 3.4.2)
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationSlatN.cxx
index d7add715f1ad17ef262687817d97fdfaeec44e61..d5d075b148e5b4421908b71b9872ead4d48c1a4b 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.4  2001/01/26 21:25:48  morsch
-Empty default constructors and.
+/* $Id$ */
 
-Revision 1.3  2000/10/22 16:55:43  morsch
-Use only x-symmetry in global to local transformations and delegation.
-
-Revision 1.2  2000/10/09 14:06:18  morsch
-Some type cast problems of type  (TMath::Sign((Float_t)1.,x)) corrected (P.H.)
-
-Revision 1.1  2000/10/06 09:00:47  morsch
-Segmentation class for chambers built out of slats.
-
-*/
+#include <TArrayI.h>
+#include <TMath.h>
 
 #include "AliMUONSegmentationSlatN.h"
 #include "AliMUONSegmentationSlatModuleN.h"
-#include "TArrayI.h"
-#include "TArrayF.h"
-#include "TObjArray.h"
-#include <TMath.h>
-#include <Riostream.h>
 
 //___________________________________________
-ClassImp(AliMUONSegmentationSlatN);
+ClassImp(AliMUONSegmentationSlatN)
 
 AliMUONSegmentationSlatN::AliMUONSegmentationSlatN()
+  : AliMUONSegmentationSlat()
 {
 // Default constructor
 }
@@ -53,7 +38,7 @@ AliMUONSegmentationSlatN::AliMUONSegmentationSlatN(Int_t nsec)
 }
 
 
-Float_t AliMUONSegmentationSlatN::Dpx(Int_t isec) const
+Float_t AliMUONSegmentationSlatN::Dpx(Int_t /*isec*/) const
 {
 //
 // Returns y-pad size for given sector isec
@@ -75,7 +60,7 @@ Float_t AliMUONSegmentationSlatN::Dpy(Int_t isec) const
 
 
 void AliMUONSegmentationSlatN::GlobalToLocal(
-    Int_t ix, Int_t iy, Int_t &islat, Int_t &ixlocal, Int_t &iylocal)
+    Int_t ix, Int_t iy, Int_t &islat, Int_t &ixlocal, Int_t &iylocal) const
 {
 //
 // Perform local to global transformation for pad coordinates
@@ -102,7 +87,7 @@ void AliMUONSegmentationSlatN::GlobalToLocal(
 }
 
 void AliMUONSegmentationSlatN::LocalToGlobal(
-    Int_t islat, Int_t ixlocal, Int_t iylocal, Int_t &ix, Int_t &iy)
+    Int_t islat, Int_t ixlocal, Int_t iylocal, Int_t &ix, Int_t &iy) const
 {
 // Local to global transformation for pad coordinates
     
@@ -145,7 +130,7 @@ GetPadI(Float_t x, Float_t y, Float_t z, Int_t &ix, Int_t &iy)
 }
 
 AliMUONSegmentationSlatModule* AliMUONSegmentationSlatN::
-CreateSlatModule()
+CreateSlatModule() const
 {
     // Factory method for slat module
     return new AliMUONSegmentationSlatModuleN(4);