]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationV0.cxx
includes cleanup
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationV0.cxx
index d958c1f15d9506d14feb87ba43e6d154bf40eed8..2b5d7c5c4c998a8f942f9835344f7e0ba302be82 100644 (file)
  **************************************************************************/
 /*
 $Log$
+Revision 1.9  2000/11/06 09:20:43  morsch
+AliMUON delegates part of BuildGeometry() to AliMUONSegmentation using the
+Draw() method. This avoids code and parameter replication.
+
+Revision 1.8  2000/10/18 11:42:06  morsch
+- AliMUONRawCluster contains z-position.
+- Some clean-up of useless print statements during initialisations.
+
 Revision 1.7  2000/10/03 21:48:07  morsch
 Adopt to const declaration of some of the methods in AliSegmentation.
 
@@ -76,6 +84,7 @@ ClassImp(AliMUONSegmentationV0)
     fRmax=fChamber->ROuter();    
     fCorr=0;
     fZ=fChamber->Z();
+    fId=chamber;
 }
 
 
@@ -192,10 +201,11 @@ void AliMUONSegmentationV0::NextPad()
 }
 
 Int_t AliMUONSegmentationV0::MorePads()
+{
 // Stopping condition for the iterator over pads
 //
 // Are there more pads in the integration region ? 
-{
+
     if (fIx == fIxmax && fIy == fIymax) {
        return 0;
     } else {
@@ -269,9 +279,10 @@ Neighbours(Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10])
 
 Float_t AliMUONSegmentationV0::Distance2AndOffset(Int_t iX, Int_t iY, Float_t X, Float_t Y
 , Int_t *dummy)
+{
 // Returns the square of the distance between 1 pad
 // labelled by its Channel numbers and a coordinate
-{
+
   Float_t x,y;
   GetPadC(iX,iY,x,y);
   return (x-X)*(x-X) + (y-Y)*(y-Y);