]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpPadPair.cxx
Generates realistic DDL sharing and buspatch number calculated from DDL (Christian)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadPair.cxx
index b4f21ebf5fdcea7fcd7e11b6bbf9319981fa887a..b6f82d21c3436a322829b57ba33b7817dcf2c655 100644 (file)
@@ -1,69 +1,96 @@
+/**************************************************************************
+ * 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: AliMpPadPair.cxx,v 1.7 2006/05/24 13:58:29 ivana Exp $
 // Category: basic
 //
 // Class AliMpPadPair
 // ------------------
 // Wrap up for std::pair<AliMpPad, AliMpPad>
 // to avoid problems with CINT.
-//
+// Included in AliRoot: 2003/05/02
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
 #include "AliMpPadPair.h"
 
+/// \cond CLASSIMP
 ClassImp(AliMpPadPair)
-
+/// \endcond
 
 //_____________________________________________________________________________
 AliMpPadPair::AliMpPadPair(const AliMpPad& pad1, const AliMpPad& pad2)
   : TObject(),
     fPadFirst(pad1),
-    fPadSecond(pad2) {
-//
+    fPadSecond(pad2) 
+{
+/// Standard constructor
 }
 
 //_____________________________________________________________________________
 AliMpPadPair::AliMpPadPair(const AliMpPadPair& right)
   : TObject(),
     fPadFirst(right.GetFirst()),
-    fPadSecond(right.GetSecond()) {
-//
+    fPadSecond(right.GetSecond()) 
+{
+/// Copy constructor
 }
 
 //_____________________________________________________________________________
 AliMpPadPair::AliMpPadPair()
   : TObject(),
     fPadFirst(AliMpPad::Invalid()),
-    fPadSecond(AliMpPad::Invalid()) {
-//
+    fPadSecond(AliMpPad::Invalid()) 
+{
+/// Default constructor
 }
 
 //_____________________________________________________________________________
-AliMpPadPair::~AliMpPadPair() {
-//
+AliMpPadPair::~AliMpPadPair() 
+{
+/// Destructor
 }
 
 //_____________________________________________________________________________
 Bool_t AliMpPadPair::operator == (const AliMpPadPair& right) const
 {
+/// Equality operator 
+
   return (fPadFirst == right.fPadFirst && fPadSecond == right.fPadSecond);
 }
 
 //_____________________________________________________________________________
 Bool_t AliMpPadPair::operator!= (const AliMpPadPair& right) const
 {
+/// Non-equality operator 
+
   return !(*this == right);
 }
 
 //_____________________________________________________________________________
 AliMpPadPair& AliMpPadPair::operator = (const AliMpPadPair& right) 
 {
-  // check assignement to self
+/// Assignment operator 
+
+  // check assignment to self
   if (this == &right) return *this;
 
-  // base class assignement
+  // base class assignment
   TObject::operator=(right);
 
-  // assignement operator
+  // assignment operator
   fPadFirst = right.fPadFirst;
   fPadSecond = right.fPadSecond;