X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2Fmapping%2FAliMpConnection.cxx;h=e46b1bc4b4abf37ea0cb698bc19dc8d5bc41ce59;hb=bacbe0fdbdcdafc29ed6025ba1e65802e848e2e6;hp=504f34939799e5f649c984cc7805901b122eb549;hpb=5f91c9e8258ef2957fffa70b9de7d628bcd95b9f;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/mapping/AliMpConnection.cxx b/MUON/mapping/AliMpConnection.cxx index 504f3493979..e46b1bc4b4a 100755 --- a/MUON/mapping/AliMpConnection.cxx +++ b/MUON/mapping/AliMpConnection.cxx @@ -1,10 +1,26 @@ +/************************************************************************** + * 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.6 2006/03/17 11:38:06 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 "AliMpConnection.h" @@ -21,7 +37,16 @@ AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum, fGassiNum(gassiNum), fOwner(0) { -// +/// Standard constructor +} + +//_____________________________________________________________________________ +AliMpConnection::AliMpConnection(const AliMpConnection& right) + : TObject(right) +{ +/// Protected copy constructor (not provided) + + Fatal("AliMpConnection", "Copy constructor not provided."); } //_____________________________________________________________________________ @@ -33,10 +58,29 @@ AliMpConnection::AliMpConnection() fGassiNum(-1), fOwner(0) { -// +/// Default constructor } //_____________________________________________________________________________ AliMpConnection::~AliMpConnection() { // } + +// +// operators +// + +//_____________________________________________________________________________ +AliMpConnection& +AliMpConnection::operator=(const AliMpConnection& right) +{ +/// Protected assignment operator (not provided) + + // check assignment to self + if (this == &right) return *this; + + Fatal("operator =", "Assignment operator not provided."); + + return *this; +} +