]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpConnection.cxx
Generates realistic DDL sharing and buspatch number calculated from DDL (Christian)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpConnection.cxx
index 0a5adeac289867aa6663c79bedaad725dcb58e2a..aa83b09ccb94a60c2a82b68c99683c4e42f11f0f 100755 (executable)
@@ -1,17 +1,33 @@
+/**************************************************************************
+ * 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: AliMpConnection.cxx,v 1.7 2006/05/24 13:58:41 ivana Exp $
 // Category: motif
 //
 // Class AliMpConnection
 // ----------------
 // Class that defines a connexion properties.
-//
+// Included in AliRoot: 2003/05/02
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
-#include <TError.h>
-
 #include "AliMpConnection.h"
 
+/// \cond CLASSIMP
 ClassImp(AliMpConnection)
+/// \endcond
 
 //_____________________________________________________________________________
 AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum,
@@ -23,13 +39,15 @@ AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum,
     fGassiNum(gassiNum),
     fOwner(0)
 {
-//
+/// Standard constructor
 }
 
 //_____________________________________________________________________________
 AliMpConnection::AliMpConnection(const AliMpConnection& right) 
-  : TObject(right) {
-// 
+  : TObject(right) 
+{
+/// Protected copy constructor (not provided) 
+
   Fatal("AliMpConnection", "Copy constructor not provided.");
 }
 
@@ -42,7 +60,7 @@ AliMpConnection::AliMpConnection()
     fGassiNum(-1),
     fOwner(0)
 {
-//
+/// Default constructor
 }
 
 //_____________________________________________________________________________
@@ -50,16 +68,20 @@ AliMpConnection::~AliMpConnection() {
 //  
 }
 
+//
 // operators
+//
 
 //_____________________________________________________________________________
 AliMpConnection& 
 AliMpConnection::operator=(const AliMpConnection& right)
 {
-  // check assignement to self
+/// Protected assignment operator (not provided)
+
+  // check assignment to self
   if (this == &right) return *this;
 
-  Fatal("operator =", "Assignement operator not provided.");
+  Fatal("operator =", "Assignment operator not provided.");
     
   return *this;  
 }