]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpPadRowRSegment.cxx
From Laurent
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRowRSegment.cxx
index 9a64ec7bcfffb33f223cb7dae022a3cb494d439d..9e7d8fa8b973b69bd7b6b71763daf0f7d2d160bb 100644 (file)
@@ -1,4 +1,20 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
 // $Id$
+// $MpId: AliMpPadRowRSegment.cxx,v 1.4 2005/08/26 15:43:36 ivana Exp $
 // Category: sector
 //
 // Class AliMpPadRowRSegment
@@ -25,19 +41,20 @@ AliMpPadRowRSegment::AliMpPadRowRSegment(AliMpPadRow* padRow, AliMpMotif* motif,
                                          Int_t motifPositionId, Int_t nofPads)
   : AliMpVPadRowSegment(padRow, motif, motifPositionId, nofPads)
 {
-// 
+/// Standard constructor 
 }
 
 //______________________________________________________________________________
 AliMpPadRowRSegment::AliMpPadRowRSegment() 
   : AliMpVPadRowSegment()
 {
-//
+/// Default constructor
 }
 
 //______________________________________________________________________________
-AliMpPadRowRSegment::~AliMpPadRowRSegment() {
-//  
+AliMpPadRowRSegment::~AliMpPadRowRSegment() 
+{
+/// Destructor  
 }
 
 //
@@ -47,9 +64,8 @@ AliMpPadRowRSegment::~AliMpPadRowRSegment() {
 //______________________________________________________________________________
 Double_t AliMpPadRowRSegment::FirstPadCenterX() const
 {
-// Returns the x coordinate of the first (the most left) pad center
-// in global coordinate system.
-// ---
+/// Return the x coordinate of the first (the most left) pad center
+/// in the global coordinate system.
 
   return GetOffsetX() + GetMotif()->GetPadDimensions().X();
 }  
@@ -57,10 +73,9 @@ Double_t AliMpPadRowRSegment::FirstPadCenterX() const
 //______________________________________________________________________________
 Double_t AliMpPadRowRSegment::LastPadCenterX() const
 {
-// Returns the x coordinate of the last (the most right) pad center
-// in global coordinate system.
-// !! numbering of pads is in (-x) direction
-// ---
+/// Return the x coordinate of the last (the most right) pad center
+/// in the global coordinate system.                                             \n
+/// !! numbering of pads is in (-x) direction
 
   return GetOffsetX() + (2.*GetNofPads() - 1)*GetMotif()->GetPadDimensions().X();
 }
@@ -68,9 +83,8 @@ Double_t AliMpPadRowRSegment::LastPadCenterX() const
 //______________________________________________________________________________
 Double_t AliMpPadRowRSegment::FirstPadBorderX() const
 {
-// Returns the x coordinate of the left border of the first (the most left) 
-// pad in global coordinate system.
-// ---
+/// Return the x coordinate of the left border of the first (the most left) 
+/// pad in the global coordinate system.
 
   return GetOffsetX();
          // Also could be
@@ -80,9 +94,8 @@ Double_t AliMpPadRowRSegment::FirstPadBorderX() const
 //______________________________________________________________________________
 Double_t AliMpPadRowRSegment::LastPadBorderX() const
 {
-// Returns the x coordinate of the right border of the last (the most right)
-// pad in global coordinate system.
-// ---
+/// Return the x coordinate of the right border of the last (the most right)
+/// pad in the global coordinate system.
 
   return LastPadCenterX() + GetMotif()->GetPadDimensions().X();
 }  
@@ -94,9 +107,8 @@ Double_t AliMpPadRowRSegment::LastPadBorderX() const
 //______________________________________________________________________________
 Double_t  AliMpPadRowRSegment::LeftBorderX() const
 {
-// Returns the x coordinate of the left row segment border
-// in global coordinate system.
-// ---
+/// Return the x coordinate of the left row segment border
+/// in the global coordinate system.
 
   return FirstPadBorderX();
 }
@@ -104,9 +116,8 @@ Double_t  AliMpPadRowRSegment::LeftBorderX() const
 //______________________________________________________________________________
 Double_t  AliMpPadRowRSegment::RightBorderX() const
 {
-// Returns the x coordinate of the right row segment border
-// in global coordinate system.
-// ---
+/// Return the x coordinate of the right row segment border
+/// in the global coordinate system.
 
   return LastPadBorderX();
 }