]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpPadRowLSegment.cxx
New macro to keep track of timing performances of the segmentation methods (Laurent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRowLSegment.cxx
index 9aab38e62453894f4e980fd4b9f15bd8cd85e82c..cbf8ff723d3c17408487e79b17a9ceec8a2ad39f 100755 (executable)
@@ -1,6 +1,23 @@
+/**************************************************************************
+ * 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: AliMpPadRowLSegment.cxx,v 1.6 2006/05/24 13:58:46 ivana Exp $
 // Category: sector
-//
+
+//-----------------------------------------------------------------------------
 // Class AliMpPadRowLSegment
 // -------------------------
 // Class describing a pad row segment composed of the 
 //
 // Included in AliRoot: 2003/05/02
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
-
-#include <TError.h>
+//-----------------------------------------------------------------------------
 
 #include "AliMpPadRowLSegment.h"
 #include "AliMpPadRow.h"
 #include "AliMpMotif.h"
 #include "AliMpMotifType.h"
 
+/// \cond CLASSIMP
 ClassImp(AliMpPadRowLSegment)
+/// \endcond
 
 //_____________________________________________________________________________
 AliMpPadRowLSegment::AliMpPadRowLSegment(
@@ -26,19 +44,20 @@ AliMpPadRowLSegment::AliMpPadRowLSegment(
                           Int_t motifPositionId, Int_t nofPads)
   : AliMpVPadRowSegment(padRow, motif, motifPositionId, nofPads)
 {
-// 
+/// Standard constructor 
 }
 
 //_____________________________________________________________________________
 AliMpPadRowLSegment::AliMpPadRowLSegment() 
   : AliMpVPadRowSegment()
 {
-//
+/// Default constructor
 }
 
 //_____________________________________________________________________________
-AliMpPadRowLSegment::~AliMpPadRowLSegment() {
-//  
+AliMpPadRowLSegment::~AliMpPadRowLSegment() 
+{
+/// Destructor  
 }
 
 //
@@ -48,9 +67,8 @@ AliMpPadRowLSegment::~AliMpPadRowLSegment() {
 //_____________________________________________________________________________
 Double_t AliMpPadRowLSegment::FirstPadCenterX() const
 {
-// Returns the x coordinate of the first (the most right) pad center
-// in global coordinate system.
-// ---
+/// Return the x coordinate of the first (the most right) pad center
+/// in the global coordinate system.
 
   return GetOffsetX() - GetMotif()->GetPadDimensions().X();
 }  
@@ -58,10 +76,9 @@ Double_t AliMpPadRowLSegment::FirstPadCenterX() const
 //_____________________________________________________________________________
 Double_t AliMpPadRowLSegment::LastPadCenterX() const
 {
-// Returns the x coordinate of the last (the most left) pad center
-// in global coordinate system.
-// !! numbering of pads is in (-x) direction
-// ---
+/// Return the x coordinate of the last (the most left) pad center
+/// in the global coordinate system.                                         \n       
+/// !! numbering of pads is in (-x) direction
 
   return GetOffsetX() - (2.*GetNofPads() - 1)*GetMotif()->GetPadDimensions().X();
 }
@@ -69,9 +86,8 @@ Double_t AliMpPadRowLSegment::LastPadCenterX() const
 //_____________________________________________________________________________
 Double_t AliMpPadRowLSegment::FirstPadBorderX() const
 {
-// Returns the x coordinate of the right border of the first (the most right) 
-// pad in global coordinate system.
-// ---
+/// Return the x coordinate of the right border of the first (the most right) 
+/// pad in the global coordinate system.
 
   return GetOffsetX();
          // Also could be
@@ -81,9 +97,8 @@ Double_t AliMpPadRowLSegment::FirstPadBorderX() const
 //_____________________________________________________________________________
 Double_t AliMpPadRowLSegment::LastPadBorderX() const
 {
-// Returns the x coordinate of the left border of the last (the most left)
-// pad in global coordinate system.
-// ---
+/// Return the x coordinate of the left border of the last (the most left)
+/// pad in the global coordinate system.
 
   return LastPadCenterX() - GetMotif()->GetPadDimensions().X();
 }  
@@ -95,9 +110,8 @@ Double_t AliMpPadRowLSegment::LastPadBorderX() const
 //_____________________________________________________________________________
 Double_t  AliMpPadRowLSegment::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 LastPadBorderX();
 }
@@ -105,9 +119,8 @@ Double_t  AliMpPadRowLSegment::LeftBorderX() const
 //_____________________________________________________________________________
 Double_t  AliMpPadRowLSegment::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 FirstPadBorderX();
 }